[Ryu-devel] Value of Rule/Flow of REST_FIREWALL

2017-02-28 Thread Juan Francisco Guano
Hi everybody I know, if this value is correct when I set a rule in a REST FIREWALL, this directly linked with the netmask, if I set a rule for the IP Address and your netmask ;10.0.0.2/8, when I get the rules the IP address is the below; "nw_dst": "10.0.0.0/255.0.0.0" what is the meaning

[Ryu-devel] Packet-in Handler

2017-02-28 Thread Alan Helal
Hello guys. Im trying to drop all the packets except the ones from a whitelist. Here is the code that Im using: @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER) def _packet_in_handler(self, ev): global flag1 msg = ev.msg datapath = msg.datapath ofproto