]> git.proxmox.com Git - mirror_ovs.git/commit - lib/packets.c
OVN: Add support for periodic router advertisements.
authorMark Michelson <mmichels@redhat.com>
Wed, 29 Nov 2017 21:59:48 +0000 (15:59 -0600)
committerBen Pfaff <blp@ovn.org>
Fri, 5 Jan 2018 17:04:08 +0000 (09:04 -0800)
commit4446661aca36968205387574ce333ebc45f1b554
tree484df54d73dd3133a6b6f875f803c25501f08b57
parent74c2eacc2baff55d74f63500a2e749ca2f6ee70e
OVN: Add support for periodic router advertisements.

This change adds three new options to the Northbound
Logical_Router_Port's ipv6_ra_configs option:

* send_periodic: If set to "true", then OVN will send periodic router
advertisements out of this router port.
* max_interval: The maximum amount of time to wait between sending
periodic router advertisements.
* min_interval: The minimum amount of time to wait between sending
periodic router advertisements.

When send_periodic is true, then IPv6 RA configs, as well as some layer
2 and layer 3 information about the router port, are copied to the
southbound database. From there, ovn-controller can use this information
to know when to send periodic RAs and what to send in them.

Because periodic RAs originate from each ovn-controller, the new
keep-local flag is set on the packet so that ports don't receive an
overabundance of RAs.

Signed-off-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/packets.c
lib/packets.h
ovn/controller/pinctrl.c
ovn/northd/ovn-northd.c
ovn/ovn-nb.xml
tests/ovn-northd.at
tests/ovn.at