Fratshot Admin | 16 Dec 02:10 2014
Picon

of_tutorial POX controller

Hello,

I was wondering if anyone knew where I might be able to find a finished version of the of_tutorial POX controller.

This would be very helpful, thank you!
Fratshot
<div><div dir="ltr">
<span>Hello,</span><div><br></div>
<div>I was wondering if anyone knew where I might be able to find a finished version of the of_tutorial POX controller.</div>
<div><br></div>
<div>This would be very helpful, thank you!</div>
<div>Fratshot</div>
</div></div>
tech_kals Kals | 13 Dec 11:37 2014
Picon

what is use of "poll_fd_wait"?


<div><div dir="ltr"><br></div></div>
tech_kals Kals | 13 Dec 07:30 2014
Picon

can someone explain about "ofproto_run". What this function does exactly ?


<div><div dir="ltr"><br></div></div>
Bob Lantz | 10 Dec 23:44 2014
Picon

Announcing Mininet 2.2.0

Announcing Mininet 2.2.0

We are pleased to announce the availability of Mininet 2.2.0! Mininet makes it
easy (and fun) to emulate OpenFlow (as well as legacy Ethernet/IP) networks on
your laptop or any PC.

Mininet 2.2.0 incorporates numerous bug fixes as well as new features including
improved support for OpenFlow 1.3, more node types, an improved MiniEdit GUI,
and experimental cluster support.

For details (and downloads!) please consult the full release announcement on
http://mininet.org/blog

Thanks to all of the Mininet contributors, and also to the developers of the
many open source components (switches, controllers, utilities, kernel, etc.)
that Mininet uses and is built upon.

Enjoy Mininet - we look forward to your pull requests, bug reports, and
feedback!

Mininet 2.2.0 Core Team
Bob Lantz, Brian O'Connor, Cody Burkard
Open Networking Laboratory

Ali Al-Shabibi | 5 Dec 07:53 2014
Picon

ONOS 1.0.0 has been released!

Hi all,  

We (Open Networking Lab) has released Open Network Operating System (ONOS). You can find all the
documentation at http://www.onosproject.org and get the code at
https://github.com/opennetworkinglab/onos.   

You can also find our tools at the following locations:   

Wiki -> http://wiki.onosproject.org   
Jira -> http://jira.onosproject.org   
Gerrit -> http://gerrit.onosproject.org  

This initial release of ONOS includes the following features:  

* High availability through clustering and distributed state management.  
* Scalability through clustering and sharding of network device control.  
* Performance that is good for a first release, and which has an architecture that will continue to support
improvements.  
* Northbound abstractions for a global network view, network graph, and application intents.  
* Pluggable southbound for support of OpenFlow and new or legacy protocols.  
* Graphical user interface to view multi-layer topologies and inspect elements of the topology.  
* REST API for access to Northbound abstractions as well as CLI commands.  
* CLI for debugging.  
* Support for both proactive and reactive flow setup.  
* SDN-IP application to support interworking with traditional IP networks controlled by distributed
routing protocols like BGP.  

Happy SDN’ing!  

--  
Ali Al-Shabibi (on behalf of the ONOS team at Open Networking Lab)  
http://www.onosproject.org  

_______________________________________________
openflow-discuss mailing list
openflow-discuss <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
Massimo Canonico | 3 Dec 15:06 2014
Picon

Changing link bandwidth on demand











Hi all, I hope this is the right place to post my problem. I've searched on the mailing list archive, with no luck. I would like to change link characteristics on demand. I've create a very simple topology with mininet following the simpletopology.py example found here [1]. For example, suppose to have a link between host_1 and switch_1 created by: self.addLink(host_1, switch_1, bw=10) then, for some reason you need to downgrade the bw of this link. What I need is something like: self.setLink(host_1, switch_1, bw=7) Is that possible? As mentioned before, surfing on mailing list archive and even on internet does not solve much. Thanks, Massimo [1] https://docs.google.com/document/d/1e2gIlwWDhbbkFfuetQ66hhOzGt5pfCpJCbhVnHhGIRY/edit?pli=1
<div>
    <div class="moz-forward-container">
      <table class="moz-email-headers-table" border="0" cellpadding="0" cellspacing="0">
