vpp_papi_provider: Remove more wrapper functions.
Split this work up into pieces. Please don't add new wrappers to vpp_papi_provider.py. Change-Id: I0f8f2afc4cd2bba07ea70ddecea2d7319f7b2e10 Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:

committed by
Paul Vinciguerra

parent
2d9b427a5b
commit
a5b2eec053
@ -66,12 +66,12 @@ class TestIpIrb(VppTestCase):
|
||||
|
||||
# Create BD with MAC learning enabled and put interfaces to this BD
|
||||
cls.vapi.sw_interface_set_l2_bridge(
|
||||
cls.loop0.sw_if_index, bd_id=cls.bd_id,
|
||||
rx_sw_if_index=cls.loop0.sw_if_index, bd_id=cls.bd_id,
|
||||
port_type=L2_PORT_TYPE.BVI)
|
||||
cls.vapi.sw_interface_set_l2_bridge(
|
||||
cls.pg0.sw_if_index, bd_id=cls.bd_id)
|
||||
cls.vapi.sw_interface_set_l2_bridge(
|
||||
cls.pg1.sw_if_index, bd_id=cls.bd_id)
|
||||
cls.vapi.sw_interface_set_l2_bridge(rx_sw_if_index=cls.pg0.sw_if_index,
|
||||
bd_id=cls.bd_id)
|
||||
cls.vapi.sw_interface_set_l2_bridge(rx_sw_if_index=cls.pg1.sw_if_index,
|
||||
bd_id=cls.bd_id)
|
||||
|
||||
# Configure IPv4 addresses on loopback interface and routed interface
|
||||
cls.loop0.config_ip4()
|
||||
|
Reference in New Issue
Block a user