[ovs-discuss] [OVN] OVN NB "NAT" to accept CIDRs in logical_ip

Rodolfo Alonso Hernandez ralonsoh at redhat.com
Wed Jul 14 14:38:28 UTC 2021

Hello all:

First of all, a bit of context. This question/request is related to [1].
The problem we have in OpenStack is that we are trying to create a VIP but
not with a /32 IP address but with a CIDR.

Since [2][3], is it possible to define VIPs in Neutron using OVN by
creating an unassigned port. This port will provide the VIP. When this VIP
is set to a bound port as "allowed_address_pairs", we set the LSP port type
to "virtual".

In Neutron we can assign a CIDR to a port as an "allowed_address_pairs".
For example:
$ openstack port show port10 | grep allowed_address_pairs
allowed_address_pairs   | ip_address='',

The problem is that OVN, to set the virtual LSP chassis and thus create the
OpenFlow rules in the selected OVS, is expecting an ARP from the exact IP
address that matches with the VIP IP address. Any other IP address in the
CIDR '' (following the example provided), won't trigger the rule

Is there any mechanism to provide support for a virtual CIDR instead of a
VIP? If not, are there any plans for this?

Thank you in advance.
Rodolfo Alonso (ralonsoh at redhat.com).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20210714/75f4ff69/attachment.html>

More information about the discuss mailing list