This hack allows CIDR notations for OFPMatch. For example:
ofpp.OFPMatch(ipv4_src="198.51.100.0/24")
I'm not 100% sure if this patch should be included.
This change at least makes OpenStack Neutron's ovs firewall code happy
and I believe it is useful in general. OTOH, I admit this code is a
gross hack. :(
IWAMOTO Toshihiro (1):
ofproto: Allow CIDR notation for ipv[46]_{src,dst}
ryu/lib/addrconv.py | 20 ++++++++++++++++----
ryu/ofproto/oxx_fields.py | 3 +++
2 files changed, 19 insertions(+), 4 deletions(-)
--
2.1.4
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel