Skip to content

[NetAppFiles] az netappfiles volume-group create: Add support for Oracle in ANF Volume Groups#31528

Merged
kairu-ms merged 3 commits intoAzure:devfrom
audunn:ANF-52155-OracleVolumeGroups
May 27, 2025
Merged

[NetAppFiles] az netappfiles volume-group create: Add support for Oracle in ANF Volume Groups#31528
kairu-ms merged 3 commits intoAzure:devfrom
audunn:ANF-52155-OracleVolumeGroups

Conversation

@audunn
Copy link
Copy Markdown
Member

@audunn audunn commented May 21, 2025

Related command

az netappfiles volume-group

Description

Adds support for Oracle Volume Groups
Testing Guide

History Notes

[NetAppFiles] az netappfiles volume-group create: Add support for Oracle in ANF Volume Groups


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

Copilot AI review requested due to automatic review settings May 21, 2025 15:57
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented May 21, 2025

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.9
️✔️acs
️✔️latest
️✔️3.12
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.9
️✔️ams
️✔️latest
️✔️3.12
️✔️3.9
️✔️apim
️✔️latest
️✔️3.12
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️aro
️✔️latest
️✔️3.12
️✔️3.9
️✔️backup
️✔️latest
️✔️3.12
️✔️3.9
️✔️batch
️✔️latest
️✔️3.12
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.9
️✔️billing
️✔️latest
️✔️3.12
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.9
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.9
️✔️config
️✔️latest
️✔️3.12
️✔️3.9
️✔️configure
️✔️latest
️✔️3.12
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.9
️✔️container
️✔️latest
️✔️3.12
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.9
️✔️core
️✔️latest
️✔️3.12
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.9
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.9
️✔️dls
️✔️latest
️✔️3.12
️✔️3.9
️✔️dms
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.9
️✔️find
️✔️latest
️✔️3.12
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.9
️✔️identity
️✔️latest
️✔️3.12
️✔️3.9
️✔️iot
️✔️latest
️✔️3.12
️✔️3.9
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.9
️✔️lab
️✔️latest
️✔️3.12
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️maps
️✔️latest
️✔️3.12
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.9
️✔️network
️✔️latest
️✔️3.12
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.9
️✔️profile
️✔️latest
️✔️3.12
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.9
️✔️redis
️✔️latest
️✔️3.12
️✔️3.9
️✔️relay
️✔️latest
️✔️3.12
️✔️3.9
️✔️resource
️✔️latest
️✔️3.12
️✔️3.9
️✔️role
️✔️latest
️✔️3.12
️✔️3.9
️✔️search
️✔️latest
️✔️3.12
️✔️3.9
️✔️security
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.9
️✔️sql
️✔️latest
️✔️3.12
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.9
️✔️storage
️✔️latest
️✔️3.12
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.9
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.9
️✔️util
️✔️latest
️✔️3.12
️✔️3.9
️✔️vm
️✔️latest
️✔️3.12
️✔️3.9

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 21, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @audunn,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@github-actions
Copy link
Copy Markdown

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented May 21, 2025

⚠️AzureCLI-BreakingChangeTest
⚠️netappfiles
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd netappfiles volume-group create cmd netappfiles volume-group create added parameter binary_size
⚠️ 1006 - ParaAdd netappfiles volume-group create cmd netappfiles volume-group create added parameter binary_throughput
⚠️ 1006 - ParaAdd netappfiles volume-group create cmd netappfiles volume-group create added parameter database_size
⚠️ 1006 - ParaAdd netappfiles volume-group create cmd netappfiles volume-group create added parameter database_throughput
⚠️ 1006 - ParaAdd netappfiles volume-group create cmd netappfiles volume-group create added parameter log_mirror_size
⚠️ 1006 - ParaAdd netappfiles volume-group create cmd netappfiles volume-group create added parameter log_mirror_throughput
⚠️ 1006 - ParaAdd netappfiles volume-group create cmd netappfiles volume-group create added parameter number_of_oracle_volumes

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces support for Oracle volume groups in the NetApp Files CLI by extending both the command schema and the tests.

  • Added new CLI arguments and validation for Oracle-specific sizing and volume counts
  • Updated pre_operations and volume-creation helpers to handle Oracle volume types
  • Expanded and refactored tests (test_volumegroup_commands.py) to cover Oracle scenarios

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
tests/latest/test_volumegroup_commands.py Added test_oracle_volume_groups, updated flags and cleanup for Oracle tests
command_modules/netappfiles/custom.py Introduced Oracle sizing args, validation, and helper logic for Oracle volumes
Comments suppressed due to low confidence (1)

src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volumegroup_commands.py:110

  • The create command is missing the --volume-group-name (or --group-name) flag, so the test will not supply the volume-group name and likely fail.
--zones {zones} --application-identifier {application_identifier} --application-type {application_type} -l {loc} --add-snapshot-capacity {add_snap_cap} --database-size {size} --database-throughput 120 --number-of-volumes 3

Comment thread src/azure-cli/azure/cli/command_modules/netappfiles/custom.py Outdated
Comment thread src/azure-cli/azure/cli/command_modules/netappfiles/custom.py Outdated
@audunn
Copy link
Copy Markdown
Member Author

audunn commented May 21, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 31528 in repo Azure/azure-cli

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 22, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@audunn
Copy link
Copy Markdown
Member Author

audunn commented May 26, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 31528 in repo Azure/azure-cli

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 26, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@audunn
Copy link
Copy Markdown
Member Author

audunn commented May 26, 2025

Not sure why it is failing PR title for not having starting with [ when it clearly does [NetAppFiles] Add Oracle VG ?

@audunn
Copy link
Copy Markdown
Member Author

audunn commented May 26, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 31528 in repo Azure/azure-cli

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 26, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@kairu-ms kairu-ms changed the title [NetAppFiles] Add Oracle VG [NetAppFiles] az netappfiles volume-group create: Add support for Oracle in ANF Volume Groups May 27, 2025
@kairu-ms kairu-ms merged commit 0c300b6 into Azure:dev May 27, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot NetAppFiles az netappfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants