2.142. vpp_dhcp module¶
-
class
vpp_dhcp.
VppDHCPClient
(test, sw_if_index, hostname, id=None, want_dhcp_event=False, set_broadcast_flag=True, dscp=None, pid=None)¶ Bases:
vpp_object.VppObject
-
add_vpp_config
()¶ Add the configuration for this object to vpp.
-
get_vpp_dump
()¶
-
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.
-
set_client
(sw_if_index, hostname, id=None, want_dhcp_event=False, set_broadcast_flag=True, dscp=None, pid=None)¶
-
-
class
vpp_dhcp.
VppDHCPProxy
(test, dhcp_server, dhcp_src_address, rx_vrf_id=0, server_vrf_id=0)¶ Bases:
vpp_object.VppObject
-
add_vpp_config
()¶ Add the configuration for this object to vpp.
-
get_vpp_dump
()¶
-
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.
-
set_proxy
(dhcp_server, dhcp_src_address, rx_vrf_id=0, server_vrf_id=0)¶
-