Skip to content

Add read-only pool and pool share commands to the OSC client#6

Open
misamoylov wants to merge 1 commit into
stable/2024.2-m3from
shared_pools
Open

Add read-only pool and pool share commands to the OSC client#6
misamoylov wants to merge 1 commit into
stable/2024.2-m3from
shared_pools

Conversation

@misamoylov

Copy link
Copy Markdown

Pool lifecycle is owned by designate-manage pool, so upstream carries no pool commands in the client and the pool create/update/delete API methods are deprecated. Restore only the read-only surface that is safe to use alongside designate-manage:

openstack dns pool list [--name ]
openstack dns pool show

pool show exposes domain_id and shared, enough to inspect a pool before sharing it.

Also wire up the pool sharing API (/v2/pools/{pool_id}/shares):

openstack dns pool share create|list|show|delete ...

so a domain can use a pool owned by another domain without touching designate-manage. Create/update/delete for pools is intentionally omitted.

Pool lifecycle is owned by `designate-manage pool`, so upstream carries no
pool commands in the client and the pool create/update/delete API methods
are deprecated. Restore only the read-only surface that is safe to use
alongside designate-manage:

  openstack dns pool list [--name <name>]
  openstack dns pool show <pool>

`pool show` exposes `domain_id` and `shared`, enough to inspect a pool
before sharing it.

Also wire up the pool sharing API (/v2/pools/{pool_id}/shares):

  openstack dns pool share create|list|show|delete <pool> ...

so a domain can use a pool owned by another domain without touching
designate-manage. Create/update/delete for pools is intentionally omitted.

Signed-off-by: Mikhail Samoylov <mikhailsamoiloff@gmail.com>
@misamoylov misamoylov requested a review from galkindmitrii June 16, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant