X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fvpp_papi_provider.py;h=7a6d11f75ae059e0316b625dd27bac6e57fbada2;hb=c5c6a3342f3cbaaac647d52fd960b6f5b0fcd4e0;hp=acd05a7a26d6bc9e1c763c285b691a4dc4a21042;hpb=83d47438ae7c9b3fc53329846ee46a82a3087578;p=vpp.git diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index acd05a7a26d..7a6d11f75ae 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -1818,6 +1818,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,