Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIX: eth interfaces need numa_node information in topology file
[csit.git]
/
resources
/
libraries
/
python
/
topology.py
diff --git
a/resources/libraries/python/topology.py
b/resources/libraries/python/topology.py
index
ed87edf
..
b2d106d
100644
(file)
--- 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",
"""
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():
)
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 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 node: dict
:type iface_key: str
+ :type numa_node_id: int
:returns: Return iface_key or None if not found.
"""
try:
:returns: Return iface_key or None if not found.
"""
try: