dumper.py: address review comments.
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:
@ -104,7 +104,7 @@ class Dumper(VPPApi):
|
|||||||
iface.sw_if_index
|
iface.sw_if_index
|
||||||
]
|
]
|
||||||
config["loopbacks"][iface.interface_name] = loop
|
config["loopbacks"][iface.interface_name] = loop
|
||||||
elif iface.interface_dev_type in ["bond", "VXLAN", "dpdk", "virtio"]:
|
elif iface.interface_dev_type in ["bond", "VXLAN", "dpdk", "virtio", "pg"]:
|
||||||
i = {"description": ""}
|
i = {"description": ""}
|
||||||
if iface.sw_if_index in self.cache["lcps"]:
|
if iface.sw_if_index in self.cache["lcps"]:
|
||||||
i["lcp"] = self.cache["lcps"][iface.sw_if_index].host_if_name
|
i["lcp"] = self.cache["lcps"][iface.sw_if_index].host_if_name
|
||||||
|
Reference in New Issue
Block a user