Skip to content

Draft: Add server v2 storage endpoints#2020

Open
ogayot wants to merge 11 commits intocanonical:mainfrom
ogayot:storage-v2
Open

Draft: Add server v2 storage endpoints#2020
ogayot wants to merge 11 commits intocanonical:mainfrom
ogayot:storage-v2

Conversation

@ogayot
Copy link
Member

@ogayot ogayot commented Jun 28, 2024

NOTE: This isn't ready for review yet. it is based on #2021 (merged)

@ogayot ogayot force-pushed the storage-v2 branch 2 times, most recently from f7398b7 to 4fe1d5c Compare July 2, 2024 08:22
ogayot added 11 commits July 3, 2024 09:43
 * GET /storage/v2/volume_groups    <- returns a list of VGs
 * GET /storage/v2/volume_group?id="lvm-volgroup-0"    <- returns a list single VG

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
@dbungert
Copy link
Member

dbungert commented Jul 3, 2024

So far this is reasonable. A general bit of feedback is that it is interesting that we are consistently transforming the incoming data to the outbound spec with validation and a bit of consultation to the model - I think there is little dependence on the controller otherwise.

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.

2 participants