Skip to content

Commit

Permalink
api: Add network_ovn_uplink_vlan API extension (#14296)
Browse files Browse the repository at this point in the history
This PR adds API extension `network_ovn_uplink_vlan`, which adds support
for using a bridge network with a specified VLAN ID as the uplink for an
OVN network.

Related: canonical/lxd-ci#302,
#14196.
  • Loading branch information
tomponline authored Oct 18, 2024
2 parents 3354192 + 8eaca0d commit 214b65e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2507,3 +2507,7 @@ Expands APIs under `/1.0/auth` to include:
Includes OVN virtual routers external IPs to `/1.0/network-allocations` responses with the type `uplink`.
Introduces the `network` field on each allocation, indicating to which network each allocated address belongs.
And lastly, adds a `project` field on leases, leases can be retrieved via `/1.0/networks/<network>/leases`.

## `network_ovn_uplink_vlan`

Adds support for using a bridge network with a specified VLAN ID as an OVN uplink.
1 change: 1 addition & 0 deletions shared/version/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ var APIExtensions = []string{
"metadata_configuration_entity_types",
"access_management_tls",
"network_allocations_ovn_uplink",
"network_ovn_uplink_vlan",
}

// APIExtensionsCount returns the number of available API extensions.
Expand Down

0 comments on commit 214b65e

Please sign in to comment.