<tr>
<br>
            <td><br></td>
          </tr>
<tr>
<br>
            <td><br></td>
          </tr>
<tr>
<br>
            <td><br></td>
          </tr>
<tr>
<br>
            <td><br></td>
          </tr>
</table>
<br><br>Hi all,
I hope this is the right place to post my problem. I've searched on the mailing list archive, with no luck.

 I would like to change link characteristics on demand.

I've create a very simple topology with mininet following the simpletopology.py example found here [1].

For example, suppose to have a link between host_1 and switch_1 created by:
self.addLink(host_1, switch_1, bw=10)

then, for some reason you need to downgrade the bw of this link.

What I need is something like:
self.setLink(host_1, switch_1, bw=7)

Is that possible?
As mentioned before, surfing on mailing list archive and even on internet does not solve much.

 Thanks,
    Massimo

[1] 
<a class="moz-txt-link-freetext" href="https://docs.google.com/document/d/1e2gIlwWDhbbkFfuetQ66hhOzGt5pfCpJCbhVnHhGIRY/edit?pli=1">https://docs.google.com/document/d/1e2gIlwWDhbbkFfuetQ66hhOzGt5pfCpJCbhVnHhGIRY/edit?pli=1</a>

    </div>
  </div>
王栋耀 | 27 Nov 18:37 2014
Picon

question on logical port

hi all,
   I am studying something about logical port. according to spec, there is a metadata "Tunnel ID" associated logical port to realize certain function related to tunnel. 
I am just wondering what are the motivation of logical port. since actually all the packets are received from physical ports, all the work can be done with configured matching rules. can anyone explain more about the logical port? and how does the logical port work? some examples are really appreciated.

Best Regards
wdy
<div><div dir="ltr">hi all,<div>&nbsp; &nbsp;I am studying something about logical port. according to spec, there is a metadata "Tunnel ID" associated logical port to realize certain function related to tunnel.&nbsp;</div>
<div>I am just wondering what are the motivation of logical port. since actually all the packets are received from physical ports, all the work can be done with configured matching rules. can anyone explain more about the logical port? and how does the logical port work? some examples are really appreciated.</div>
<div><br></div>
<div>Best Regards</div>
<div>wdy</div>
</div></div>
Rahul Arora | 27 Nov 07:35 2014
Picon

OVS bad performance on lower packet size

Hi Team,

We are doing comparison of throughput and CPU consumption between OVS 2.3.0 and kernel bridge with different packet size.

We are observing huge difference in performance. With frame size 64 and 128 bytes unidirectional traffic from port1 to port2 below are the numbers.

OVS 2.3.0
(Dual core with matching flow in kernel space, kernel 3.12)

kernel bridge
(Dual Core System, kernel 3.12)
FRAME SIZE Throughput unidirectional (Mbps) CPU Usage % VS FRAME SIZE Throughput (Mbps) CPU Usage %
64 375 100 64 487 100
128 747 100 128 864 40
256 927 10 256 927 5
320 941 8 320 941 4
384 950 6 384 950 4
448 957 4 448 957 3
512 962 3 512 962 3
1024 980 1 1024 980 1
1500 986 1 1500 986 1

We have matching flow in kernel space with in_port=1 and action=output:2 and flow is matching in kernel space

How we can improve the performance of OVS i.e. increasing the throughput and decrease CPU consumption with lower frame size.
<div><div dir="ltr">
<div>
<div>Hi Team,<br><br>
</div>We are doing comparison of throughput and CPU consumption between OVS 2.3.0 and kernel bridge with different packet size.<br><br>
</div>
<div>We are observing huge difference in performance. With frame size 64 and 128 bytes unidirectional traffic from port1 to port2 below are the numbers.<br><br><table cols="7" border="0" cellspacing="0">
<tr>
<td colspan="3" height="47" align="CENTER" bgcolor="#3399FF" valign="MIDDLE">OVS 2.3.0 <br>(Dual core with matching flow in kernel space, kernel 3.12)</td>
		<td align="CENTER" bgcolor="#FFFFFF"><br></td>
		<td colspan="3" align="CENTER" bgcolor="#3399FF" valign="MIDDLE"> kernel bridge<br>(Dual Core System, kernel 3.12) </td>
		</tr>
