PUZZLE | 26 May 03:19 2016
Picon

[PLOT] Cbench output

Hi,
I am trying to plot the cbench results output but i still didn't quite understood it especially due to the lack of documenttion,

Would anyone please help me understand the numbers so i can can decide what to plot?

Thank you very much!
<div><div dir="ltr">Hi,<div>I am trying to plot the cbench results output but i still didn't quite understood it especially due to the lack of documenttion,</div>
<div><br></div>
<div>Would anyone please help me understand the numbers so i can can decide what to plot?</div>
<div><br></div>
<div>Thank you very much!</div>
</div></div>
Haftay Gebreslasie Abreha | 11 May 10:59 2016
Picon

problem when using QoS with Flowvisor

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 <at> researchslice
fvctl -f /dev/null add-slice production tcp:192.168.56.106:6653 admin <at> 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= <at> newqos -- --id= <at> newqos create qos type=linux-htb queues=0= <at> q0,1= <at> q1 -- --id= <at> q0 create queue other-config:min-rate=3000000 other-config:max-rate=3000000 -- --id= <at> 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
<div><div dir="ltr">Hello,<br><br>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.&nbsp; h1&amp;h2 connected to s1 and h3&amp;h4 connected to s2 and h5&amp;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. <br><br>My aim is to have a research slice which containes only h1,h3 &amp;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.&nbsp; Then let me explain what I did.<br><br>1. I created two slices named ' research ' and ' production '<br><br>fvctl -f /dev/null add-slice research tcp:<a href="http://192.168.56.101:6633">192.168.56.101:6633</a> admin <at> researchslice<br>fvctl -f /dev/null add-slice production tcp:<a href="http://192.168.56.106:6653">192.168.56.106:6653</a> admin <at> productionslice<br><br>2. I created two queues q0 and q1 for each port like for example the first one is<br><br>ovs-vsctl set port s1-eth1 qos= <at> newqos -- --id= <at> newqos create qos type=linux-htb queues=0= <at> q0,1= <at> q1 -- --id= <at> q0 create queue other-config:min-rate=3000000 other-config:max-rate=3000000 -- --id= <at> q1 create queue other-config:min-rate=1000000 other-config:max-rate=1000000<br><br>3. I created the flowspace as follows<br><br>for the research slice&nbsp;
<br>fvctl -f /dev/null add-flowspace dpid1-port1 1 1 in_port=1 research=7&nbsp;&nbsp; [h1 is connected to this port]<br>fvctl -f /dev/null add-flowspace --forced-queue=1 dpid1-port3 1 1 in_port=3 research=7&nbsp;
<br>fvctl -f /dev/null add-flowspace --forced-queue=1 dpid1-port4 1 1 in_port=4 research=7&nbsp;
<br>fvctl -f /dev/null add-flowspace --forced-queue=1 dpid2-port1 2 1 in_port=1 research=7&nbsp;
<br>fvctl -f /dev/null add-flowspace dpid2-port2 2 1 in_port=2 research=7&nbsp;&nbsp; [h3 is connected to this port]<br>fvctl -f /dev/null add-flowspace --forced-queue=1 dpid2-port4 2 1 in_port=4 research=7&nbsp;
<br>fvctl -f /dev/null add-flowspace --forced-queue=1 dpid3-port1 3 1 in_port=1 research=7&nbsp;
<br>fvctl -f /dev/null add-flowspace dpid3-port2 3 1 in_port=2 research=7&nbsp;&nbsp; [h5 is connected to this port]<br>fvctl -f /dev/null add-flowspace --forced-queue=1 dpid3-port4 3 1 in_port=4 research=7
&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;<br>&nbsp;for the production slice<br>fvctl -f /dev/null add-flowspace dpid11-port2 1 1 in_port=2 production=7&nbsp;&nbsp; [h2 is connected to this port]<br>fvctl -f /dev/null add-flowspace --forced-queue=0 dpid11-port3 1 1 in_port=3 production=7&nbsp;
<br>fvctl -f /dev/null add-flowspace --forced-queue=0 dpid11-port4 1 1 in_port=4 production=7&nbsp;
<br>fvctl -f /dev/null add-flowspace --forced-queue=0 dpid22-port1 2 1 in_port=1 production=7
<br>fvctl -f /dev/null add-flowspace dpid22-port3 2 1 in_port=3 production=7&nbsp;&nbsp; [h4 is connected to this port]<br>fvctl -f /dev/null add-flowspace --forced-queue=0 dpid22-port4 2 1 in_port=4 production=7&nbsp;
<br>fvctl -f /dev/null add-flowspace --forced-queue=0 dpid33-port1 3 1 in_port=1 production=7&nbsp;
<br>fvctl -f /dev/null add-flowspace&nbsp;&nbsp; dpid33-port3 3 1 in_port=3 production=7&nbsp;&nbsp; [h6 is connected to this port]<br>fvctl -f /dev/null add-flowspace --forced-queue=0 dpid33-port4 3 1 in_port=4 production=7
<br>&nbsp;&nbsp;&nbsp; &nbsp;<br>4.&nbsp; one of the controllers, flow-visor and mini-net are running<br>then I run the following command on mininet<br><br>&nbsp;sudo mn --custom mininet/custom/Research.py --topo Research --mac --controller=remote,ip=192.168.56.103 --switch ovs,protocols=OpenFlow10 --link tc
<br><br>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.<br><br>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<br><br>However, the flowvisor stops immediately.&nbsp; But I can see the traffic is going thruogh q1 when I am not using the flowvisor meaning when I use this commands<br><br>&nbsp;sudo mn --custom mininet/custom/Research.py --topo Research --mac --controller=remote,ip=192.168.56.101 --switch ovs,protocols=OpenFlow10 --link tc
<br><br><br>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?<br><br>Thank you<br><br><br>Regards,<br>Haftom<br>
</div></div>
Devin Roberson | 10 May 16:31 2016

