diff options
author | CNlucius <lukai1@huawei.com> | 2016-09-13 11:40:12 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-09-13 11:41:53 +0800 |
commit | b731e2f1dd0972409b136aebc7b463dd72c9cfad (patch) | |
tree | 5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/tools/test/topos/topo-200sw-linkalarm.py | |
parent | ee93993458266114c29271a481ef9ce7ce621b2a (diff) |
ONOSFW-171
O/S-SFC-ONOS scenario documentation
Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/tools/test/topos/topo-200sw-linkalarm.py')
-rw-r--r-- | framework/src/onos/tools/test/topos/topo-200sw-linkalarm.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/framework/src/onos/tools/test/topos/topo-200sw-linkalarm.py b/framework/src/onos/tools/test/topos/topo-200sw-linkalarm.py deleted file mode 100644 index bb964e2b..00000000 --- a/framework/src/onos/tools/test/topos/topo-200sw-linkalarm.py +++ /dev/null @@ -1,20 +0,0 @@ - -from mininet.topo import Topo - -class MyTopo( Topo ): - "10 'floating' switch topology" - - def __init__( self ): - # Initialize topology - Topo.__init__( self ) - - sw_list = [] - swC = self.addSwitch('sc', dpid = 'ffffffff00000001') - - for i in range(1, 201): - switch=self.addSwitch('s'+str(i), dpid = str(i).zfill(16)) - self.addLink(switch,swC) - - sw_list.append(switch) - -topos = { 'mytopo': ( lambda: MyTopo() ) } |