Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove obsolete FDS tests
[csit.git]
/
resources
/
libraries
/
python
/
IPv4Setup.py
diff --git
a/resources/libraries/python/IPv4Setup.py
b/resources/libraries/python/IPv4Setup.py
index
f9b067d
..
b018bce
100644
(file)
--- a/
resources/libraries/python/IPv4Setup.py
+++ b/
resources/libraries/python/IPv4Setup.py
@@
-118,8
+118,8
@@
class IPv4Node(object):
class Tg(IPv4Node):
"""Traffic generator node"""
class Tg(IPv4Node):
"""Traffic generator node"""
- def __init__(self, node_info):
- super(Tg, self).__init__(node_info)
+
+ # Implicit constructor is inherited.
def _execute(self, cmd):
"""Executes the specified command on TG using SSH.
def _execute(self, cmd):
"""Executes the specified command on TG using SSH.
@@
-179,8
+179,8
@@
class Tg(IPv4Node):
class Dut(IPv4Node):
"""Device under test"""
class Dut(IPv4Node):
"""Device under test"""
- def __init__(self, node_info):
- super(Dut, self).__init__(node_info)
+
+ # Implicit contructor is inherited.
def get_sw_if_index(self, interface):
"""Get sw_if_index of specified interface from current node.
def get_sw_if_index(self, interface):
"""Get sw_if_index of specified interface from current node.