2.96. vpp_bier module¶
BIER Tables and Routes
-
class
vpp_bier.
BIER_HDR_PAYLOAD
¶ -
BIER_HDR_PROTO_CTRL
= 7¶
-
BIER_HDR_PROTO_ETHERNET
= 3¶
-
BIER_HDR_PROTO_IPV4
= 4¶
-
BIER_HDR_PROTO_IPV6
= 5¶
-
BIER_HDR_PROTO_MPLS_DOWN_STREAM
= 1¶
-
BIER_HDR_PROTO_MPLS_UP_STREAM
= 2¶
-
BIER_HDR_PROTO_OAM
= 8¶
-
BIER_HDR_PROTO_VXLAN
= 6¶
-
-
class
vpp_bier.
VppBierDispEntry
(test, tbl_id, bp, payload_proto, nh_proto, nh, nh_tbl, rpf_id=-1)¶ Bases:
vpp_object.VppObject
BIER Disposition Entry
-
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_bier.
VppBierDispTable
(test, id)¶ Bases:
vpp_object.VppObject
BIER Disposition Table
-
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_bier.
VppBierImp
(test, tbl_id, src, ibytes)¶ Bases:
vpp_object.VppObject
BIER route
-
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_bier.
VppBierRoute
(test, tbl_id, bp, paths)¶ Bases:
vpp_object.VppObject
BIER route
-
add_path
(path)¶
-
add_vpp_config
()¶ Add the configuration for this object to vpp.
-
encode_path
(p)¶
-
encode_paths
()¶
-
object_id
()¶ Return a unique string representing this object.
-
query_vpp_config
()¶ Query the vpp configuration.
Returns: True if the object is configured
-
remove_all_paths
()¶
-
remove_path
(path)¶
-
remove_vpp_config
()¶ Remove the configuration for this object from vpp.
-
update_paths
(paths)¶
-
-
class
vpp_bier.
VppBierTable
(test, id, mpls_label)¶ Bases:
vpp_object.VppObject
BIER Table
-
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_bier.
VppBierTableID
(sub_domain_id, set_id, hdr_len_id)¶
-
vpp_bier.
find_bier_disp_entry
(test, bdti, bp)¶
-
vpp_bier.
find_bier_disp_table
(test, bdti)¶
-
vpp_bier.
find_bier_imp
(test, bti, bp)¶
-
vpp_bier.
find_bier_route
(test, bti, bp)¶
-
vpp_bier.
find_bier_table
(test, bti)¶