Revision 13bdd914 examples/mobility.py
examples/mobility.py | ||
---|---|---|
96 | 96 |
"Move one of our interfaces to another switch" |
97 | 97 |
self.detach( intf ) |
98 | 98 |
self.delIntf( intf ) |
99 |
switch.addIntf( intf, port=port, rename=True )
|
|
99 |
switch.addIntf( intf, port=port, rename=rename )
|
|
100 | 100 |
switch.attach( intf ) |
101 | 101 |
|
102 | 102 |
|
Also available in: Unified diff