Hello, My name is Haftom. I am beginner for ubuntu as well as mininet. Currently, I want to do some research on SDN and NV. I have developed three nodes connected together which forms a triangle, s1, s2 and s3. And each switch get connected with two hosts i.e. h1&h2 connected to s1 and h3&h4 connected to s2 and h5&h6 connected to s3. I have two opendaylight controllers (0.3.3-Lithium-SR3) installed on my PC with the ip address of 192.168.56.101 and .106. Moreover, I have Flowvisor v.1.4 installed on my PC which has an IP address of 192.168.56.103.
My aim is to have a research slice which containes only h1,h3 &h5 and will use only 1Mbps and get controlled by the controller with the ip address of 192.168.56.101. And I want to have a production slice which contains only h2,h4 and h6 and will use only 3Mbps and get controlled by the controller with the ip address of 192.168.56.106. Then let me explain what I did. 1. I created two slices named ' research ' and ' production ' fvctl -f /dev/null add-slice research tcp:192.168.56.101:6633 admin@researchslice fvctl -f /dev/null add-slice production tcp:192.168.56.106:6653 admin@productionslice 2. I created two queues q0 and q1 for each port like for example the first one is ovs-vsctl set port s1-eth1 qos=@newqos -- --id=@newqos create qos type=linux-htb queues=0=@q0,1=@q1 -- --id=@q0 create queue other-config:min-rate=3000000 other-config:max-rate=3000000 -- --id=@q1 create queue other-config:min-rate=1000000 other-config:max-rate=1000000 3. I created the flowspace as follows for the research slice fvctl -f /dev/null add-flowspace dpid1-port1 1 1 in_port=1 research=7 [h1 is connected to this port] fvctl -f /dev/null add-flowspace --forced-queue=1 dpid1-port3 1 1 in_port=3 research=7 fvctl -f /dev/null add-flowspace --forced-queue=1 dpid1-port4 1 1 in_port=4 research=7 fvctl -f /dev/null add-flowspace --forced-queue=1 dpid2-port1 2 1 in_port=1 research=7 fvctl -f /dev/null add-flowspace dpid2-port2 2 1 in_port=2 research=7 [h3 is connected to this port] fvctl -f /dev/null add-flowspace --forced-queue=1 dpid2-port4 2 1 in_port=4 research=7 fvctl -f /dev/null add-flowspace --forced-queue=1 dpid3-port1 3 1 in_port=1 research=7 fvctl -f /dev/null add-flowspace dpid3-port2 3 1 in_port=2 research=7 [h5 is connected to this port] fvctl -f /dev/null add-flowspace --forced-queue=1 dpid3-port4 3 1 in_port=4 research=7 for the production slice fvctl -f /dev/null add-flowspace dpid11-port2 1 1 in_port=2 production=7 [h2 is connected to this port] fvctl -f /dev/null add-flowspace --forced-queue=0 dpid11-port3 1 1 in_port=3 production=7 fvctl -f /dev/null add-flowspace --forced-queue=0 dpid11-port4 1 1 in_port=4 production=7 fvctl -f /dev/null add-flowspace --forced-queue=0 dpid22-port1 2 1 in_port=1 production=7 fvctl -f /dev/null add-flowspace dpid22-port3 2 1 in_port=3 production=7 [h4 is connected to this port] fvctl -f /dev/null add-flowspace --forced-queue=0 dpid22-port4 2 1 in_port=4 production=7 fvctl -f /dev/null add-flowspace --forced-queue=0 dpid33-port1 3 1 in_port=1 production=7 fvctl -f /dev/null add-flowspace dpid33-port3 3 1 in_port=3 production=7 [h6 is connected to this port] fvctl -f /dev/null add-flowspace --forced-queue=0 dpid33-port4 3 1 in_port=4 production=7 4. one of the controllers, flow-visor and mini-net are running then I run the following command on mininet sudo mn --custom mininet/custom/Research.py --topo Research --mac --controller=remote,ip=192.168.56.103 --switch ovs,protocols=OpenFlow10 --link tc 5. However, it always uses the q0 rather than q1 although It is expected to use q1. After that I added the following for each port which are connected to the switches for example. sudo ovs-ofctl add-flow s1 in_port=3, dl_type=0x0806, nw_proto=6, nw_dst=10.0.0.1, priority=100, actions=set_queue:1, normal However, the flowvisor stops immediately. But I can see the traffic is going thruogh q1 when I am not using the flowvisor meaning when I use this commands sudo mn --custom mininet/custom/Research.py --topo Research --mac --controller=remote,ip=192.168.56.101 --switch ovs,protocols=OpenFlow10 --link tc can you please help me how to solve this and run my two controllers simultaneously without interfering the two slices by using q0 and q1? Thank you Regards, Haftom
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss