Skip to content

Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups#9731

Open
idanielsteven wants to merge 21 commits intoAzure:mainfrom
idanielsteven:main
Open

Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups#9731
idanielsteven wants to merge 21 commits intoAzure:mainfrom
idanielsteven:main

Conversation

@idanielsteven
Copy link
Copy Markdown
Contributor

@idanielsteven idanielsteven commented Mar 26, 2026

Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups

aaz repo: Azure/aaz#976


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

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI review requested due to automatic review settings March 26, 2026 19:07
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Mar 26, 2026

❌Azure CLI Extensions Breaking Change Test
❌managedcleanroom
rule cmd_name rule_message suggest_message
1006 - ParaAdd managedcleanroom collaboration add-collaborator cmd managedcleanroom collaboration add-collaborator added parameter email please remove parameter email for cmd managedcleanroom collaboration add-collaborator
1007 - ParaRemove managedcleanroom collaboration add-collaborator cmd managedcleanroom collaboration add-collaborator removed parameter object_id please add back parameter object_id for cmd managedcleanroom collaboration add-collaborator
1007 - ParaRemove managedcleanroom collaboration add-collaborator cmd managedcleanroom collaboration add-collaborator removed parameter tenant_id please add back parameter tenant_id for cmd managedcleanroom collaboration add-collaborator
1007 - ParaRemove managedcleanroom collaboration add-collaborator cmd managedcleanroom collaboration add-collaborator removed parameter user_identifier please add back parameter user_identifier for cmd managedcleanroom collaboration add-collaborator
1006 - ParaAdd managedcleanroom collaboration create cmd managedcleanroom collaboration create added parameter consortium_type please remove parameter consortium_type for cmd managedcleanroom collaboration create
1006 - ParaAdd managedcleanroom collaboration create cmd managedcleanroom collaboration create added parameter user_identity please remove parameter user_identity for cmd managedcleanroom collaboration create
1007 - ParaRemove managedcleanroom collaboration create cmd managedcleanroom collaboration create removed parameter collaborators please add back parameter collaborators for cmd managedcleanroom collaboration create
1007 - ParaRemove managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics auditevent list
1007 - ParaRemove managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list removed parameter from_seqno please add back parameter from_seqno for cmd managedcleanroom frontend analytics auditevent list
1007 - ParaRemove managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list removed parameter scope please add back parameter scope for cmd managedcleanroom frontend analytics auditevent list
1007 - ParaRemove managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list removed parameter to_seqno please add back parameter to_seqno for cmd managedcleanroom frontend analytics auditevent list
1007 - ParaRemove managedcleanroom frontend analytics cleanroompolicy cmd managedcleanroom frontend analytics cleanroompolicy removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics cleanroompolicy
1007 - ParaRemove managedcleanroom frontend analytics dataset list cmd managedcleanroom frontend analytics dataset list removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics dataset list
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter access_mode please add back parameter access_mode for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter allowed_fields please add back parameter allowed_fields for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter container_name please add back parameter container_name for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter dek_keyvault_url please add back parameter dek_keyvault_url for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter dek_secret_id please add back parameter dek_secret_id for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter encryption_mode please add back parameter encryption_mode for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter identity_client_id please add back parameter identity_client_id for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter identity_issuer_url please add back parameter identity_issuer_url for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter identity_name please add back parameter identity_name for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter identity_tenant_id please add back parameter identity_tenant_id for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter kek_keyvault_url please add back parameter kek_keyvault_url for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter kek_maa_url please add back parameter kek_maa_url for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter kek_secret_id please add back parameter kek_secret_id for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter schema_file please add back parameter schema_file for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter schema_format please add back parameter schema_format for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter storage_account_type please add back parameter storage_account_type for cmd managedcleanroom frontend analytics dataset publish
1007 - ParaRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish removed parameter storage_account_url please add back parameter storage_account_url for cmd managedcleanroom frontend analytics dataset publish
1008 - ParaPropAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish update parameter body: added property required=True please remove property required=True for parameter body of cmd managedcleanroom frontend analytics dataset publish
1002 - CmdRemove managedcleanroom frontend analytics dataset queries cmd managedcleanroom frontend analytics dataset queries removed please confirm cmd managedcleanroom frontend analytics dataset queries removed
1007 - ParaRemove managedcleanroom frontend analytics dataset show cmd managedcleanroom frontend analytics dataset show removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics dataset show
1007 - ParaRemove managedcleanroom frontend analytics query list cmd managedcleanroom frontend analytics query list removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics query list
1007 - ParaRemove managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics query publish
1007 - ParaRemove managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish removed parameter execution_sequence please add back parameter execution_sequence for cmd managedcleanroom frontend analytics query publish
1007 - ParaRemove managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish removed parameter input_datasets please add back parameter input_datasets for cmd managedcleanroom frontend analytics query publish
1007 - ParaRemove managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish removed parameter output_dataset please add back parameter output_dataset for cmd managedcleanroom frontend analytics query publish
1007 - ParaRemove managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish removed parameter query_segment please add back parameter query_segment for cmd managedcleanroom frontend analytics query publish
1008 - ParaPropAdd managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish update parameter body: added property required=True please remove property required=True for parameter body of cmd managedcleanroom frontend analytics query publish
1007 - ParaRemove managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics query run
1007 - ParaRemove managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run removed parameter dry_run please add back parameter dry_run for cmd managedcleanroom frontend analytics query run
1007 - ParaRemove managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run removed parameter end_date please add back parameter end_date for cmd managedcleanroom frontend analytics query run
1007 - ParaRemove managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run removed parameter start_date please add back parameter start_date for cmd managedcleanroom frontend analytics query run
1007 - ParaRemove managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run removed parameter use_optimizer please add back parameter use_optimizer for cmd managedcleanroom frontend analytics query run
1007 - ParaRemove managedcleanroom frontend analytics query runhistory list cmd managedcleanroom frontend analytics query runhistory list removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics query runhistory list
1007 - ParaRemove managedcleanroom frontend analytics query runresult show cmd managedcleanroom frontend analytics query runresult show removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics query runresult show
1007 - ParaRemove managedcleanroom frontend analytics query show cmd managedcleanroom frontend analytics query show removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics query show
1002 - CmdRemove managedcleanroom frontend analytics query vote cmd managedcleanroom frontend analytics query vote removed please confirm cmd managedcleanroom frontend analytics query vote removed
1012 - SubgroupRemove managedcleanroom frontend analytics secret sub group managedcleanroom frontend analytics secret removed please confirm sub group managedcleanroom frontend analytics secret removed
1007 - ParaRemove managedcleanroom frontend analytics show cmd managedcleanroom frontend analytics show removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend analytics show
1007 - ParaRemove managedcleanroom frontend collaboration list cmd managedcleanroom frontend collaboration list removed parameter active_only please add back parameter active_only for cmd managedcleanroom frontend collaboration list
1007 - ParaRemove managedcleanroom frontend collaboration list cmd managedcleanroom frontend collaboration list removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend collaboration list
1007 - ParaRemove managedcleanroom frontend consent check cmd managedcleanroom frontend consent check removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend consent check
1007 - ParaRemove managedcleanroom frontend consent set cmd managedcleanroom frontend consent set removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend consent set
1007 - ParaRemove managedcleanroom frontend invitation accept cmd managedcleanroom frontend invitation accept removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend invitation accept
1007 - ParaRemove managedcleanroom frontend invitation list cmd managedcleanroom frontend invitation list removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend invitation list
1007 - ParaRemove managedcleanroom frontend invitation list cmd managedcleanroom frontend invitation list removed parameter pending_only please add back parameter pending_only for cmd managedcleanroom frontend invitation list
1007 - ParaRemove managedcleanroom frontend invitation show cmd managedcleanroom frontend invitation show removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend invitation show
1007 - ParaRemove managedcleanroom frontend oidc issuerinfo show cmd managedcleanroom frontend oidc issuerinfo show removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend oidc issuerinfo show
1002 - CmdRemove managedcleanroom frontend report cmd managedcleanroom frontend report removed please confirm cmd managedcleanroom frontend report removed
1007 - ParaRemove managedcleanroom frontend show cmd managedcleanroom frontend show removed parameter active_only please add back parameter active_only for cmd managedcleanroom frontend show
1007 - ParaRemove managedcleanroom frontend show cmd managedcleanroom frontend show removed parameter api_version please add back parameter api_version for cmd managedcleanroom frontend show
⚠️ 1006 - ParaAdd managedcleanroom collaboration update cmd managedcleanroom collaboration update added parameter consortium_type
⚠️ 1006 - ParaAdd managedcleanroom collaboration update cmd managedcleanroom collaboration update added parameter user_identity
⚠️ 1006 - ParaAdd managedcleanroom consortium create cmd managedcleanroom consortium create added parameter consortium_type
⚠️ 1006 - ParaAdd managedcleanroom consortium update cmd managedcleanroom consortium update added parameter consortium_type
⚠️ 1011 - SubgroupAdd managedcleanroom frontend analytics attestationreport sub group managedcleanroom frontend analytics attestationreport added
⚠️ 1001 - CmdAdd managedcleanroom frontend analytics deploymentinfo cmd managedcleanroom frontend analytics deploymentinfo added
⚠️ 1011 - SubgroupAdd managedcleanroom frontend analytics query vote sub group managedcleanroom frontend analytics query vote added
⚠️ 1011 - SubgroupAdd managedcleanroom frontend attestation sub group managedcleanroom frontend attestation added
⚠️ 1015 - SubgroupPropUpdate managedcleanroom frontend oidc sub group managedcleanroom frontend oidc updated property commands from {'managedcleanroom frontend oidc set-issuer-url': {'name': 'managedcleanroom frontend oidc set-issuer-url', 'is_aaz': False, 'parameters': [{'name': '_change_reference', 'options': ['--change-reference']}, {'name': '_acquire_policy_token', 'options': ['--acquire-policy-token']}, {'name': 'collaboration_id', 'options': ['--collaboration-id', '-c'], 'required': True}, {'name': 'url', 'options': ['--url'], 'required': True}, {'name': 'api_version', 'options': ['--api-version'], 'choices': ['2026-03-01-preview'], 'default': '2026-03-01-preview'}]}, 'managedcleanroom frontend oidc keys': {'name': 'managedcleanroom frontend oidc keys', 'is_aaz': False, 'parameters': [{'name': '_change_reference', 'options': ['--change-reference']}, {'name': '_acquire_policy_token', 'options': ['--acquire-policy-token']}, {'name': 'collaboration_id', 'options': ['--collaboration-id', '-c'], 'required': True}, {'name': 'api_version', 'options': ['--api-version'], 'choices': ['2026-03-01-preview'], 'default': '2026-03-01-preview'}]}} to {}
⚠️ 1011 - SubgroupAdd managedcleanroom frontend workloads sub group managedcleanroom frontend workloads added
⚠️managednetworkfabric
rule cmd_name rule_message suggest_message
⚠️ 1011 - SubgroupAdd networkfabric bootstrapdevice sub group networkfabric bootstrapdevice added
⚠️ 1011 - SubgroupAdd networkfabric bootstrapinterface sub group networkfabric bootstrapinterface added
⚠️ 1001 - CmdAdd networkfabric device resync-certificate cmd networkfabric device resync-certificate added
⚠️ 1001 - CmdAdd networkfabric fabric resync-certificate cmd networkfabric fabric resync-certificate added
⚠️ 1001 - CmdAdd networkfabric fabric rotate-certificate cmd networkfabric fabric rotate-certificate added

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 26, 2026

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

@github-actions
Copy link
Copy Markdown
Contributor

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>

@github-actions
Copy link
Copy Markdown
Contributor

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 26, 2026

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 updates the managednetworkfabric Azure CLI extension to re-enable and add AAZ-generated command implementations (and scenario tests) for bootstrap device/interface and certificate resync/rotation operations, along with a version bump and changelog entry.

Changes:

  • Bump extension version to 9.1.0 and add 9.1.0 release notes.
  • Add AAZ command implementations for fabric rotate-certificate, fabric resync-certificate, device resync-certificate, and bootstrapdevice/bootstrapinterface (list/show/wait).
  • Re-enable/activate scenario tests for the above commands and add a new recording for bootstrapinterface.

Reviewed changes

Copilot reviewed 22 out of 23 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
src/managednetworkfabric/setup.py Bumps extension version to 9.1.0.
src/managednetworkfabric/HISTORY.rst Adds 9.1.0 changelog entry.
src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf_rotate_certificate.py Enables scenario test for fabric rotate-certificate.
src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf_resync_certificate.py Enables scenario test for fabric resync-certificate.
src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device_resync_certificate.py Enables scenario test for device resync-certificate.
src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_bootstrapinterface.py Enables scenario test for bootstrapinterface show/list.
src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_bootstrapdevice.py Enables scenario test for bootstrapdevice show/list.
src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_GA_bootstrapinterface_scenario1.yaml Adds playback recording for bootstrapinterface scenario.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_rotate_certificate.py Adds AAZ command for networkfabric fabric rotate-certificate.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_resync_certificate.py Adds AAZ command for networkfabric fabric resync-certificate.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/init.py Exposes new fabric certificate commands via imports.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_resync_certificate.py Adds AAZ command for networkfabric device resync-certificate.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/init.py Exposes new device certificate command via import.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapinterface/__cmd_group.py Adds AAZ command group networkfabric bootstrapinterface.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapinterface/init.py Exposes bootstrapinterface commands via imports.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapinterface/_list.py Adds networkfabric bootstrapinterface list.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapinterface/_show.py Adds networkfabric bootstrapinterface show.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapinterface/_wait.py Adds networkfabric bootstrapinterface wait.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapdevice/__cmd_group.py Adds AAZ command group networkfabric bootstrapdevice.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapdevice/init.py Exposes bootstrapdevice commands via imports.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapdevice/_list.py Adds networkfabric bootstrapdevice list.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapdevice/_show.py Adds networkfabric bootstrapdevice show.
src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/bootstrapdevice/_wait.py Adds networkfabric bootstrapdevice wait.

@idanielsteven idanielsteven marked this pull request as draft March 26, 2026 19:18
…ice, and other actions for existing command groups.
…ice, and other actions for existing command groups.
@idanielsteven
Copy link
Copy Markdown
Contributor Author

Release version is correct.

@idanielsteven
Copy link
Copy Markdown
Contributor Author

Hi @idanielsteven

⚠️ Release Requirements

Module: managednetworkfabric

  • ⚠️ Please update VERSION to be 10.0.0 in src/managednetworkfabric/setup.py

Notes

Release version is correct.

…ice, and other actions for existing command groups.
@github-actions github-actions bot removed the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Mar 26, 2026
@idanielsteven idanielsteven marked this pull request as ready for review March 27, 2026 19:55
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 Network

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants