X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fvpp_papi_provider.py;h=6e6f7caf287c54a45e3b2f4fdb7681083cafd56f;hb=240b5ef57cc79cf32934ba8f218de29b6685406b;hp=acd05a7a26d6bc9e1c763c285b691a4dc4a21042;hpb=f068c3ed296c49dfbfe17677fc1ad2428fb4e3e4;p=vpp.git diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index acd05a7a26d..6e6f7caf287 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -1420,6 +1420,7 @@ class VppPapiProvider(object): protocol, vrf_id=0, twice_nat=0, + out2in_only=0, local_num=0, locals=[], is_add=1): @@ -1436,6 +1437,7 @@ class VppPapiProvider(object): 'protocol': protocol, 'vrf_id': vrf_id, 'twice_nat': twice_nat, + 'out2in_only': out2in_only, 'local_num': local_num, 'locals': locals}) @@ -1818,6 +1820,17 @@ class VppPapiProvider(object): {'ip4_addr': ip4, 'ip6_addr': ip6}) + def dslite_set_b4_addr(self, ip6, ip4): + """Set DS-Lite B4 IPv6 address + + :param ip4: IPv4 address + :param ip6: IPv6 address + """ + return self.api( + self.papi.dslite_set_b4_addr, + {'ip4_addr': ip4, + 'ip6_addr': ip6}) + def dslite_add_del_pool_addr_range( self, start_addr,