[FFE] Add support for multiple gateway management + BFD/ECMP

Bug #2060656 reported by James Page
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient (Ubuntu)
Fix Released
High
Unassigned
Noble
Fix Released
High
Unassigned

Bug Description

The 2024.1 Caracal release of Neutron (already in archive) includes features to enable multiple gateway management + associated BFD and ECMP monitoring and multipathing for external networking in OpenStack.

The command line tooling for this was committed after the 6.6.0 release of the openstackclient project; in order to expose this features to OpenStack users on Noble we should pull in the four patches require to add the sub commands and configuration options for networking.

Neutron feature details:

bug 2002687

Merge detailing patches:

https://code.launchpad.net/~fnordahl/ubuntu/+source/python-openstackclient/+git/python-openstackclient/+merge/463871

Build logs:

https://launchpad.net/~fnordahl/+archive/ubuntu/dev/+build/28041314

Testing confirmation:

Using the package from the above build test:
$ dpkg -l | grep python3-openst
ii python3-openstackclient 6.6.0-0ubuntu1.0 all OpenStack Command-line Client - Python 3.x

I can successfully run the following script that makes use of the functionality:
ROUTER=router10
openstack router create \
    $ROUTER \
    --disable-snat \
    --external-gateway net1 \
    --fixed-ip subnet=subnet1,ip-address=10.50.111.100 \
    --external-gateway net1 \
    --fixed-ip subnet=subnet1,ip-address=10.50.111.101 \
    --external-gateway net2 \
    --fixed-ip subnet=subnet2,ip-address=10.170.175.100 \
    --external-gateway net2 \
    --fixed-ip subnet=subnet2,ip-address=10.170.175.101 \
    --external-gateway net3 \
    --fixed-ip subnet=subnet3,ip-address=10.199.89.100 \
    --external-gateway net3 \
    --fixed-ip subnet=subnet3,ip-address=10.199.89.101 \
    --enable-default-route-bfd \
    --enable-default-route-ecmp

+---------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+---------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2024-04-09T10:16:41Z |
| description | |
| distributed | False |
| enable_default_route_bfd | True |
| enable_default_route_ecmp | True |
| enable_ndp_proxy | None |
| external_gateway_info | {"network_id": "45af3624-43b5-4964-a21f-c3c8f191ca94", "external_fixed_ips": [{"subnet_id": "61d3485e-26a6-4b08-88fd-d8e7e8e05696", |
| | "ip_address": "10.50.111.100"}], "enable_snat": false} |
| external_gateways | [{'network_id': '45af3624-43b5-4964-a21f-c3c8f191ca94', 'external_fixed_ips': [{'ip_address': '10.50.111.100', 'subnet_id': |
| | '61d3485e-26a6-4b08-88fd-d8e7e8e05696'}]}, {'network_id': 'ed2466fb-4058-41a3-a3bd-2cbe704b9e1c', 'external_fixed_ips': [{'ip_address': |
| | '10.199.89.101', 'subnet_id': '8752e2d0-0d6e-45b0-bd24-2fdbbe3f82cc'}]}, {'network_id': 'bab19e53-354c-40c7-948b-1ab2fd54ba00', |
| | 'external_fixed_ips': [{'ip_address': '10.170.175.100', 'subnet_id': '333db8eb-828c-4703-acf6-2a8e56957603'}]}, {'network_id': |
| | 'bab19e53-354c-40c7-948b-1ab2fd54ba00', 'external_fixed_ips': [{'ip_address': '10.170.175.101', 'subnet_id': |
| | '333db8eb-828c-4703-acf6-2a8e56957603'}]}, {'network_id': '45af3624-43b5-4964-a21f-c3c8f191ca94', 'external_fixed_ips': [{'ip_address': |
| | '10.50.111.101', 'subnet_id': '61d3485e-26a6-4b08-88fd-d8e7e8e05696'}]}, {'network_id': 'ed2466fb-4058-41a3-a3bd-2cbe704b9e1c', |
| | 'external_fixed_ips': [{'ip_address': '10.199.89.100', 'subnet_id': '8752e2d0-0d6e-45b0-bd24-2fdbbe3f82cc'}]}] |
| flavor_id | None |
| gw_port_id | 5ebf68fa-1309-45ba-9a6a-4fe5bd553269 |
| ha | False |
| ha_vr_id | 0 |
| id | 99112d50-917d-47cf-a437-4cd54b3a7ba5 |
| name | router10 |
| project_id | 2730019f54c449ba9ef035c7bfb91077 |
| revision_number | 8 |
| routes | |
| status | ACTIVE |
| tags | |
| tenant_id | 2730019f54c449ba9ef035c7bfb91077 |
| updated_at | 2024-04-09T10:16:44Z |
+---------------------------+------------------------------------------------------------------------------------------------------------------------------------------+

James Page (james-page)
Changed in python-openstackclient (Ubuntu):
status: New → Triaged
importance: Undecided → High
description: updated
Frode Nordahl (fnordahl)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-openstackclient - 6.6.0-0ubuntu2

---------------
python-openstackclient (6.6.0-0ubuntu2) noble; urgency=medium

  * d/p/lp-2002687-*: Add support for managing multiple gateways and
    BFD/ECMP options (LP: #2060656).

 -- Frode Nordahl <email address hidden> Tue, 09 Apr 2024 10:58:28 +0100

Changed in python-openstackclient (Ubuntu Noble):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.