Merge pull request #1 from dwallacelf/dumper-pg-if
vpp/dumper: add packet-generator interfaces
This commit is contained in:
@ -104,7 +104,13 @@ 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