On Thu, Jan 11, 2018 at 5:31 PM, Dominik Holler <[email protected]> wrote:

> Hello,
> what is the range of offered IP addresses by OVN's internal DHCP server?
>

Hi Dominik,
Internal DHCP offers the IP address set in the logical_switch_port's
addresses column. So, the CMS (cloud management system)  is expected to set
it.


> I am also interested in locating the source code which calculates this
> range.
>

Alternatively, OVN supports basic IPAM implementation which actually
assign's IP address to the logical switch ports from the configured range.

All the documentation is available in "man ovn-nb" (grep for "IP Address
Assignment"  and "DHCP") and "man ovn-northd".

For IPAM you can find the code here -
https://github.com/openvswitch/ovs/blob/master/ovn/northd/ovn-northd.c#L1114

For DHCP here -
https://github.com/openvswitch/ovs/blob/master/ovn/northd/ovn-northd.c#L2662

Thanks
Numan

Thanks and regards
> Dominik
>
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to