<tr>
<td height="47" align="CENTER" bgcolor="#3399FF">FRAME SIZE</td>
		<td align="CENTER" bgcolor="#3399FF">Throughput unidirectional (Mbps)</td>
		<td align="CENTER" bgcolor="#3399FF">CPU Usage %</td>
		<td rowspan="10" align="CENTER" bgcolor="#FFFFFF" valign="MIDDLE">VS</td>
		<td align="CENTER" bgcolor="#3399FF">FRAME SIZE</td>
		<td align="CENTER" bgcolor="#0099FF">Throughput (Mbps)</td>
		<td align="LEFT" bgcolor="#3399FF">CPU Usage %</td>
	</tr>
<tr>
<td height="17" align="CENTER"><span>64</span></td>
		<td align="CENTER"><span>375</span></td>
		<td align="CENTER"><span>100</span></td>
		<td align="CENTER"><span>64</span></td>
		<td align="CENTER" bgcolor="#FFFFFF"><span>487</span></td>
		<td align="CENTER"><span>100</span></td>
	</tr>
<tr>
<td height="17" align="CENTER"><span>128</span></td>
		<td align="CENTER"><span>747</span></td>
		<td align="CENTER"><span>100</span></td>
		<td align="CENTER"><span>128</span></td>
		<td align="CENTER" bgcolor="#FFFFFF"><span>864</span></td>
		<td align="CENTER"><span>40</span></td>
	</tr>
<tr>
<td height="17" align="CENTER">256</td>
		<td align="CENTER">927</td>
		<td align="CENTER">10</td>
		<td align="CENTER">256</td>
		<td align="CENTER" bgcolor="#FFFFFF">927</td>
		<td align="CENTER">5</td>
	</tr>
<tr>
<td height="17" align="CENTER">320</td>
		<td align="CENTER">941</td>
		<td align="CENTER">8</td>
		<td align="CENTER">320</td>
		<td align="CENTER" bgcolor="#FFFFFF">941</td>
		<td align="CENTER">4</td>
	</tr>
<tr>
<td height="17" align="CENTER">384</td>
		<td align="CENTER">950</td>
		<td align="CENTER">6</td>
		<td align="CENTER">384</td>
		<td align="CENTER" bgcolor="#FFFFFF">950</td>
		<td align="CENTER">4</td>
	</tr>
<tr>
<td height="17" align="CENTER">448</td>
		<td align="CENTER">957</td>
		<td align="CENTER">4</td>
		<td align="CENTER">448</td>
		<td align="CENTER" bgcolor="#FFFFFF">957</td>
		<td align="CENTER">3</td>
	</tr>
<tr>
<td height="17" align="CENTER">512</td>
		<td align="CENTER">962</td>
		<td align="CENTER">3</td>
		<td align="CENTER">512</td>
		<td align="CENTER" bgcolor="#FFFFFF">962</td>
		<td align="CENTER">3</td>
	</tr>
<tr>
<td height="17" align="CENTER">1024</td>
		<td align="CENTER">980</td>
		<td align="CENTER">1</td>
		<td align="CENTER">1024</td>
		<td align="CENTER" bgcolor="#FFFFFF">980</td>
		<td align="CENTER">1</td>
	</tr>
<tr>
<td height="17" align="CENTER">1500</td>
		<td align="CENTER">986</td>
		<td align="CENTER">1</td>
		<td align="CENTER">1500</td>
		<td align="CENTER" bgcolor="#FFFFFF">986</td>
		<td align="CENTER">1</td>
	</tr>
</table>
<br>
</div>
<div>We have matching flow in kernel space with in_port=1 and action=output:2 and flow is matching in kernel space<br><br>
</div>
<div>How we can improve the performance of OVS i.e. increasing the throughput and decrease CPU consumption with lower frame size.<br>
</div>
</div></div>
Uzzam Javed | 25 Nov 08:35 2014
Picon