Translate between IPv4 and IPv6 packets

Hello,

I'm trying to forward packets between an IPv4 and an IPv6 network using 
an
OpenFlow switch. For this, I have to replace the IPv4 header with an 
IPv6 header
(and the other way around). I have tried using Open vSwitch and doing a
set-field action on the dl_type field 
(actions=set_field:0x86dd->dl_type), but I
get an error that the field is read-only. Is this a limitation in Open 
vSwitch
or in the OpenFlow specification? Or is there perhaps another way of
accomplishing this? (without forwarding each packet to a controller and
rewriting them there.)

Thanks in advance.
Slavica Tomovic | 9 May 12:11 2016
Picon

OpenvSwitch

Hello experts!

I want to implement OpenFlow wireless networks by using Raspberry Pi
devices. My idea is to install OVS software on them. Is it possible to
such a thing?

I read that OVS cannot be used for wireless networks, but what if I
add multiple wi-fi interfaces to each RPI and interconnect them
wirelessly?

Also, is it maybe possible to use only one physical wifi NIC and then
configure multiple virtual interfaces on it?

I just need information (ASAP) is it possible (and how) to use OVS in
the data-plane of OpenFlow wireless network.

Thanks in advance,

Slavica
fatt 3issam | 3 May 22:12 2016
Picon

OFPT_QUEUE_GET_CONFIG_REPLY issue

I want to get the properties of a queue set on an OVS port, but all i get via the OFPT_QUEUE_GET_CONFIG_REPLY is: the queue id, the port number, length and pad!!

The queue is correctly set and here is it's config:
# ovs-vsctl set port switch-port qos= <at> newqos -- --id= <at> newqos create qos type=linux-htb other-config:max-rate=20000000 queues:0= <at> newqueue -- --id= <at> newqueue create queue other-config:min-rate=1000000 other-config:max-rate=1000000

So is there anything to do to get those rates?
<div><div dir="ltr">I want to get the properties of a queue set on an OVS port, but all i get via the OFPT_QUEUE_GET_CONFIG_REPLY is: the queue id, the port number, length and pad!!<div><br></div>
<div>The queue is correctly set and here is it's config:</div>
<div><span># ovs-vsctl set port switch-port qos= <at> newqos -- --id= <at> newqos create qos type=linux-htb other-config:max-rate=20000000 queues:0= <at> newqueue -- --id= <at> newqueue create queue other-config:min-rate=1000000 other-config:max-rate=1000000</span></div>
<div><span><br></span></div>
<div>So is there anything to do to get those rates?</div> 		 	   		  </div></div>
Hssan Driss | 28 Apr 17:23 2016
Picon
Gravatar

connecting host to the controller northbound

Hi everyone,

I' m working on an SDN plateform using a controller machine and 3 Switches as below. I'm using floodlight as a switch.

h1   h2   h3
|       |       |
s1---s2---s3
|       |       |
|------c-----|

