vpp_papi_provider: Remove more wrapper functions.

Split this work up into pieces.
Please don't add new wrappers to vpp_papi_provider.py.

Change-Id: I0f8f2afc4cd2bba07ea70ddecea2d7319f7b2e10
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2019-03-11 19:23:25 +01:00
committed by Paul Vinciguerra
parent 2d9b427a5b
commit a5b2eec053
36 changed files with 410 additions and 784 deletions

View File

@ -5,7 +5,6 @@ import random
import socket
from ipaddress import IPv4Address, IPv6Address, AddressValueError
from framework import VppTestCase, VppTestRunner
from util import ppp
@ -187,7 +186,9 @@ class TestECMP(VppTestCase):
next_hop_address = socket.inet_pton(af, nh_host_ip)
next_hop_sw_if_index = pg_if.sw_if_index
self.vapi.ip_add_del_route(
dst_ip, dst_prefix_len, next_hop_address,
dst_address=dst_ip,
dst_address_length=dst_prefix_len,
next_hop_address=next_hop_address,
next_hop_sw_if_index=next_hop_sw_if_index,
is_ipv6=is_ipv6, is_multipath=1)
self.logger.info("Route via %s on %s created" %