Add alias + switch: { 'ovs': OVSSwitch, 'lxbr': LinuxBridge }
This commit is contained in:
+2
-3
@@ -1,9 +1,7 @@
|
||||
"""
|
||||
Package: nodelib
|
||||
|
||||
Node Library for Mininet
|
||||
|
||||
This contains additional node types which you may find to be useful
|
||||
This contains additional Node types which you may find to be useful
|
||||
"""
|
||||
|
||||
from mininet.net import Mininet
|
||||
@@ -11,6 +9,7 @@ from mininet.topo import Topo
|
||||
from mininet.node import Switch
|
||||
from mininet.log import setLogLevel, info
|
||||
|
||||
|
||||
class LinuxBridge( Switch ):
|
||||
"Linux Bridge (with optional spanning tree)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user