Re: [Ryu-devel] Openflow match on a subnet

2014-05-20 Thread Jean Guegant
Oh sorry for this cumbersome failure. Thank you sir anyway! On 05/20/2014 01:26 PM, FUJITA Tomonori wrote: > On Tue, 20 May 2014 11:46:02 +0200 > Jean Guegant wrote: > >> Dear ryu's community, >> >> I want to create a ryu application which contains an OpenFlow match on >> a subnet: >> >> OFPMat

Re: [Ryu-devel] Openflow match on a subnet

2014-05-20 Thread FUJITA Tomonori
On Tue, 20 May 2014 11:46:02 +0200 Jean Guegant wrote: > Dear ryu's community, > > I want to create a ryu application which contains an OpenFlow match on > a subnet: > > OFPMatch(eth_type=ether.ETH_TYPE_IP, ipv4_dst='192.168.0.0/24', > ipv4_src='192.168.0.0/24') You can specify the mask in the

[Ryu-devel] Openflow match on a subnet

2014-05-20 Thread Jean Guegant
Dear ryu's community, I want to create a ryu application which contains an OpenFlow match on a subnet: OFPMatch(eth_type=ether.ETH_TYPE_IP, ipv4_dst='192.168.0.0/24', ipv4_src='192.168.0.0/24') Apparently the internal representation of these match fields (ipv4_dst, ipv4_src) uses the IPAdd