tenant.action_rule_profile.set_as_path

Set rule based on AS Path

ACI class

rtctrlSetASPath

RN

saspath-{as_path_criteria}

Cursor

SetAsPathCursor

Parent

tenant.action_rule_profile

Atomic

Attributes

Accepted as keyword arguments of .set_as_path(as_path_criteria) and of .set(**attrs) on this cursor. Enum parameters also accept the plain string.

parameter

wire

type

values

default

description

as_path_criteria (positional)

criteria

RtmapASCritT

prepend, prepend-last-as

Criteria value

description

descr

str

Specifies the description of a policy component.

last_as_number

lastnum

int

0

Last AS Number

name

name

str

type

type

RtctrlSetType

as-path, community, dampening-pol, ip-nh, local-pref, metric, metric-type, nh-unchanged, ospf-fwd-addr, ospf-nssa, policy-tag, redist-multipath, rt-tag, rt-weight

as-path

Set type

Children

maker

creates

position

.asn(asn_order, **attrs)

rtctrlSetASPathASN

tenant.action_rule_profile.set_as_path.asn