[ovs-discuss] DHCP IP addresses range of OVN's internal DHCP server

Numan Siddique nusiddiq at redhat.com
Thu Jan 11 13:01:25 UTC 2018


On Thu, Jan 11, 2018 at 5:31 PM, Dominik Holler <dholler at redhat.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180111/cf84e266/attachment.html>


More information about the discuss mailing list