[ovs-build] Fixed: ovn-org/ovn#279 (master - 24528aa)
builds at travis-ci.org
Wed Jun 10 06:48:34 UTC 2020
Build Update for ovn-org/ovn
Duration: 18 mins and 3 secs
Commit: 24528aa (master)
Author: Mark Michelson
Message: northd: Fix IPAM IPv4 start address calculation.
IPAM assumes the other_config:subnet of the logical switch is a network
address, which can result in unusual address assignments.
As an example, consider the following configuration:
ovn-nbctl set logical_switch ls other_config:subnet=172.16.1.254/29
172.16.1.254 is not a network address of a /29 network, but ovn-northd
doesn't care. ovn-northd starts IP address allocation at 172.16.1.254, with 7
assignable addresses in the subnet. The first address (172.16.1.255) is
reserved for router port use. The first IP addresses to a logical switch
port is 172.16.2.0, then 172.16.2.1, and so on.
This patch changes the behavior by using the provided netmask to change
the starting IP address to the network address of the subnet. In the
previous example, the provided 172.16.1.254/29 would be converted
internally to 172.16.1.248/29 . Therefore, the first IP address
allocated to a switch port would be 172.16.1.250. Further allocations would
continue up until 172.16.1.254.
Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=1823287
Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
View the changeset: https://github.com/ovn-org/ovn/compare/cd09b3645f08...24528aa34d80
View the full build log and details: https://travis-ci.org/github/ovn-org/ovn/builds/696733594?utm_medium=notification&utm_source=email
You can unsubscribe from build emails from the ovn-org/ovn repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=24187664&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the build