X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Ftopology.py;h=698c97b42683ee1f2d9df46c2938dace4e9fe84a;hb=6c6b9edc4690f5c4cd86334d706d7c40a81c85cf;hp=394dc9df58fa91cb30f1c44324720ecc068879b2;hpb=7d7259ab1a065f0d1f849b29270514eacd3a1efe;p=csit.git diff --git a/resources/libraries/python/topology.py b/resources/libraries/python/topology.py index 394dc9df58..698c97b426 100644 --- a/resources/libraries/python/topology.py +++ b/resources/libraries/python/topology.py @@ -138,7 +138,8 @@ class Topology(object): :returns: Nothing """ port_types = ('subinterface', 'vlan_subif', 'memif', 'tap', 'vhost', - 'loopback', 'gre_tunnel', 'vxlan_tunnel', 'eth_bond') + 'loopback', 'gre_tunnel', 'vxlan_tunnel', 'eth_bond', + 'avf') for node_data in nodes.values(): if node_data['type'] == NodeType.DUT: @@ -402,7 +403,8 @@ class Topology(object): interface index assigned to the interface by vpp for a given node. :param node: The node topology dictionary. - :param sw_if_index: sw_if_index of the link that a interface is connected to. + :param sw_if_index: sw_if_index of the link that a interface is + connected to. :type node: dict :type sw_if_index: int :returns: Interface name of the interface connected to the given link.