How to isolate OpenFlow traffic from normal traffic

Dear all,


I and my colleague are working on analysis of OpenFlow protocol. We have installed ‘Chaos Calmer’ version of OpenWRT on MikroTik RouterBoard 750GL. To convert our router into an OpenFlow enabled switch, we installed Pantou over it which has OpenFlow v1.0. After some additional setting to the router, OpenFlow started working. We made a report of the work done till here, which is available on http://andash.seecs.nust.edu.pk/andash_publications/SDN.pdf.


The network configuration in our OpenFlow network was made through making 3 VLANs through the web interface of OpenWRT, ‘LuCI’. Port 1 was connected to the controller, Port 2 was on a different VLAN, and Port 3 and 4 were on a separate VLAN.  The controller was connected on ‘192.168.1.145’, and two hosts were connected on ‘192.168.2.142’ and ‘192.168.3.248’ respectively. The IP of the switch was ‘192.168.1.1’.


The network configuration settings of the router are as follows:


config interface'loopback'                                                                              

        option ifname'lo'                                                                               

        option proto'static'                                                                             

        option ipaddr'127.0.0.1'                                                                        

        option netmask '255.0.0.0' 

 

config globals'globals'                                                                                  

        option ula_prefix'fde8:ce5b:64fb::/48'                                                          

                                                                                                          

config interface'lan'                                                                                   

        option ifname'eth0.1'                                                                           

        option force_link'1'                                                                            

        option type'bridge'                                                                             

        option proto'static'                                                                             

        option ipaddr'192.168.1.1'                                                                      

        option netmask'255.255.255.0'                                                                    

        option ip6assign'60'                                                                            

                                                                                                          

config switch                                                                                            

        option name'switch0'                                                                             

        option reset'1'                                                                                 

        option enable_vlan'1'                                                                           

        option mirror_source_port'0'                                                                    

        option enable_mirror_rx'1'                                                                      

        option enable_mirror_tx'1'                                                                       

        option mirror_monitor_port'1'                                                                   

                                                                                                          

config switch_vlan                                                                                       

        option device'switch0'                                                                          

        option vlan'1'                                                                                  

        option vid'1'                                                                                   

        option ports '0t 1'   

    

config switch_vlan                                                                                       

        option device'switch0'                                                                          

        option vlan'2'                                                                                   

        option vid'2'                                                                                   

        option ports '0t2'                                                                               

                                                                                                         

config switch_vlan                                                                                       

        option device'switch0'                                                                           

        option vlan'3'                                                                                  

        option vid'3'                                                                                    

        option ports '0t 34'                                                                            

                                                                                                          

config interface'LAN2'                                                                                   

        option proto'static'                                                                            

        option ifname'eth0.2'                                                                            

        option ipaddr'192.168.2.13'                                                                     

        option netmask'255.255.255.0'                                                                   

        option gateway'192.168.2.1'                                                                      

                                                                                                         

config interface'LAN3'                                                                                   

        option proto'static'                                                                            

        option ifname'eth0.3'                                                                           

        option ipaddr'192.168.3.12'                                                                     

        option netmask'255.255.255.0'                                                                   

        option gateway'192.168.3.1'  


The OpenFlow configuration settings of the router are as follows:

config 'ofswitch'
        option 'dp' 'dp0'
        option 'ofports' 'eth0.1 eth0.2 eth0.3'
        option 'ofctl' 'tcp:192.168.1.145:6633'
        option 'mode'  'outofband'

 

After making all the settings, we enabled the OpenFlow package on the router with a controller. We have tried this with POX and Floodlight controller. The problem is that when initially connected to OpenFlow network, as there should be no flow table entries the ping should not work, but when we ping from host 1 to host 2 the ping is working. To ensure that there is no flow table entry, we checked the switch’s flow table entry through the ‘dpctl’ command. The ping could be from traditional network traffic, but this should not be the case once OpenFlow has started.  


How can the normal traffic be isolated from OpenFlow traffic? Please guide us if we have done something wrong.


 

Regards, 

Uzzam


      

<div><div dir="ltr">
<p class="MsoNormal">Dear all,</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal">I and my colleague are working on analysis of OpenFlow protocol. We have installed &lsquo;Chaos Calmer&rsquo; version of OpenWRT on MikroTik RouterBoard 750GL. To convert our router into an OpenFlow enabled switch, we installed Pantou over it which has OpenFlow v1.0. After some additional setting to the router, OpenFlow started working. We made a report of the work done till here, which is available on&nbsp;<a href="http://andash.seecs.nust.edu.pk/andash_publications/SDN.pdf" target="_blank">http://andash.seecs.nust.edu.pk/andash_publications/SDN.pdf</a>.</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal"></p>
<p class="MsoNormal">The network configuration in our OpenFlow network was made through making 3 VLANs through the web interface of OpenWRT, &lsquo;LuCI&rsquo;. Port 1 was connected to the controller, Port 2 was on a different VLAN, and Port 3 and 4 were on a separate VLAN.&nbsp; The controller was connected on &lsquo;192.168.1.145&rsquo;, and two hosts were connected on &lsquo;192.168.2.142&rsquo; and &lsquo;192.168.3.248&rsquo; respectively. The IP of the switch was &lsquo;192.168.1.1&rsquo;.</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal">The network configuration settings of the router are as follows:<br></p>
<p class="MsoNormal"><br></p>
<p class=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
<p class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option netmask '255.0.0.0'&nbsp; </span></p>
<p class=""><span>&nbsp;</span></p>
<p class=""><span>config
globals'globals'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
<p class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option
ula_prefix'fde8:ce5b:64fb::/48'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></p>
<p class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option netmask'255.255.255.0'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></p>
<p class="MsoNormal">

















































































































<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option gateway'192.168.3.1'&nbsp;&nbsp;</span></p>
<p class="MsoNormal"><span><br></span></p>
<p>The OpenFlow configuration settings of the router are as follows:</p>
<p class="MsoNormal"></p>
<p><span>config 'ofswitch'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'dp' 'dp0'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'ofports' 'eth0.1 eth0.2 eth0.3'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'ofctl' 'tcp:<a href="http://192.168.1.145:6633/" target="_blank">192.168.1.145:6633</a>'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'mode'&nbsp; 'outofband'<br><br></span><span>&nbsp;</span></p>
<p class="MsoNormal">After making all the settings, we enabled the OpenFlow package on the router with a controller. We have tried this with POX and Floodlight controller. The problem is that when initially connected to OpenFlow network, as there should be no flow table entries the ping should not work, but when we ping from host 1 to host 2 the ping is working. To ensure that there is no flow table entry, we checked the switch&rsquo;s flow table entry through the &lsquo;dpctl&rsquo; command. The ping could be from traditional network traffic, but this should not be the case once OpenFlow has started. &nbsp;</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal">How can the normal traffic be isolated from OpenFlow traffic? Please guide us if we have done something wrong.</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Regards,&nbsp;</p>
<p class="MsoNormal">Uzzam</p>
<p class="MsoNormal"><span><br></span></p>
<p class="MsoNormal"><span>&nbsp; &nbsp; &nbsp;&nbsp;</span><br></p>
</div></div>
Uzzam Javed | 25 Nov 08:29 2014
Picon

How to isolate OpenFlow traffic from normal traffic

Dear all,


I and my colleague are working on analysis of OpenFlow protocol. We have installed ‘Chaos Calmer’ version of OpenWRT on MikroTik RouterBoard 750GL. To convert our router into an OpenFlow enabled switch, we installed Pantou over it which has OpenFlow v1.0. After some additional setting to the router, OpenFlow started working. We made a report of the work done till here, and is available on http://andash.seecs.nust.edu.pk/andash_publications/SDN.pdf.


The network configuration in our OpenFlow network was made through making 3 VLANs through the web interface of OpenWRT, ‘LuCI’. Port 1 was connected to the controller, Port 2 was on a different VLAN, and Port 3 and 4 were on a separate VLAN.  The controller was connected on ‘192.168.1.145’, and two hosts were connected on ‘192.168.2.142’ and ‘192.168.3.248’ respectively. The IP of the switch was ‘192.168.1.1’.


