tenant.action_rule_profile.set_preference

The set action rule based on preference.

ACI class

rtctrlSetPref

RN

spref

Cursor

SetPreferenceCursor

Parent

tenant.action_rule_profile

Atomic

Attributes

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

parameter

wire

type

values

default

description

description

descr

str

Specifies the description of a policy component.

local_pref

localPref

int

0

The local preference value.

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

local-pref