diff options
author | Neale Ranns <nranns@cisco.com> | 2019-03-04 14:08:11 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-06 10:31:38 +0000 |
commit | 8da9fc659badc016e409f772673002f021c0cc4a (patch) | |
tree | 0223180b7344b652ab8c45bb38f47f335bbed7c5 /test/vpp_papi_provider.py | |
parent | dc8d93b02949f508d5eed312a51aa91102224b39 (diff) |
GBP: learn from ARP and L2 packets
Change-Id: I8af7bca566ec7c9bd2b72529d49e04c6e649b44a
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 2188ed3c041..9955518b2ef 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -3715,14 +3715,15 @@ class VppPapiProvider(object): """ GBP contract Dump """ return self.api(self.papi.gbp_contract_dump, {}) - def gbp_vxlan_tunnel_add(self, vni, bd_rd_id, mode): + def gbp_vxlan_tunnel_add(self, vni, bd_rd_id, mode, src): """ GBP VXLAN tunnel add """ return self.api(self.papi.gbp_vxlan_tunnel_add, { 'tunnel': { 'vni': vni, 'mode': mode, - 'bd_rd_id': bd_rd_id + 'bd_rd_id': bd_rd_id, + 'src': src } }) |