IP directed broadcast
with ip direct broadcast enable a packet to the interface's subnet broadcast address with be sent L2 broadcast on the interface. dissabled, it will be dropped. it is disabled by default, which preserves current behaviour Change-Id: If154cb92e64834e97a541b32624354348a0eafb3 Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
631de0dffe
commit
1855b8e48d
@ -720,6 +720,18 @@ class VppPapiProvider(object):
|
||||
{'sw_if_index': sw_if_index,
|
||||
'enable': enable})
|
||||
|
||||
def sw_interface_set_ip_directed_broadcast(
|
||||
self,
|
||||
sw_if_index,
|
||||
enable=1):
|
||||
"""IP Directed broadcast
|
||||
:param sw_if_index - interface the operation is applied to
|
||||
|
||||
"""
|
||||
return self.api(self.papi.sw_interface_set_ip_directed_broadcast,
|
||||
{'sw_if_index': sw_if_index,
|
||||
'enable': enable})
|
||||
|
||||
def sw_interface_set_flags(self, sw_if_index, admin_up_down):
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user