hello,
I have a question about group tables. I am trying to add a group table
using the following method:
def send_group_mod(self, datapath,):
ofproto = datapath.ofproto
ofp_parser = datapath.ofproto_parser
port_1 = 3
queue_1 = ofp_parser.OFPActionSetQueue(0)
actions_1 = [queue_1, ofp_parser.OFPActionOutput(port_1)]
port_2 = 2
queue_2 = ofp_parser.OFPActionSetQueue(0)
actions_2 = [queue_2, ofp_parser.OFPActionOutput(port_2)]
weight_1 = 50
weight_2 = 50
watch_port = ofproto_v1_3.OFPP_ANY
watch_group = ofproto_v1_3.OFPQ_ALL
buckets = [
ofp_parser.OFPBucket(weight_1, watch_port, watch_group, actions_1),
ofp_parser.OFPBucket(weight_2, watch_port, watch_group, actions_2)]
group_id = 50
req = ofp_parser.OFPGroupMod(datapath, ofproto.OFPFC_ADD,
ofproto.OFPGT_SELECT, group_id, buckets)
datapath.send_msg(req)
However, when the method is called , the ping stops and no flow rules are
added to the switch with actions: group:50
Can you help me to figure out where is the problem?
Thanks in advance,
Nadia
On Wed, Apr 18, 2018 at 7:35 AM, IWAMOTO Toshihiro <iwam...@valinux.co.jp>
wrote:
> On Sun, 15 Apr 2018 15:30:24 +0900,
> nadia mouawad wrote:
> >
> > [1 <multipart/alternative (7bit)>]
> > [1.1 <text/plain; UTF-8 (7bit)>]
> > Hello,
> > I have another question about making the Ryu controller know about the
> RSSI
> > of the AP ( in mininet-wifi) and take handover decisions. I searched
> about
> > this topic in the mailing list, but didn't get any clear answer. I want
> to
> > start from a point where the Ryu controller can receive beacons if the
> > signal is going under a certain threshold.
> > Do you have an idea how to do this?
> >
>
> Ryu is about OpenFlow and nothing to do with WiFi signals.
>
> --
> IWAMOTO Toshihiro
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel