Re: [Ryu-devel] How to include Netmask in Flow table

2018-02-01 Thread knet solutions
Hi Iwase, > For example, to match the destination IPv4 network "192.168.122.0/24": > match = parser.OFPMatch( > eth_type=0x0800, > ipv4_dst=("192.168.122.0", "255.255.255.0")) > > Thanks. This should solve my problem. -- *Regards, * *Suresh Kumar* *Knet solutions.* http

Re: [Ryu-devel] How to include Netmask in Flow table

2018-02-01 Thread Iwase Yusuke
Hi, The following document is helpful for you? http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPMatch For example, to match the destination IPv4 network "192.168.122.0/24": match = parser.OFPMatch( eth_type=0x0800, ipv4_dst=("192.168

[Ryu-devel] How to include Netmask in Flow table

2018-02-01 Thread knet solutions
Hi I require support for adding the network(with subnetmask) in the flow table. I find the example of specific destination_ip match only. My requirement is something like, match: destination,network 192.168.122.0/24 --- outport:2 openflow1.3 specification says, this can be achieved via wildcard