Committed by
Gerrit Code Review
Fixed issue in the att-mpls.py mininet script.
Change-Id: I0b1d421ca95576cfaac874078242960c99773ae9
Showing
1 changed file
with
25 additions
and
25 deletions
... | @@ -22,31 +22,31 @@ class AttMplsTopo( Topo ): | ... | @@ -22,31 +22,31 @@ class AttMplsTopo( Topo ): |
22 | Topo.__init__( self ) | 22 | Topo.__init__( self ) |
23 | 23 | ||
24 | # add nodes, switches first... | 24 | # add nodes, switches first... |
25 | - NY54 = self.addSwitch( 's25' ) // 40.728270, -73.994483 | 25 | + NY54 = self.addSwitch( 's25' ) # 40.728270, -73.994483 |
26 | - CMBR = self.addSwitch( 's1' ) // 42.373730, -71.109734 | 26 | + CMBR = self.addSwitch( 's1' ) # 42.373730, -71.109734 |
27 | - CHCG = self.addSwitch( 's2' ) // 41.877461, -87.642892 | 27 | + CHCG = self.addSwitch( 's2' ) # 41.877461, -87.642892 |
28 | - CLEV = self.addSwitch( 's3' ) // 41.498928, -81.695217 | 28 | + CLEV = self.addSwitch( 's3' ) # 41.498928, -81.695217 |
29 | - RLGH = self.addSwitch( 's4' ) // 35.780150, -78.644026 | 29 | + RLGH = self.addSwitch( 's4' ) # 35.780150, -78.644026 |
30 | - ATLN = self.addSwitch( 's5' ) // 33.749017, -84.394168 | 30 | + ATLN = self.addSwitch( 's5' ) # 33.749017, -84.394168 |
31 | - PHLA = self.addSwitch( 's6' ) // 39.952906, -75.172278 | 31 | + PHLA = self.addSwitch( 's6' ) # 39.952906, -75.172278 |
32 | - WASH = self.addSwitch( 's7' ) // 38.906696, -77.035509 | 32 | + WASH = self.addSwitch( 's7' ) # 38.906696, -77.035509 |
33 | - NSVL = self.addSwitch( 's8' ) // 36.166410, -86.787305 | 33 | + NSVL = self.addSwitch( 's8' ) # 36.166410, -86.787305 |
34 | - STLS = self.addSwitch( 's9' ) // 38.626418, -90.198143 | 34 | + STLS = self.addSwitch( 's9' ) # 38.626418, -90.198143 |
35 | - NWOR = self.addSwitch( 's10' ) // 29.951475, -90.078434 | 35 | + NWOR = self.addSwitch( 's10' ) # 29.951475, -90.078434 |
36 | - HSTN = self.addSwitch( 's11' ) // 29.763249, -95.368332 | 36 | + HSTN = self.addSwitch( 's11' ) # 29.763249, -95.368332 |
37 | - SNAN = self.addSwitch( 's12' ) // 29.424331, -98.491745 | 37 | + SNAN = self.addSwitch( 's12' ) # 29.424331, -98.491745 |
38 | - DLLS = self.addSwitch( 's13' ) // 32.777665, -96.802064 | 38 | + DLLS = self.addSwitch( 's13' ) # 32.777665, -96.802064 |
39 | - ORLD = self.addSwitch( 's14' ) // 28.538641, -81.381110 | 39 | + ORLD = self.addSwitch( 's14' ) # 28.538641, -81.381110 |
40 | - DNVR = self.addSwitch( 's15' ) // 39.736623, -104.984887 | 40 | + DNVR = self.addSwitch( 's15' ) # 39.736623, -104.984887 |
41 | - KSCY = self.addSwitch( 's16' ) // 39.100725, -94.581228 | 41 | + KSCY = self.addSwitch( 's16' ) # 39.100725, -94.581228 |
42 | - SNFN = self.addSwitch( 's17' ) // 37.779751, -122.409791 | 42 | + SNFN = self.addSwitch( 's17' ) # 37.779751, -122.409791 |
43 | - SCRM = self.addSwitch( 's18' ) // 38.581001, -121.497844 | 43 | + SCRM = self.addSwitch( 's18' ) # 38.581001, -121.497844 |
44 | - PTLD = self.addSwitch( 's19' ) // 45.523317, -122.677768 | 44 | + PTLD = self.addSwitch( 's19' ) # 45.523317, -122.677768 |
45 | - STTL = self.addSwitch( 's20' ) // 47.607326, -122.331786 | 45 | + STTL = self.addSwitch( 's20' ) # 47.607326, -122.331786 |
46 | - SLKC = self.addSwitch( 's21' ) // 40.759577, -111.895079 | 46 | + SLKC = self.addSwitch( 's21' ) # 40.759577, -111.895079 |
47 | - LA03 = self.addSwitch( 's22' ) // 34.056346, -118.235951 | 47 | + LA03 = self.addSwitch( 's22' ) # 34.056346, -118.235951 |
48 | - SNDG = self.addSwitch( 's23' ) // 32.714564, -117.153528 | 48 | + SNDG = self.addSwitch( 's23' ) # 32.714564, -117.153528 |
49 | - PHNX = self.addSwitch( 's24' ) // 33.448289, -112.076299 | 49 | + PHNX = self.addSwitch( 's24' ) # 33.448289, -112.076299 |
50 | 50 | ||
51 | # ... and now hosts | 51 | # ... and now hosts |
52 | NY54_host = self.addHost( 'h25' ) | 52 | NY54_host = self.addHost( 'h25' ) | ... | ... |
-
Please register or login to post a comment