aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/topology.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-12-13 11:48:56 +0100
committerJan Gelety <jgelety@cisco.com>2019-12-13 13:29:15 +0100
commit20083f2e3d4fcd603ecba522e08e445b932cca5f (patch)
tree37d26e09745cd054ce18563c88accebe02603d8b /resources/libraries/python/topology.py
parent89197627ca8b43be87dde1d124f7b656ee4523ac (diff)
FIX: eth interfaces need numa_node information in topology file
Change-Id: I9a3c6947da8ab5033e29b39833c97bcdafdc3ca9 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/topology.py')
-rw-r--r--resources/libraries/python/topology.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/libraries/python/topology.py b/resources/libraries/python/topology.py
index ed87edfa7e..b2d106d3ed 100644
--- a/resources/libraries/python/topology.py
+++ b/resources/libraries/python/topology.py
@@ -171,7 +171,8 @@ class Topology:
"""
port_types = (
u"subinterface", u"vlan_subif", u"memif", u"tap", u"vhost",
- u"loopback", u"gre_tunnel", u"vxlan_tunnel", u"eth_bond", u"eth_avf"
+ u"loopback", u"gre_tunnel", u"vxlan_tunnel", u"eth_bond",
+ u"eth_avf", u"eth_rdma"
)
for node_data in nodes.values():
@@ -1051,8 +1052,10 @@ class Topology:
:param node: Node to set numa_node on.
:param iface_key: Interface key from topology file.
+ :param numa_node_id: Num_node ID.
:type node: dict
:type iface_key: str
+ :type numa_node_id: int
:returns: Return iface_key or None if not found.
"""
try: