d669dff1dc
This patch is adding support for the router_availability_zone extension for Neutron. The OVN driver will now read from the router's availability_zone_hints field and schedule the router ports onto OVN chassis belonging to those AZs. Since the OVN driver does not rely on the L3 agent, this patch does not re-use the configuration option for the agent to configure the availability zone that a Chassis belongs to (even because there's no configuration file in nodes such as networker nodes). Instead, this patch reuses the "ovn-cms-options" field from the local OVSDB to configure the Chassis. The follow syntax has been used: $ ovs-vsctl set Open_VSwitch . external-ids:ovn-cms-options="enable-chassis-as-gw,availability-zones=az0:az1" In the example above, the Chassis has been configured to belong to two AZs: "az0" and "az1". This patch also implements listing the availability zones: $ openstack availability zone list As well as validating the router's availability zone hints: $ openstack router create --availability-zone-hint az0 --availability-zone-hint az1 test_router The above command would fail if there's no "az0" and "az1" configured in any OVN chassis. Documentation for this feature is being written and will be submitted in a separated patch. Partial-Bug: #1881095 Change-Id: I4567f3d541d382b6432c1ab3d35276d81ce71d82 Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
7 lines
233 B
YAML
7 lines
233 B
YAML
---
|
|
features:
|
|
- |
|
|
Added support for router availability zones in OVN. The OVN driver
|
|
can now read from the router's availability_zone_hints field and
|
|
schedule router ports accordingly with the given availability zones.
|