tests: implement ipaddress convenience methods 32/26732/4
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 28 Apr 2020 04:27:38 +0000 (00:27 -0400)
committerPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 28 Apr 2020 15:43:28 +0000 (15:43 +0000)
commite64e5fff4ddea88f386657c5d95ae8dc78138d20
treea4b91682810f8d64dfe2ae0934c21d1f67b94f9d
parent58db6e16cf4f3bb1740ca2f62d7d887baad58d63
tests: implement ipaddress convenience methods

  Add vpp specific properties to ip addresses for use in the api.
  .vapi_af  -- returns [ADDRESS_IP4, ADDRESS_IP6]
  .vapi_af_name -- returns the string ['ip4', 'ip6']

  Update tests to demonstrate usage.

Type: feature

Change-Id: I43447a1522769d99f89debdc714c51700068d771
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vnet/ip-neighbor/ip_neighbor.api
src/vpp-api/python/vpp_papi/vpp_format.py
src/vpp-api/python/vpp_papi/vpp_papi.py
test/framework.py
test/vpp_ip.py
test/vpp_ip_route.py
test/vpp_neighbor.py
test/vpp_papi_provider.py