Hi,
  Thanks for the information. After setting the group action, it is working
fine.

Thanks and Regards,
Padma v

On Fri, Jan 23, 2015 at 7:38 AM, Minoru TAKAHASHI <
[email protected]> wrote:

> Hi,
>
> > sudo ovs-ofctl -O OpenFlow13 dump-flows s12
> > OFPST_FLOW reply (OF1.3) (xid=0x2):
> >  cookie=0x0, duration=16.213s, table=0, n_packets=3856, n_bytes=161952,
> priority=65535,in_port=3,dl_dst=12:70:1d:ab:fe:4c actions=goto_table:1
>
> I think that action is to be specify "GROUP" (Process the packet through
> the specified group) rather than "GOTO_TABLE".
>
> actions=goto_table:1 -> actions=group:4
>
> > sudo ovs-ofctl -O OpenFlow13 dump-groups s12
> > OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
> >
> group_id=4,type=ff,bucket=weight:0,watch_port:1,watch_group:1,actions=output:1,bucket=weight:0,watch_port:2,watch_group:2,actions=output:2
>
> Please set the "OFPG_ANY" If you do not want to use the functionality of
> the watch_group.
>
> watch_group:1 -> watch_group:OFPG_ANY(0xffffffff)
> watch_group:2 -> watch_group:OFPG_ANY(0xffffffff)
>
> On 2015年01月22日 22:57, Padma Jayasankar wrote:
> > Hi,
> >  I tried to install Fast fail over group entry from the controller. I am
> able to see the following entry in the switch
> >
> > sudo ovs-ofctl -O OpenFlow13 dump-flows s12
> > OFPST_FLOW reply (OF1.3) (xid=0x2):
> >  cookie=0x0, duration=16.213s, table=0, n_packets=3856, n_bytes=161952,
> priority=65535,in_port=3,dl_dst=12:70:1d:ab:fe:4c actions=goto_table:1
> >
> > sudo ovs-ofctl -O OpenFlow13 dump-groups s12
> > OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
> >
> group_id=4,type=ff,bucket=weight:0,watch_port:1,watch_group:1,actions=output:1,bucket=weight:0,watch_port:2,watch_group:2,actions=output:2
> >
> > But the packets are not flowing. Is there anything wrong in this. Do we
> have to set anything else in openvswitch to enable liveness check. Please
> clarify.
> >
> > Thanks and Regards,
> > Padma V
> >
> > cookie=0x0, duration=16.213s, table=0, n_packets=3856, n_bytes=161952,
> priority=65535,in_port=3,dl_dst=12:70:1d:ab:fe:4c actions=goto_table:1
> >
> >
> > On Tue, Jan 20, 2015 at 7:29 AM, Minoru TAKAHASHI <
> [email protected] <mailto:[email protected]>> wrote:
> >
> >     Hi,
> >
> >     >Do we have to assign the weights for these two buckets as zero.
> >
> >     Yes.
> >
> >     "7.3.4.2 Modify Group Entry Message" in OFspec1.3.4 says:
> >       The weight field is only defined for select groups,
> >       and its support is optional. For other group types,
> >       this fields must be set to 0.
> >
> >     >In case of fast fail over group type what should be the value for
> these two fields.
> >
> >     These fields indicate the port and/or group whose liveness controls
> whether this bucket is a candidate for forwarding. More details are
> described in "6.5 Group Table Modification Messages" of OFspec1.3.4.
> >
> >     On 2015年01月18日 10:52, Padma Jayasankar wrote:
> >     > Hi,
> >     >   To use fast fail over feature, we have to add more than one
> buckets. Do we have to assign the weights for these two buckets as zero. If
> not what should be the value. Further what does watch_port and watch_group
> represent. In case of fast fail over group type what should be the value
> for these two fields. Please clarify
> >     >
> >     > Thanks and Regards,
> >     > Padma V
> >     >
> >     > On Tue, Jan 13, 2015 at 7:52 AM, Yusuke Iwase <
> [email protected] <mailto:[email protected]> <mailto:
> [email protected] <mailto:[email protected]>>> wrote:
> >     >
> >     >     Hi Padma,
> >     >
> >     >     On 2015年01月12日 09:08, Padma Jayasankar wrote:
> >     >     > Hi,
> >     >     >   I want to use fast fail over group type of OpenFlow 1.3. I
> need sample flow entries for doing this. According to my knowledge, we have
> to change the action as group table and then add an entry in the group
> table. but how to specify in the flow table entry.Please clarify.
> >     >
> >     >     Please refer to "OpenFlow protocol API Reference" in the Ryu
> documentation.
> >     >
> http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#modify-state-messages
> >     >
> >     >     To add an group entry, you can use OFPGroupMod() class.
> >     >     e.g.) Add fast fail over group type entry.
> >     >           ---------
> >     >             def send_group_mod(self, datapath):
> >     >                 ofp = datapath.ofproto
> >     >                 ofp_parser = datapath.ofproto_parser
> >     >
> >     >                 port = 1
> >     >                 actions = [ofp_parser.OFPActionOutput(port)]
> >     >
> >     >                 weight = 0
> >     >                 watch_port = 1
> >     >                 watch_group = ofp.OFPG_ANY
> >     >                 buckets = [ofp_parser.OFPBucket(weight,
> watch_port, watch_group,
> >     >                                                 actions)]
> >     >
> >     >                 group_id = 1
> >     >                 req = ofp_parser.OFPGroupMod(datapath,
> ofp.OFPGC_ADD,
> >     >                                              ofp.OFPGT_FF,
> group_id, buckets)
> >     >                 datapath.send_msg(req)
> >     >           ---------
> >     >
> >     >
> >     >     To group action to flow entry, you can use OFPFlowMod() class.
> >     >     e.g.) Add group action to flow entry.
> >     >           ---------
> >     >             def send_flow_mod(self, datapath):
> >     >                 ofp = datapath.ofproto
> >     >                 ofp_parser = datapath.ofproto_parser
> >     >
> >     >                 cookie = cookie_mask = 0
> >     >                 table_id = 0
> >     >                 idle_timeout = hard_timeout = 0
> >     >                 priority = 32768
> >     >                 buffer_id = ofp.OFP_NO_BUFFER
> >     >
> >     >                 match = ofp_parser.OFPMatch(in_port=1,
> eth_dst='ff:ff:ff:ff:ff:ff')
> >     >
> >     >                 group_id = 1
> >     >                 actions = [ofp_parser.OFPActionGroup(group_id)]
> >     >                 inst =
> [ofp_parser.OFPInstructionActions(ofp.OFPIT_APPLY_ACTIONS,
> >     >                                                          actions)]
> >     >
> >     >                 req = ofp_parser.OFPFlowMod(datapath, cookie,
> cookie_mask,
> >     >                                             table_id,
> ofp.OFPFC_ADD,
> >     >                                             idle_timeout,
> hard_timeout,
> >     >                                             priority, buffer_id,
> >     >                                             ofp.OFPP_ANY,
> ofp.OFPG_ANY,
> >     >
>  ofp.OFPFF_SEND_FLOW_REM,
> >     >                                             match, inst)
> >     >                 datapath.send_msg(req)
> >     >           ---------
> >     >
> >     >     Thanks
> >     >
> >     >     >
> >     >     > Thanks and Regards,
> >     >     > Padma V
> >     >     >
> >     >     >
> >     >     >
> >     >     >
> >     >     >
> ------------------------------------------------------------------------------
> >     >     > New Year. New Location. New Benefits. New Data Center in
> Ashburn, VA.
> >     >     > GigeNET is offering a free month of service with a new
> server in Ashburn.
> >     >     > Choose from 2 high performing configs, both with 100TB of
> bandwidth.
> >     >     > Higher redundancy.Lower latency.Increased
> capacity.Completely compliant.
> >     >     > vanity: www.gigenet.com <http://www.gigenet.com> <
> http://www.gigenet.com>
> >     >     >
> >     >     >
> >     >     >
> >     >     > _______________________________________________
> >     >     > Ryu-devel mailing list
> >     >     > [email protected] <mailto:
> [email protected]> <mailto:[email protected]
> <mailto:[email protected]>>
> >     >     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
> >     >     >
> >     >
> >     >
> >     >
> >     >
> >     >
> ------------------------------------------------------------------------------
> >     > New Year. New Location. New Benefits. New Data Center in Ashburn,
> VA.
> >     > GigeNET is offering a free month of service with a new server in
> Ashburn.
> >     > Choose from 2 high performing configs, both with 100TB of
> bandwidth.
> >     > Higher redundancy.Lower latency.Increased capacity.Completely
> compliant.
> >     > http://p.sf.net/sfu/gigenet
> >     >
> >     >
> >     >
> >     > _______________________________________________
> >     > Ryu-devel mailing list
> >     > [email protected] <mailto:
> [email protected]>
> >     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
> >     >
> >
> >
>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to