2.113. vpp_srv6 module¶
SRv6 LocalSIDs
object abstractions for representing SRv6 localSIDs in VPP
-
class
vpp_srv6.SRv6LocalSIDBehaviors¶ -
SR_BEHAVIOR_DT4= 9¶
-
SR_BEHAVIOR_DT6= 8¶
-
SR_BEHAVIOR_DX2= 5¶
-
SR_BEHAVIOR_DX4= 7¶
-
SR_BEHAVIOR_DX6= 6¶
-
SR_BEHAVIOR_D_FIRST= 4¶
-
SR_BEHAVIOR_END= 1¶
-
SR_BEHAVIOR_LAST= 10¶
-
SR_BEHAVIOR_T= 3¶
-
SR_BEHAVIOR_X= 2¶
-
-
class
vpp_srv6.VppSRv6LocalSID(test, localsid, behavior, nh_addr4, nh_addr6, end_psp, sw_if_index, vlan_index, fib_table)¶ Bases:
vpp_object.VppObjectSRv6 LocalSID
-
add_vpp_config()¶ Add the configuration for this object to vpp.
-
object_id()¶ Return a unique string representing this object.
-
query_vpp_config()¶ Query the vpp configuration.
Returns: True if the object is configured
-
remove_vpp_config()¶ Remove the configuration for this object from vpp.
-
-
class
vpp_srv6.VppSRv6Policy(test, bsid, is_encap, sr_type, weight, fib_table, segments, source)¶ Bases:
vpp_object.VppObjectSRv6 Policy
-
add_vpp_config()¶ Add the configuration for this object to vpp.
-
object_id()¶ Return a unique string representing this object.
-
query_vpp_config()¶ Query the vpp configuration.
Returns: True if the object is configured
-
remove_vpp_config()¶ Remove the configuration for this object from vpp.
-
-
class
vpp_srv6.VppSRv6Steering(test, bsid, prefix, mask_width, traffic_type, sr_policy_index, table_id, sw_if_index)¶ Bases:
vpp_object.VppObjectSRv6 Steering
-
add_vpp_config()¶ Add the configuration for this object to vpp.
-
object_id()¶ Return a unique string representing this object.
-
query_vpp_config()¶ Query the vpp configuration.
Returns: True if the object is configured
-
remove_vpp_config()¶ Remove the configuration for this object from vpp.
-