The network configuration settings of the router are as follows:

config interface'loopback'                                        optionifname'lo'                                            option proto'static'                                        option ipaddr'127.0.0.1'                                    option netmask '255.0.0.0' 

config globals'globals'                                            option ula_prefix'fde8:ce5b:64fb::/48'                                                          

config interface'lan'                                            option ifname'eth0.1'                                      option force_link'1'                                        option type'bridge'                                        option proto'static'                                        option ipaddr'192.168.1.1'                                  option netmask '255.255.255.0'                              option ip6assign'60'                                                                            

config switch                                                     option name'switch0'                                       option reset'1'                                             option enable_vlan'1'                                       option mirror_source_port'0'                               option enable_mirror_rx'1'                                 option enable_mirror_tx'1'                                 option mirror_monitor_port'1'                                                                   

config switch_vlan                                               option device'switch0'                                     option vlan'1'                                             option vid'1'                                               option ports '0t 1'   

config switch_vlan                                               option device'switch0'                                     option vlan'2'                                             option vid'2'                                               option ports '0t2'                                                                               

config switch_vlan                                               option device'switch0'                                     option vlan'3'                                             option vid'3'                                               option ports '0t 34'                                                                           

config interface'LAN2'                                           option proto'static'                                       option ifname'eth0.2'                                       option ipaddr'192.168.2.13'                                 option netmask'255.255.255.0'                               option gateway'192.168.2.1'                                                                    

config interface'LAN3'                                           option proto'static'                                       option ifname'eth0.3'                                       option ipaddr'192.168.3.12'                                 option netmask'255.255.255.0'                               option gateway'192.168.3.1'       

The OpenFlow configuration settings of the router are as follows:

config 'ofswitch'
        option 'dp' 'dp0'
        option 'ofports' 'eth0.1 eth0.2 eth0.3'
        option 'ofctl' 'tcp:192.168.1.145:6633'
        option 'mode'  'outofband'

 

After making all the settings, we enabled the OpenFlow package on the router with a controller. We have tried this with POX and Floodlight controller. The problem is that when initially connected to OpenFlow network, as there should be no flow table entries the ping should not work, but when we ping from host 1 to host 2 the ping is working. To ensure that there is no flow table entry, we checked the switch’s flow table entry through the ‘dpctl’ command. The ping could be from traditional network traffic, but this should not be the case once OpenFlow has started.  


How can the normal traffic be isolated from OpenFlow traffic? Please guide us if we have done something wrong.


 

Regards, 

Uzzam                                                          

                           

 

 

 

<div><div dir="ltr">
<p class="MsoNormal">Dear all,</p>
<p class="MsoNormal"><br></p>

<p class="MsoNormal">I and my colleague are working on analysis of OpenFlow
protocol. We have installed &lsquo;Chaos Calmer&rsquo; version of OpenWRT on MikroTik RouterBoard
750GL. To convert our router into an OpenFlow enabled switch, we installed
Pantou over it which has OpenFlow v1.0. After some additional setting to the router, OpenFlow started
working. We made a report of the work done till here, and is available on <a href="http://andash.seecs.nust.edu.pk/andash_publications/SDN.pdf">http://andash.seecs.nust.edu.pk/andash_publications/SDN.pdf</a>.</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal">

</p>
<p class="MsoNormal">The network configuration in our OpenFlow network was made
through making 3 VLANs through the web interface of OpenWRT, &lsquo;LuCI&rsquo;. Port 1 was
connected to the controller, Port 2 was on a different VLAN, and Port 3 and 4
were on a separate VLAN.&nbsp; The controller
was connected on &lsquo;192.168.1.145&rsquo;, and two hosts were connected on
&lsquo;192.168.2.142&rsquo; and &lsquo;192.168.3.248&rsquo; respectively. The IP of the switch was
&lsquo;192.168.1.1&rsquo;.</p>
<p class="MsoNormal"><br></p>

<p class="MsoNormal">The network configuration settings of the router are as
follows:</p>

