2.42. vpp_ip_route module¶
IP Routes
object abstractions for representing IP routes in VPP
-
class
vpp_ip_route.
MRouteEntryFlags
¶ -
MFIB_ENTRY_FLAG_CONNECTED
= 4¶
-
MFIB_ENTRY_FLAG_DROP
= 2¶
-
MFIB_ENTRY_FLAG_INHERIT_ACCEPT
= 8¶
-
MFIB_ENTRY_FLAG_NONE
= 0¶
-
MFIB_ENTRY_FLAG_SIGNAL
= 1¶
-
-
class
vpp_ip_route.
MRouteItfFlags
¶ -
MFIB_ITF_FLAG_ACCEPT
= 2¶
-
MFIB_ITF_FLAG_FORWARD
= 4¶
-
MFIB_ITF_FLAG_INTERNAL_COPY
= 16¶
-
MFIB_ITF_FLAG_NEGATE_SIGNAL
= 1¶
-
MFIB_ITF_FLAG_NONE
= 0¶
-
MFIB_ITF_FLAG_SIGNAL_PRESENT
= 8¶
-
-
class
vpp_ip_route.
VppIpMRoute
(test, src_addr, grp_addr, grp_addr_len, e_flags, paths, table_id=0, is_ip6=0)¶ Bases:
vpp_object.VppObject
IP Multicast Route
-
add_vpp_config
()¶
-
object_id
()¶
-
query_vpp_config
()¶
-
remove_vpp_config
()¶
-
update_entry_flags
(flags)¶
-
update_path_flags
(itf, flags)¶
-
-
class
vpp_ip_route.
VppIpRoute
(test, dest_addr, dest_addr_len, paths, table_id=0, is_ip6=0, is_local=0, is_unreach=0, is_prohibit=0)¶ Bases:
vpp_object.VppObject
IP Route
-
add_vpp_config
()¶
-
modify
(paths, is_local=0, is_unreach=0, is_prohibit=0)¶
-
object_id
()¶
-
query_vpp_config
()¶
-
remove_vpp_config
()¶
-
-
class
vpp_ip_route.
VppMRoutePath
(nh_sw_if_index, flags)¶ Bases:
vpp_ip_route.VppRoutePath
-
class
vpp_ip_route.
VppMplsIpBind
(test, local_label, dest_addr, dest_addr_len, table_id=0, ip_table_id=0)¶ Bases:
vpp_object.VppObject
MPLS to IP Binding
-
add_vpp_config
()¶
-
object_id
()¶
-
query_vpp_config
()¶
-
remove_vpp_config
()¶
-
-
class
vpp_ip_route.
VppMplsRoute
(test, local_label, eos_bit, paths, table_id=0)¶ Bases:
vpp_object.VppObject
MPLS Route/LSP
-
add_vpp_config
()¶
-
object_id
()¶
-
query_vpp_config
()¶
-
remove_vpp_config
()¶
-
-
class
vpp_ip_route.
VppRoutePath
(nh_addr, nh_sw_if_index, nh_table_id=0, labels=[], nh_via_label=1048576, is_ip6=0)¶ Bases:
object
-
vpp_ip_route.
find_route
(test, ip_addr, len, table_id=0, inet=2)¶