-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Add testing tool for VolumeGroup #678
Conversation
@ShravaniVangur can you please also paste the successful output for the above CLI commands? |
73ce861
to
2c7bdb6
Compare
2c7bdb6
to
86bd3d6
Compare
86bd3d6
to
7ed1aee
Compare
7ed1aee
to
22cb6a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small Nit, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but it you want to cleanup the formatting/emptylines that would be appreciated.
cmd/csi-addons/volumegroup.go
Outdated
var _ = registerOperation("CreateVolumeGroup", &CreateVolumeGroup{}) | ||
|
||
func (cvg *CreateVolumeGroup) Init(c *command) error { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting choice of empty lines. The functions above don't have any, and here you start to add more.
Can you make that a little more equal throughout the file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
22cb6a7
to
4597042
Compare
Pull request has been modified.
4597042
to
f9cc8d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@Mergifyio rebase |
This adds testing tool for VolumeGroup operations. Signed-off-by: ShravaniVangur <[email protected]>
✅ Branch has been successfully rebased |
f9cc8d3
to
c6bbb24
Compare
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 9c3beb8 |
This commit adds testing tool for VolumeGroup operations such as-
Resolves #653
Sample outputs for the cli commands of the form:
kubectl exec -c csi-addons <csi-addons-nodeplugin> -n rook-ceph -- csi-addons -operation <operationName> -secret <namespace/name> -parameters <key1=value1,...>
CreateVolumeGroup:
Volume Group created: volume_group:{volume_group_id:"0001-0009-rook-ceph-0000000000000002-21fb957f-7987-44f8-972c-36c6e57896b0"}
ModifyVolumeGroupMembership:
Volume Group Membership modified for- volume_group:{volume_group_id:"0001-0009-rook-ceph-0000000000000002-21fb957f-7987-44f8-972c-36c6e57896b0"}
DeleteVolumeGroup:
Volume Group Deleted.
ControllerGetVolumeGroup:
Controller Volume Group Info: volume_group:{volume_group_id:"0001-0009-rook-ceph-0000000000000002-21fb957f-7987-44f8-972c-36c6e578"}