Unique name for controllers
Change-Id: If4fc4854bdc6c0946b3779b5af6f1d6228eb4e16
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -430,6 +430,7 @@ class MininetOE( Mininet ): | ... | @@ -430,6 +430,7 @@ class MininetOE( Mininet ): |
430 | i = 0 | 430 | i = 0 |
431 | for ctrl in controllers: | 431 | for ctrl in controllers: |
432 | self.addController( RemoteController( 'c%d' % i, ip=ctrl ) ) | 432 | self.addController( RemoteController( 'c%d' % i, ip=ctrl ) ) |
433 | + i += 1 | ||
433 | 434 | ||
434 | 435 | ||
435 | class OpticalTestTopo( Topo ): | 436 | class OpticalTestTopo( Topo ): | ... | ... |
-
Please register or login to post a comment