Skip to content

[NetAppFiles] Update azure-mgmt-netapp version to 7.0.0#21712

Merged
kairu-ms merged 14 commits intoAzure:devfrom
hildurhodd:NFSAAS-29397-update-to-2021-10-01
Mar 29, 2022
Merged

[NetAppFiles] Update azure-mgmt-netapp version to 7.0.0#21712
kairu-ms merged 14 commits intoAzure:devfrom
hildurhodd:NFSAAS-29397-update-to-2021-10-01

Conversation

@hildurhodd
Copy link
Contributor

@hildurhodd hildurhodd commented Mar 21, 2022

Description

Update azure-mgmt-netapp dependency to version 7.0.0 and changes made according to that version.
Fixed list parameters that were declared as tag type.
Fixed boolean parameters for active directory commands.
Fixed NFSv3 volume creation with no export policy.

Testing Guide

History Notes

[NetAppFiles] az netappfiles snapshot restore-files: New command to restore specified files from the specified snapshot to the active filesystem
[NetAppFiles] az netappfiles volume create: Add optional parameters --enable-subvolumes
[NetAppFiles] az netappfiles volume delete: Add optional parameter --force-delete or --force
[NetAppFiles] az netappfiles volume update: Add optional parameter --unix-permissions
[NetAppFiles] az netappfiles subvolume: New command group to manage subvolume resources
[NetAppFiles] az netappfiles subvolume create: New command to create subvolume
[NetAppFiles] az netappfiles subvolume show: New command to get specified subvolume
[NetAppFiles] az netappfiles subvolume update: New command to update specified subvolume
[NetAppFiles] az netappfiles subvolume list: New command to get all subvolume in a specified volume
[NetAppFiles] az netappfiles subvolume delete: New command to delete specified subvolume
[NetAppFiles] az netappfiles subvolume metadata: New command group to manage subvolume metadata resources
[NetAppFiles] az netappfiles subvolume metadata show: New command to get details about a specified subvolume
[NetAppFiles] az netappfiles account ad add: New optional parameters to support ldap search scope --user-dn, --group-dn and --group-filter
[NetAppFiles] az netappfiles account ad update: New optional parameters to support ldap search scope --user-dn, --group-dn and --group-filter


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 21, 2022

NetAppFiles

@kairu-ms
Copy link
Contributor

@hildurhodd, Please fix CI issues

@hildurhodd hildurhodd force-pushed the NFSAAS-29397-update-to-2021-10-01 branch from ccdc56e to 1314544 Compare March 22, 2022 09:19
hodd added 8 commits March 22, 2022 09:23
- Added subvolumes command group with following commands:
-- show
-- list
-- create
-- update
-- delete
- Added restore-files command to snapshot command group
- Added force parameter to delete volume command
- Added parameter ldap-search-scope to account ad create
- Added parameter enable-subvolumes to volume create
- Added parameter unix-permission to volume update
- Fixed list parameters that were declared as tag type
- Help updated
- Tests updated and tests added for new features
- New recordings gathered
Fixing invalid parameter name
Removing short parameter options for subvolumes
@hildurhodd hildurhodd force-pushed the NFSAAS-29397-update-to-2021-10-01 branch from 1314544 to 53d072b Compare March 22, 2022 09:23
Copy link
Member

@jiasli jiasli left a comment

Choose a reason for hiding this comment

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

Approve for core.

file_paths=file_paths,
destination_path=destination_path
)
client.begin_restore_files(resource_group_name, account_name, pool_name, volume_name, snapshot_name, body)
Copy link
Contributor

Choose a reason for hiding this comment

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

The client method start with begin_ prefix is long running operation. Why not add --no-wait for those kind of command?

Copy link
Contributor

@kairu-ms kairu-ms left a 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 on code. I find all the long running commands in netappfiles don't support --no-wait. Any reason for that?

@hildurhodd
Copy link
Contributor Author

Looks good to me on code. I find all the long running commands in netappfiles don't support --no-wait. Any reason for that?

Thanks for the review. We honestly don't know the reason for not supporting --no-wait, so my assumption is just lack of knowledge.

@kairu-ms kairu-ms merged commit 8ac88e5 into Azure:dev Mar 29, 2022
@kairu-ms
Copy link
Contributor

kairu-ms commented Mar 29, 2022

Hi @hildurhodd, I've merged this PR to support the change of your PR first. --no-wait command can finish long running operation in advance instead of waiting for the long running operation finish.

@hildurhodd
Copy link
Contributor Author

Hi @hildurhodd, I've merged this PR to support the change of your PR first. --no-wait command can finish long running operation in advance instead of waiting for the long running operation finish.

Hi @kairu-ms, thanks for this. I will create a ticket for no-wait support, and it will be included in the coming pull requests

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.

4 participants