MCPcopy Create free account
hub / github.com/FDio/vpp / set_table_ip4

Method set_table_ip4

test/vpp_interface.py:328–335  ·  view source on GitHub ↗

Set the interface in a IPv4 Table. .. note:: Must be called before configuring IP4 addresses.

(self, table_id)

Source from the content-addressed store, hash-verified

326 return self
327
328 def set_table_ip4(self, table_id):
329 """Set the interface in a IPv4 Table.
330
331 .. note:: Must be called before configuring IP4 addresses.
332 """
333 self.ip4_table_id = table_id
334 self.test.vapi.sw_interface_set_table(self.sw_if_index, 0, self.ip4_table_id)
335 return self
336
337 def set_table_ip6(self, table_id):
338 """Set the interface in a IPv6 Table.

Callers 15

setUpMethod · 0.80
tearDownMethod · 0.80
tearDownMethod · 0.80
configure_interfaceMethod · 0.80
teardown_interfacesMethod · 0.80
setUpMethod · 0.80
tearDownMethod · 0.80
setUpMethod · 0.80
tearDownMethod · 0.80
setUpMethod · 0.80
tearDownMethod · 0.80

Calls

no outgoing calls

Tested by 15

setUpMethod · 0.64
tearDownMethod · 0.64
tearDownMethod · 0.64
configure_interfaceMethod · 0.64
teardown_interfacesMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64
setUpMethod · 0.64
tearDownMethod · 0.64