-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fill in image creation code, adding a few fields to the image from RFD 4 (version and digest specifically). Also add block_size due to the constraint that block_size must be present during any volume creation. Store volume construction requests created from the parameters in global_image_create. This commit does not implement global_image_delete because that involves much work to figure out how to safely do this (are any disks using it? are other volumes using this as a sub volume?). Both "Image" and "GlobalImage" are required to separate authz policy, so this commit separates the two. Project images will be implemented in another PR. This commit also separates project and global image views. Implement authz for global images. GlobalImagesList is a dummy authz resource that was added to have a place to check list_children permissions for. Create a new DiskSource enum for DiskCreate, make creation type safe instead of using optional fields.
- Loading branch information
Showing
23 changed files
with
1,658 additions
and
203 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.