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 pylint warnings in python libraries
[csit.git]
/
resources
/
libraries
/
python
/
topology.py
diff --git
a/resources/libraries/python/topology.py
b/resources/libraries/python/topology.py
index
c02991f
..
02f326a
100644
(file)
--- a/
resources/libraries/python/topology.py
+++ b/
resources/libraries/python/topology.py
@@
-34,6
+34,7
@@
def load_topo_from_yaml():
with open(topo_path) as work_file:
return load(work_file.read())['nodes']
with open(topo_path) as work_file:
return load(work_file.read())['nodes']
+
# pylint: disable=invalid-name
class NodeType(object):
"""Defines node types used in topology dictionaries."""
# pylint: disable=invalid-name
class NodeType(object):
"""Defines node types used in topology dictionaries."""
@@
-46,6
+47,7
@@
class NodeType(object):
class NodeSubTypeTG(object):
class NodeSubTypeTG(object):
+ """Defines node sub-type TG - traffic generator."""
# T-Rex traffic generator
TREX = 'TREX'
# Moongen
# T-Rex traffic generator
TREX = 'TREX'
# Moongen