<p><span>config interface'loopback'&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>optionifname'lo'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option proto'static'</span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ipaddr'127.0.0.1'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option netmask '255.0.0.0'</span><span>&nbsp;</span></p>

<p><span>config
globals'globals'</span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span>option
ula_prefix'fde8:ce5b:64fb::/48'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></p>

<p><span>config
interface'lan'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ifname'eth0.1'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option force_link'1'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option type'bridge'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option proto'static'</span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span>&nbsp; &nbsp; &nbsp; </span><span>option ipaddr'192.168.1.1'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span>option netmask '255.255.255.0'</span><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ip6assign'60' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></p>

<p><span>config
switch &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option name'switch0' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option reset'1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option enable_vlan'1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span>option mirror_source_port'0' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span>option enable_mirror_rx'1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option enable_mirror_tx'1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option mirror_monitor_port'1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></p>

<p><span>config
switch_vlan &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option device'switch0' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option vlan'1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option vid'1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ports '0t 1' &nbsp;&nbsp;</span></p>

<p><span>config switch_vlan &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option device'switch0' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option vlan'2' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option vid'2' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ports '0t2' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></p>
<p><span>config
switch_vlan &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option device'switch0' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option vlan'3' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option vid'3' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ports '0t 34' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></p>
<p><span>config
interface'LAN2' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option proto'static' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span>option ifname'eth0.2' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ipaddr'192.168.2.13' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option netmask'255.255.255.0' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option gateway'192.168.2.1' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></p>
<p><span>config
interface'LAN3' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option proto'static' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ifname'eth0.3' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option ipaddr'192.168.3.12' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option netmask'255.255.255.0' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span>option gateway'192.168.3.1' &nbsp; &nbsp; &nbsp;&nbsp;</span></p>

<p>The OpenFlow configuration settings of the router are as
follows:</p>
<p class="MsoNormal"></p>

<p><span>config 'ofswitch'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'dp' 'dp0'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'ofports' 'eth0.1 eth0.2
eth0.3'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'ofctl'
'tcp:<a href="http://192.168.1.145:6633" target="_blank">192.168.1.145:6633</a>'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option 'mode'&nbsp; 'outofband'<br><br></span><span>&nbsp;</span></p>

<p class="MsoNormal">After making all the settings, we enabled the OpenFlow
package on the router with a controller. We have tried this with POX and
Floodlight controller. The problem is that when initially connected to OpenFlow
network, as there should be no flow table entries the ping should not work, but
when we ping from host 1 to host 2 the ping is working. To ensure that there is
no flow table entry, we checked the switch&rsquo;s flow table entry through the
&lsquo;dpctl&rsquo; command. The ping could be from traditional network traffic, but this
should not be the case once OpenFlow has started. &nbsp;</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal">How can the normal traffic be isolated from OpenFlow traffic? Please guide us if we have done something wrong.</p>
<p class="MsoNormal"><br></p>

<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Regards,&nbsp;</p>
<p class="MsoNormal">Uzzam<span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></p>

<p><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>

<p class="MsoNormal">&nbsp;</p>

<p class="MsoNormal">&nbsp;</p>

<p class="MsoNormal">&nbsp;</p>
</div></div>
tech_kals Kals | 24 Nov 11:07 2014
Picon

Controller to Switch - Openflow add message

Hi Experts,

1) will controller instructs the switch on which flow table the flow entry need to be added ? If so, how the controller knows about how many flow tables are maintained by the switch ? Assume, if switch has not shared it's flow table information to Switch as part of the feature capability reply message.

   Can someone clarify ?


Thanks,
Kaliyaperumal K
<div><div dir="ltr">Hi Experts,<div><br></div>
<div>1) will controller instructs the switch on which flow table the flow entry need to be added ? If so, how the controller knows about how many flow tables are maintained by the switch ? Assume, if switch has not shared it's flow table information to Switch as part of the feature capability reply message.<br>
</div>
<div><br></div>
<div>&nbsp; &nbsp;Can someone clarify ?</div>
<div><br></div>
<div><br></div>
<div>Thanks,</div>
<div>Kaliyaperumal K</div>
</div></div>

Gmane