Skip to content

Cinder compatibility expansion#10

Draft
JSYoo5B wants to merge 9 commits into
codex/08-neutron-compatibility-expansionfrom
codex/09-cinder-compatibility-expansion
Draft

Cinder compatibility expansion#10
JSYoo5B wants to merge 9 commits into
codex/08-neutron-compatibility-expansionfrom
codex/09-cinder-compatibility-expansion

Conversation

@JSYoo5B

@JSYoo5B JSYoo5B commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Expands Cinder-compatible APIs beyond volumes and volume types.
  • Adds snapshots, transfers, backups, attachments, type extra specs, volume actions, availability zones, limits, and quota sets.

Main Review Points

  • Volume action semantics and status transitions.
  • Cinder DTO shape for Gophercloud compatibility.
  • App service responsibilities as the volume surface grows.

Verification

  • go test ./...
  • Checked each commit from this slice onward with go test ./...

AttachStatus string
}

func (s *Service) Attach(id string, input AttachVolume) error {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Volume actions are currently modeled as direct state transitions on the volume repository. This keeps the MVP lightweight, but this file is where future backend/provider behavior would likely attach.

return s.setVolumeStatus(id, "available")
}

func (s *Service) ExtendSize(id string, newSize int) error {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extend updates size and timestamp without modeling asynchronous resize progress. That is a deliberate compatibility shortcut to keep this slice focused on API shape and observable state.

return s.setVolumeStatus(id, input.Status)
}

func (s *Service) setVolumeStatus(id string, status string) error {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setVolumeStatus centralizes the simple status-only actions. Similar action handlers in the API layer can be reviewed by checking which action maps to which status transition here.

@JSYoo5B JSYoo5B marked this pull request as draft July 2, 2026 21:10
@JSYoo5B JSYoo5B force-pushed the codex/08-neutron-compatibility-expansion branch from a23d09d to ac36a97 Compare July 5, 2026 12:50
@JSYoo5B JSYoo5B force-pushed the codex/09-cinder-compatibility-expansion branch from 6c507e9 to 9ee66c6 Compare July 5, 2026 12:50
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