2.116. vpp_memif module¶
-
class
vpp_memif.
VppMemif
(test, role, mode, rx_queues=0, tx_queues=0, if_id=0, socket_id=0, secret='', ring_size=0, buffer_size=0, hw_addr='')¶ Bases:
vpp_object.VppObject
-
add_vpp_config
()¶ Add the configuration for this object to vpp.
-
admin_down
()¶
-
admin_up
()¶
-
config_ip4
()¶
-
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.
-
wait_for_link_up
(timeout, step=1)¶
-
-
class
vpp_memif.
VppSocketFilename
(test, socket_id, socket_filename, add_default_folder=False)¶ Bases:
vpp_object.VppObject
-
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.
-
-
vpp_memif.
get_if_dump
(dump, sw_if_index)¶
-
vpp_memif.
query_all_memif_vpp_config
(_test)¶
-
vpp_memif.
remove_all_memif_vpp_config
(_test)¶