Send a canonical IPv4 prefix in table 60 routing rules
authorEric Multanen <eric.w.multanen@intel.com>
Fri, 2 Oct 2015 13:43:04 +0000 (06:43 -0700)
committerSam Hague <shague@redhat.com>
Tue, 6 Oct 2015 18:45:44 +0000 (18:45 +0000)
commit3b3f1486280d9f403a6ed4212f13168726d454ef
tree4319aaf30485b11e0d606183842d5eab8b4df00f
parenta2620e00b98a283b9e82ea3c8492588a01496677
Send a canonical IPv4 prefix in table 60 routing rules

Testing with userspace OVS with DPDK uncovered that the routing
rules that go into table 60 were getting rejected.

Messages from ovs-vswitchd.log:

... |nx_match|WARN|Rejecting NXM/OXM entry
    0:32768:12:1:8 with 1-bits in value for bits wildcarded by the mask.

... |connmgr|INFO|br-int<->tcp:10.11.21.7:6653:
    sending OFPBMC_BAD_WILDCARDS error reply to OFPT_FLOW_MOD message

Clearing the non-prefix bits resolved the problem and the flows were
successfully added.

v2 - split up long line into two more readable lines

Change-Id: I42a0c63e6e837197d29bb8333f12e822a5f15d91
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/services/RoutingService.java