I need to use a rest client from a host (h1) as an application to communicate with the controller's REST API.

Any suggestions on how to do this ?


Best Regards,
Hssan
<div><div dir="ltr">
<div>
<div>Hi everyone, <br><br>
</div>I' m working on an SDN plateform using a controller machine and 3 Switches as below. I'm using floodlight as a switch. <br><br>
</div>h1 &nbsp; h2 &nbsp; h3<br><div>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; |<br><span class=""><span class="">s1---s2---s3<br></span></span>
</div>
<div><span class=""><span class="">|&nbsp; &nbsp; &nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br></span></span></div>
<div><span class=""><span class="">|------c-----|<br><br></span></span></div>
<div><span class=""><span class="">I need to use a rest client from a host (h1) as an application to communicate with the controller's REST API. <br><br>Any suggestions on how to do this ?<br><br><br></span></span></div>
<div><span class=""><span class="">Best Regards, <br></span></span></div>
<div>
<span class=""><span class="">Hssan</span></span> <br>
</div>
</div></div>
PUZZLE | 25 Apr 15:29 2016
Picon

OF version supported by cbench

Hi,
I was wondering what are the versions of Openflow supported by cbench tool?

Thank you



<div><div dir="ltr">Hi,<div>I was wondering what are the versions of Openflow supported by cbench tool?</div>
<div><br></div>
<div>Thank you<br><br><br><br>
</div>
</div></div>
Dai Le Quang | 25 Apr 13:37 2016

QA - Problem with of_flow_mod packet and flowvisor

- Hello guys,

- I'm trying to add a flow entry to ovs in mininet, by sending a OFFlowMod packet. Unfortunately, it doesn't work correctly.

This is my code:
# org.flowvisor.classifier.FVClassifer
# send of-flowmod packet to switch
# in init() method.
OFMatch mForwardToController = new OFMatch();
String macAdrrController = "aa:aa:aa:aa:aa:aa";
mForwardToController.setDataLayerDestination(macAdrrController); // dl_dst="aa:aa:aa:aa:aa:aa"
byte[] b = { 10, 0, 0, 99 };
mForwardToController.setNetworkDestination(byteArrToInt(b, 0)); // nw_dst="10.0.0.99"
mForwardToController.setWildcards(0x0000000000000000);
OFFlowMod fmForwardToController = new OFFlowMod();
fmForwardToController.setMatch(mForwardToController);
fmForwardToController.setCommand(OFFlowMod.OFPFC_ADD);
fmForwardToController.setActionFactory(factory.getActionFactory());
fmForwardToController.setIdleTimeout((short)1800);
fmForwardToController.setHardTimeout((short)3600);
fmForwardToController.setOutPort(OFPort.OFPP_NONE);
fmForwardToController.setBufferId(0xffffffff);
List<OFAction> actions = new ArrayList<OFAction>();
OFAction acOutPutController = new OFAction();
acOutPutController.setLength((short) 8);
acOutPutController.setType(OFActionType.OPAQUE_ENQUEUE);
actions.add(acOutPutController);
System.out.println("action list size: " + actions.size());
fmForwardToController.setActions(actions);
sendMsg(fmForwardToController, this);

- Please help me!
Thank in advance.
<div><div dir="ltr">- Hello guys,<div><br></div>
<div>- I'm trying to add a flow entry to ovs in mininet, by sending a OFFlowMod packet. Unfortunately, it doesn't work correctly.</div>
<div><br></div>
<div>This is my code:</div>
<div># org.flowvisor.classifier.FVClassifer</div>
<div># send of-flowmod packet to switch</div>
<div># in init() method.</div>
<div>
<div>OFMatch mForwardToController = new OFMatch();</div>
<div>
<span>		</span>String macAdrrController = "aa:aa:aa:aa:aa:aa";</div>
<div>
<span>		</span>mForwardToController.setDataLayerDestination(macAdrrController); // dl_dst="aa:aa:aa:aa:aa:aa"</div>
<div>
<span>		</span>byte[] b = { 10, 0, 0, 99 };</div>
<div>
<span>		</span>mForwardToController.setNetworkDestination(byteArrToInt(b, 0)); // nw_dst="10.0.0.99"</div>
<div>
<span>		</span>mForwardToController.setWildcards(0x0000000000000000);</div>
<div>
<span>		</span>OFFlowMod fmForwardToController = new OFFlowMod();</div>
<div>
<span>		</span>fmForwardToController.setMatch(mForwardToController);</div>
<div>
<span>		</span>fmForwardToController.setCommand(OFFlowMod.OFPFC_ADD);</div>
<div>
<span>		</span>fmForwardToController.setActionFactory(factory.getActionFactory());</div>
<div>
<span>		</span>fmForwardToController.setIdleTimeout((short)1800);</div>
<div>
<span>		</span>fmForwardToController.setHardTimeout((short)3600);</div>
<div>
<span>		</span>fmForwardToController.setOutPort(OFPort.OFPP_NONE);</div>
<div>
<span>		</span>fmForwardToController.setBufferId(0xffffffff);</div>
<div><span>			</span></div>
<div>
<span>		</span>List&lt;OFAction&gt; actions = new ArrayList&lt;OFAction&gt;();</div>
<div>
<span>		</span>OFAction acOutPutController = new OFAction();</div>
<div>
<span>		</span>acOutPutController.setLength((short) 8);</div>
<div>
<span>		</span>acOutPutController.setType(OFActionType.OPAQUE_ENQUEUE);</div>
<div>
<span>		</span>actions.add(acOutPutController);</div>
<div>
<span>		</span>System.out.println("action list size: " + actions.size());</div>
<div>
<span>		</span>fmForwardToController.setActions(actions);</div>
<div><span>	</span></div>
<div>
<span>		</span>sendMsg(fmForwardToController, this);</div>
<div><br></div>
<div>- Please help me!</div>
<div>Thank in advance.</div>
<div class=""></div>
</div>
</div></div>
Oumeddi Abd ennour | 22 Apr 13:37 2016
Picon

Openflow

Hello
- if you have real examples about openflow scenarios , i think that i understund openflow but i can't imagine a scenario for each case like multiple flow tables , group processing, .....
- another question, for the first connexion between switchs and controller, how it's established for in-bound case ( switchs and controller are in the same LAN ) and out-bound case  ( switchs and controller aren't in the same LAN )
Thank you .
<div><div dir="ltr">
<div><span>Hello</span></div>
<span>- if you have real examples about openflow scenarios , i think that i understund openflow but i can't imagine a scenario for each case like multiple flow tables , group processing, .....</span><br><span>- another question, for the first connexion between switchs and controller, how it's established for in-bound case ( switchs and controller are in the same LAN ) and out-bound case&nbsp;&nbsp;( switchs and controller aren't in the same LAN )</span><div><span>Thank you .</span></div> 		 	   		  </div></div>
Oumeddi Abd ennour | 21 Apr 23:27 2016
Picon

Openflow



<!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } -->
Hello , 
I want to know what's the difference between openflow flow-mod and packet-out messages ? 
Thanks
<div><div dir="ltr">
<div>
<br><br>&lt;!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--&gt;<div dir="ltr">
<span>Hello ,&nbsp;</span><br><span>I want to know what's the difference between openflow flow-mod and packet-out messages ?&nbsp;</span><br><span>Thanks</span> 		 	   		  </div>
</div> 		 	   		  </div></div>
sawsen chaabnia | 21 Apr 18:50 2016
Picon

Errors when connecting flowvisor to mininet

Hello,
I'm trying to slice a network with flowvisor. I'm using mininet as my testbed and I installed mininet and flowvisor in different VMs in my VirtualBox. The flowvisor version is 1.4. I also changed the flowvisor port from 6633 to 6666.
So to connect my mininet topology to flowvisor I'm using this command :
sudo mn --controller=remote,ip=192.168.56.101,port=6666  --switch=ovsk,protocols=OpenFlow10
The mininet topology connects successfully to flowvisor but I'm having those errors in flowvisor :

​Help Please.
<div><div dir="ltr">
<span>Hello,</span><br><span>I'm trying to slice a network with flowvisor. I'm using mininet as my testbed and I installed mininet and flowvisor in different VMs in my VirtualBox. The flowvisor version is 1.4. I also changed the flowvisor port from 6633 to 6666.</span><br><span>So to connect my mininet topology to flowvisor I'm using this command :</span><br><span>sudo mn --controller=remote,ip=192.168.56.101,port=6666 &nbsp;--switch=ovsk,protocols=OpenFlow10</span><br><span>The mininet topology connects successfully to flowvisor but I'm having those errors in flowvisor :</span><br><div><span><br>&#8203;Help Please.<br></span></div>
</div></div>

Gmane