-
Bug
-
Resolution: Done
-
Medium
-
None
-
binary API call ip_address_dump always returns an empty details response
here is how to reproduce it using vat:
Create any interface with ip address
vat#
vat# memif_create
created memif with sw_if_index 1
vat#
vat# sw_interface_add_del_address sw_if_index 1 10.0.0.1/24
vat#In VPP:
vpp# sh int addr
local0 (dn):
memif0/0 (dn):
L3 10.0.0.1/24
vpp#Try to dump ip address
vat#
vat# ip_address_dump ipv4 sw_if_index 1
ip address details arrived but not stored ip_dump should be called first
vat#Ok let's do that
vat#
vat# ip_dump ipv4
vat#
vat# ip_address_dump ipv4 sw_if_index 1
vat#But nothing was returned.
vpp# sh ver
vpp v18.07-rc0~361-g3337bd22binary API call ip_address_dump always returns an empty details response here is how to reproduce it using vat: Create any interface with ip address vat# vat# memif_create created memif with sw_if_index 1 vat# vat# sw_interface_add_del_address sw_if_index 1 10.0.0.1/24 vat# In VPP: vpp# sh int addr local0 (dn): memif0/0 (dn): L3 10.0.0.1/24 vpp# Try to dump ip address vat# vat# ip_address_dump ipv4 sw_if_index 1 ip address details arrived but not stored ip_dump should be called first vat# Ok let's do that vat# vat# ip_dump ipv4 vat# vat# ip_address_dump ipv4 sw_if_index 1 vat# But nothing was returned. vpp# sh ver vpp v18.07-rc0~361-g3337bd22