diff options
author | Neale Ranns <nranns@cisco.com> | 2018-09-05 09:13:57 -0700 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-09-25 16:29:19 +0000 |
commit | b474380f82b75d9640f9bf6ee78c891a6794dbfb (patch) | |
tree | 1deee7eda6675a9886ddebb4a38249110f67170d /test/test_gbp.py | |
parent | 6a30b5f9182a44989e97bbc044f29adccdef09b2 (diff) |
L2 BD: introduce a BD interface on which to send UU packets
Change-Id: I21ad6b04c19c8735d057174b1f260a59f2812241
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/test_gbp.py')
-rw-r--r-- | test/test_gbp.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/test_gbp.py b/test/test_gbp.py index 0d5dd154be7..132bd247dd1 100644 --- a/test/test_gbp.py +++ b/test/test_gbp.py @@ -9,6 +9,7 @@ from vpp_ip_route import VppIpRoute, VppRoutePath, VppIpTable from vpp_ip import * from vpp_mac import * +from vpp_papi_provider import L2_PORT_TYPE from scapy.packet import Raw from scapy.layers.l2 import Ether, ARP @@ -585,9 +586,11 @@ class TestGBP(VppTestCase): # epg[1] shares the same BVI to epg[0] if epg != epgs[1] and epg != epgs[4]: # BVI in BD - self.vapi.sw_interface_set_l2_bridge(epg.bvi.sw_if_index, - epg.bd, - bvi=1) + self.vapi.sw_interface_set_l2_bridge( + epg.bvi.sw_if_index, + epg.bd, + port_type=L2_PORT_TYPE.BVI) + # BVI L2 FIB entry self.vapi.l2fib_add_del(self.router_mac, epg.bd, |