Hi,

According to OpenFlow Spec 1.5, you need to know which table is the first 
egress table, first.
If your switch supports egress table, you can check the capabilities for the 
egress table
by OFPTableFeaturesStatsReply messages.
OFPTFF_FIRST_EGRESS capability flag indicates the first egress table.
   
http://ryu.readthedocs.io/en/latest/ofproto_v1_5_ref.html#ryu.ofproto.ofproto_v1_5_parser.OFPTableFeaturesStatsReply

Then, you can add a flow entry with the table_id which you could get from the 
above.

BTW, According to the GitHub page of OVS, to support Egress Tables [EXT-306] is 
remaining on TODOs.
Does OVS support Egress Tables now?
   
https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.md#openflow-15-only

Thanks,
Iwase

On 2016年06月27日 12:37, 邱彥鈞 wrote:
> Hi,
>
> As the title says,
> I tried to add a flow entry to an egress table with ryu controller,
> but I can't find how to do it in ryu documentation.
>
> I found that only openflow 1.5 support egress table.
> I am using mininet 2.2.1 with openvswitch 2.5,
> which should support openflow 1.5.
> Should I config anything to use egress table?
> Or any help please?
>
> thx
>
>
>
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to