aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2022-05-19 10:09:19 +0200
committerVratko Polak <vrpolak@cisco.com>2022-06-23 08:22:47 +0000
commitd07f6cae7f18c1513650d4cb690115d60201e704 (patch)
tree3e78334b68d5d89045d3acb18a97ecc61f5bea66 /resources/libraries
parentbb734f5c497c9329d6cd28d0fbb0bff3ba1992cc (diff)
chore(mtu): delete some unused keywords related to mtu
Change-Id: Id80b5611bb9a5d4398d4b2d00e92cda469949607 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/python/InterfaceUtil.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index 6ac166ac48..4a53f71a01 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -360,31 +360,6 @@ class InterfaceUtil:
logger.debug(f"Setting MTU failed.\n{err}")
@staticmethod
- def vpp_set_interfaces_mtu_on_node(node, mtu=9200):
- """Set Ethernet MTU on all interfaces.
-
- :param node: VPP node.
- :param mtu: Ethernet MTU size in Bytes. Default: 9200.
- :type node: dict
- :type mtu: int
- """
- for interface in node[u"interfaces"]:
- InterfaceUtil.vpp_set_interface_mtu(node, interface, mtu)
-
- @staticmethod
- def vpp_set_interfaces_mtu_on_all_duts(nodes, mtu=9200):
- """Set Ethernet MTU on all interfaces on all DUTs.
-
- :param nodes: VPP nodes.
- :param mtu: Ethernet MTU size in Bytes. Default: 9200.
- :type nodes: dict
- :type mtu: int
- """
- for node in nodes.values():
- if node[u"type"] == NodeType.DUT:
- InterfaceUtil.vpp_set_interfaces_mtu_on_node(node, mtu)
-
- @staticmethod
def vpp_node_interfaces_ready_wait(node, retries=15):
"""Wait until all interfaces with admin-up are in link-up state.