Code Review
/
integration
/
test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make pep8 more picky
[integration/test.git]
/
csit
/
suites
/
vpnservice
/
custom.py
diff --git
a/csit/suites/vpnservice/custom.py
b/csit/suites/vpnservice/custom.py
index 64746be533a919bcc9967cca24e3dbe09678f418..2d07a47e643be2bb627fc70abf57ef8494e29a89 100755
(executable)
--- a/
csit/suites/vpnservice/custom.py
+++ b/
csit/suites/vpnservice/custom.py
@@
-22,7
+22,7
@@
class Switch1(Topo):
switch = self.addSwitch('s1')
n = 2
for h in range(n):
switch = self.addSwitch('s1')
n = 2
for h in range(n):
- host = self.addHost('h%s' % (h + 1), mac="00:00:00:00:00:0"
+str(h+1), ip="10.0.0."+str(h+
1))
+ host = self.addHost('h%s' % (h + 1), mac="00:00:00:00:00:0"
+ str(h + 1), ip="10.0.0." + str(h +
1))
self.addLink(host, switch)
self.addLink(host, switch)
@@
-33,7
+33,7
@@
class Switch2(Topo):
switch = self.addSwitch('s2')
n = 2
for h in range(n):
switch = self.addSwitch('s2')
n = 2
for h in range(n):
- host = self.addHost('h%s' % (h + 3), mac="00:00:00:00:00:0"
+str(h+3), ip="10.0.0."+str(h+
3))
+ host = self.addHost('h%s' % (h + 3), mac="00:00:00:00:00:0"
+ str(h + 3), ip="10.0.0." + str(h +
3))
self.addLink(host, switch)
topos = {'Switch1': (lambda: Switch1()),
self.addLink(host, switch)
topos = {'Switch1': (lambda: Switch1()),