wiki:Internal/OpenFlow/OrbitSwitches/sw-sb-combined

Version 6 (modified by akoshibe, 14 years ago) ( diff )

sw-sb-01 (The Aggregate SandBox Switch)

sw-sb-01 is a replacement for legacy sandbox switches for sb 1,2,5,6,7, and 8.

Access : 172.16.0.221

Testbed switch layout

Each testbed requires 2 ports each for CM, Control, and Data links for the nodes, a Control VLAN link to the Console, and a trunk link to the top switch. As an OpenFlow switch, we also need a dedicated port to connect the switch to a controller. In the aggregate switch ports are allocated in the following numbers:

  • CM: 12 ports (2 per SandBox)
  • Control: 18 ports - 12 for nodes, + 6 for Console links
  • Data: 12 (as with CM)
  • OpenFlow control VLANs: 2 (to controller - two to make things tidy)
  • Trunk: 4 (leftover)

VLANs

VLAN 3 (CM) is consistent across all SandBoxes. Each sb has its own Control and Data VLANs as such:

TestbedControl VLANData VLAN
sb11112
sb21314
sb51920
sb62122
sb72324
sb82526

In addition, VLAN 100 is the defacto VLAN for the !OpenFLow control channel at WINLAB.

Port Assignments

The final port VLAN assignments:

Port(s)VLAN(s)Description
0/1-123CM
Control-to nodes
0/13,1411sb1_ctrl
0/15,1613sb2_ctrl
0/17,1819sb5_ctrl
0/19,2021sb6_ctrl
0/21,2223sb7_ctrl
0/23,2425sb8_ctrl
Control-to Consoles
0/2511sb1_ctrl
0/2613sb2_ctrl
0/2719sb5_ctrl
0/2821sb6_ctrl
0/2923sb7_ctrl
0/3025sb8_ctrl
Data
0/31,3212sb1_data
0/33,3414sb2_data
0/35,3620sb5_data
0/37,3822sb6_data
0/39,4024sb7_data
0/41,4226sb8_data
0/471-3,11-14,19-26OF control
0/43-46,481,3,11-14,19-26Trunk

Legacy Configurations

All forms of spanning tree (STP, PVST+) are disabled for compliance with OpenFlow and Node-handler/Agent services. From configuration mode:

spanning-tree disable
no spanning-tree vlan 1,3,11-14,19-26

vlans are named from the vlan context.

Interface-range contexts are used for batch configuration of similar ports. Below is the configuration of the CM and SB1 Control VLAN ports:

!(config)# interface range gi 0/1-12
!(config-if-range)# switchport access vlan 3
!(config-if-range)# interface range gi 0/13-14   
!(config-if-range)# sw acc vlan 11 

Similarly, the trunk ports:

interface range gi 0/43-48
switchport mode trunk
switchport trunk allowed vlan 3,11-14,19-26
switchport trunk native vlan 1

OpenFlow configurations

Each VLAN is its own virtual switch. The following is the contents of openflow.conf.

setvsi 3 1-12 tcp 172.16.0.4:6633 dpid 0x0129834756ab 

setvsi 11 13,14,25 tcp 172.16.0.4:6633 dpid 0x012983475611 
setvsi 13 15,16,26 tcp 172.16.0.4:6633 dpid 0x012983475613 
setvsi 19 17,18,27 tcp 172.16.0.4:6633 dpid 0x012983475615 
setvsi 21 19,20,28 tcp 172.16.0.4:6633 dpid 0x012983475621 
setvsi 23 21,22,29 tcp 172.16.0.4:6633 dpid 0x012983475623 
setvsi 25 23,24,30 tcp 172.16.0.4:6633 dpid 0x012983475625 

setvsi 12 31,32 tcp 172.16.0.4:6633 dpid 0x012983475612 
setvsi 14 33,34 tcp 172.16.0.4:6633 dpid 0x012983475614 
setvsi 20 35,36 tcp 172.16.0.4:6633 dpid 0x012983475620
setvsi 22 37,38 tcp 172.16.0.4:6633 dpid 0x012983475622 
setvsi 24 39,40 tcp 172.16.0.4:6633 dpid 0x012983475624 
setvsi 26 41,42 tcp 172.16.0.4:6633 dpid 0x012983475626

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.