Skip to content

5.1.1

Choose a tag to compare

@github-actions github-actions released this 04 Dec 18:55
· 6 commits to main since this release

5.1.1

Changes since 5.1.0.

bcf88bb

feat: add and remove router interfaces

set_routers gains add_interface and remove_interface, the equivalents of
`openstack router add/remove subnet` and `router add/remove port`.

- Exactly one project-owned subnet or port, by name or ID. With a subnet,
  Neutron gives the router the subnet's gateway IP.
- remove_interface refuses a subnet or port the router has no interface
  on, before calling Neutron.
- Results are confirmed by reading the router's interface ports back and
  list them; an unconfirmed change is reported as accepted but
  unsuccessful.

scripts/live_tool_check.py adds and removes an interface on its temporary
subnet. Unit tests: 1458/1458; the interface actions are live unverified.

4727637

feat: set and clear router external gateways; never return keypair private keys

Router gateway
- set_routers gains set_external_gateway (external_network by name or ID)
  and unset_external_gateway. A router that already has a gateway is
  refused; unset it first, so an existing gateway's IP and QoS are never
  replaced silently. Results are confirmed by reading the router back; an
  unconfirmed change is reported as accepted but unsuccessful.
- Router interfaces (router add/remove subnet or port) and server creation
  in a server group (--hint group=) remain unimplemented; the CLI mapping
  now lists both as Not implemented.

Keypair
- set_keypair create requires public_key and no longer returns a private
  key. Previously, create without a key let Nova generate one and returned
  its private key in the tool result, contrary to the server instructions.

Port forwarding
- internal_port_id is documented as required for create; Neutron does not
  derive it from internal_ip_address.

scripts/live_tool_check.py sets and clears its temporary router's gateway,
checks that keypair creation without a key is refused, and imports a
locally generated public key. Unit tests: 1447/1447; the new paths are
live unverified.

Full Changelog