Hi,

On 2015年05月14日 01:44, Liu, Weijie wrote:
> Hi,
> 
> I have a question when I read the output of 'GET /stats/flow/1' of 
> ryu.app.ofctl_rest. You know, I want to use this command to see the flow 
> rules in a switch's flow table.
> 
> My question: In "match", there is a field like "dl_vlan: 0". It can be 
> considered as a wildcard matching; but it can also be considered as exactly 
> matching dl_vlan as value zero.
> 
> How can I tell which of the two is correct? 

"exactly matching dl_vlan as value zero" is correct.

Just for your infomation, how to read of "dl_vlan" field is as follows.

"match": {"dl_vlan": "0-4095"}
 -> Only packets with VLAN tag and VID equal

"match": {"dl_vlan": "0x0000"}
 -> Only packets without a VLAN tag

"match": {"dl_vlan": "0x1000/0x1000"}
 -> Only packets with a VLAN tag regardless of its value

thanks,

> 
> Thanks.
> --
> Weijie Liu
> Department of Computer Science
> University of Illinois at Urbana-Champaign
> (217)819-6113 
> 
> 
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to