-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Adding CreateVolume functionality #6813
Merged
felixfontein
merged 21 commits into
ansible-collections:main
from
Gayathirideviramasamy:create_volume
Oct 6, 2023
Merged
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
11717ce
Adding create volume functionality
TSKushalHPE 0b4a076
Adding changelog fragment
TSKushalHPE f5c5b9b
Sanity Fix
TSKushalHPE 76adc70
Sanity fix
TSKushalHPE 52b50a6
Update 6813-redfish-config-add-create-volume.yml
TSKushal 4a9241c
Sanity fix
TSKushalHPE ac0eb22
Sanity fix
TSKushalHPE ad33111
Removing capabilities check and correcting controllers terminology to…
TSKushalHPE 98c61a4
Updating as per PR suggestions
TSKushalHPE 640eb77
sanity fix
TSKushalHPE bd8c2c1
Update plugins/modules/redfish_config.py
TSKushal 75b32a6
Update plugins/modules/redfish_config.py
TSKushal 5859e07
Fixing merge issue
TSKushalHPE ebf5f73
Fixing sanity issues
TSKushalHPE 688ff53
Adding CapacityBytes as a mandatory parameter and adding failure mess…
TSKushalHPE 4f28af7
Sanity fix
TSKushalHPE a4d850e
Sanity fix
TSKushalHPE 7d0f032
Updating vendor specific failure
TSKushalHPE 83ff418
Update plugins/modules/redfish_config.py
TSKushal 5a0f855
Removing vendor specific failure case
TSKushalHPE 8bb2bae
removing unused import
TSKushalHPE File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
changelogs/fragments/6813-redfish-config-add-create-volume.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
minor_changes: | ||
- redfish_config - add ``CreateVolume`` command to allow creation of volumes on servers (https://github.com/ansible-collections/community.general/pull/6813). |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why do we need this check up front? Isn't the failure to POST to the VolumeCollection sufficient? Doing version checks for capabilities is not a good practice; the interface itself is self-descriptive
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.
I do see your point, but we may benefit from explicitly pointing out that it doesn't work for certain server. Changed the implementation a little, please a have look.