openstacksdk/releasenotes/notes/add-support-for-setting-static-routes-b3ce6cac2c5e9e51.yaml
Ryan Brady 4c49acd831
Add support for static routes
The networking API v2 specification, which is implemented by OpenStack
Neutron, features an optional routes parameter - when updating a router
PUT requests). Static routes are crucial for routers to handle traffic
from subnets not directly connected to a router.  This patch adds the
routes parameter to the OpenStackCloud.update_router method as a list of
dictionaries with destination and nexthop parameters.

Example:
[
   {
      "destination": "179.24.1.0/24",
      "nexthop": "172.24.3.99"
    }
]

Change-Id: I14205b6bb071d0b46967f29b6287f74d8796add8
2018-07-30 12:11:41 -05:00

10 lines
459 B
YAML

---
features:
- |
The networking API v2 specification, which is implemented by OpenStack
Neutron, features an optional routes parameter - when updating a router
(PUT requests). Static routes are crucial for routers to handle traffic
from subnets not directly connected to a router. The routes parameter has
now been added to the OpenStackCloud.update_router method as a list of
dictionaries with destination and nexthop parameters.