GBP: Endpoints with VLAN tags and birdges that don't learn

Change-Id: I20192f3a8f4f01f47e775746f6fde7c685f185ee
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2018-11-07 04:21:12 -08:00
parent 7ac053b27f
commit c29c0af40e
7 changed files with 257 additions and 20 deletions

View File

@ -3537,13 +3537,14 @@ class VppPapiProvider(object):
""" GBP endpoint group Dump """
return self.api(self.papi.gbp_endpoint_group_dump, {})
def gbp_bridge_domain_add(self, bd_id,
def gbp_bridge_domain_add(self, bd_id, flags,
bvi_sw_if_index,
uu_fwd_sw_if_index):
""" GBP bridge-domain Add """
return self.api(self.papi.gbp_bridge_domain_add,
{'bd':
{
'flags': flags,
'bvi_sw_if_index': bvi_sw_if_index,
'uu_fwd_sw_if_index': uu_fwd_sw_if_index,
'bd_id': bd_id