Skip to content

Conversation

@idanielsteven
Copy link
Contributor

Managed network fabric extension updates for 7.x CLI using 2025-07-15-stable API.


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 July 30, 2025 20:49
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Jul 30, 2025

❌Azure CLI Extensions Breaking Change Test
❌managednetworkfabric
rule cmd_name rule_message suggest_message
1008 - ParaPropAdd networkfabric device upgrade cmd networkfabric device upgrade update parameter version: added property required=True please remove property required=True for parameter version of cmd networkfabric device upgrade
1006 - ParaAdd networkfabric fabric identity assign cmd networkfabric fabric identity assign added parameter resource_name please remove parameter resource_name for cmd networkfabric fabric identity assign
1007 - ParaRemove networkfabric fabric identity assign cmd networkfabric fabric identity assign removed parameter network_fabric_name please add back parameter network_fabric_name for cmd networkfabric fabric identity assign
1006 - ParaAdd networkfabric fabric identity remove cmd networkfabric fabric identity remove added parameter resource_name please remove parameter resource_name for cmd networkfabric fabric identity remove
1007 - ParaRemove networkfabric fabric identity remove cmd networkfabric fabric identity remove removed parameter network_fabric_name please add back parameter network_fabric_name for cmd networkfabric fabric identity remove
1006 - ParaAdd networkfabric fabric identity show cmd networkfabric fabric identity show added parameter resource_name please remove parameter resource_name for cmd networkfabric fabric identity show
1007 - ParaRemove networkfabric fabric identity show cmd networkfabric fabric identity show removed parameter network_fabric_name please add back parameter network_fabric_name for cmd networkfabric fabric identity show
1006 - ParaAdd networkfabric fabric identity wait cmd networkfabric fabric identity wait added parameter resource_name please remove parameter resource_name for cmd networkfabric fabric identity wait
1007 - ParaRemove networkfabric fabric identity wait cmd networkfabric fabric identity wait removed parameter network_fabric_name please add back parameter network_fabric_name for cmd networkfabric fabric identity wait
1007 - ParaRemove networkfabric l3domain create cmd networkfabric l3domain create removed parameter route_prefix_limit please add back parameter route_prefix_limit for cmd networkfabric l3domain create
1007 - ParaRemove networkfabric l3domain update cmd networkfabric l3domain update removed parameter route_prefix_limit please add back parameter route_prefix_limit for cmd networkfabric l3domain update
1006 - ParaAdd networkfabric nni update-bfd-administrative-state cmd networkfabric nni update-bfd-administrative-state added parameter fabric_name please remove parameter fabric_name for cmd networkfabric nni update-bfd-administrative-state
1007 - ParaRemove networkfabric nni update-bfd-administrative-state cmd networkfabric nni update-bfd-administrative-state removed parameter network_fabric_name please add back parameter network_fabric_name for cmd networkfabric nni update-bfd-administrative-state
⚠️ 1006 - ParaAdd networkfabric acl create cmd networkfabric acl create added parameter control_plane_acl_configuration
⚠️ 1010 - ParaPropUpdate networkfabric acl create cmd networkfabric acl create update parameter acl_type: updated property choices from ['ControlPlaneTrafficPolicy', 'Management', 'Tenant'] to ['ControlPlaneAcl', 'ControlPlaneTrafficPolicy', 'Management', 'Tenant']
⚠️ 1006 - ParaAdd networkfabric acl update cmd networkfabric acl update added parameter control_plane_acl_configuration
⚠️ 1010 - ParaPropUpdate networkfabric acl update cmd networkfabric acl update update parameter acl_type: updated property choices from ['ControlPlaneTrafficPolicy', 'Management', 'Tenant'] to ['ControlPlaneAcl', 'ControlPlaneTrafficPolicy', 'Management', 'Tenant']
⚠️ 1011 - SubgroupAdd networkfabric bootstrapdevice sub group networkfabric bootstrapdevice added
⚠️ 1011 - SubgroupAdd networkfabric bootstrapinterface sub group networkfabric bootstrapinterface added
⚠️ 1006 - ParaAdd networkfabric controller create cmd networkfabric controller create added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric controller create cmd networkfabric controller create added parameter mi_user_assigned
⚠️ 1011 - SubgroupAdd networkfabric controller identity sub group networkfabric controller identity added
⚠️ 1006 - ParaAdd networkfabric controller update cmd networkfabric controller update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric controller update cmd networkfabric controller update added parameter mi_user_assigned
⚠️ 1011 - SubgroupAdd networkfabric device identity sub group networkfabric device identity added
⚠️ 1001 - CmdAdd networkfabric device resync-certificate cmd networkfabric device resync-certificate added
⚠️ 1001 - CmdAdd networkfabric device resync-password cmd networkfabric device resync-password added
⚠️ 1006 - ParaAdd networkfabric device run-rw cmd networkfabric device run-rw added parameter command_url
⚠️ 1006 - ParaAdd networkfabric device update cmd networkfabric device update added parameter identity_selector
⚠️ 1006 - ParaAdd networkfabric device update cmd networkfabric device update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric device update cmd networkfabric device update added parameter mi_user_assigned
⚠️ 1006 - ParaAdd networkfabric device upgrade cmd networkfabric device upgrade added parameter rw_device_config_url
⚠️ 1010 - ParaPropUpdate networkfabric externalnetwork update-bfd-administrative-state cmd networkfabric externalnetwork update-bfd-administrative-state update parameter external_network_name: updated property options from ['--external-network-name'] to ['--external-network-name', '--resource-name']
⚠️ 1001 - CmdAdd networkfabric externalnetwork update-static-route-bfd-administrative-state cmd networkfabric externalnetwork update-static-route-bfd-administrative-state added
⚠️ 1010 - ParaPropUpdate networkfabric fabric arm-configuration-diff cmd networkfabric fabric arm-configuration-diff update parameter network_fabric_name: updated property options from ['--network-fabric-name'] to ['--network-fabric-name', '--resource-name']
⚠️ 1010 - ParaPropUpdate networkfabric fabric commit-batch-status cmd networkfabric fabric commit-batch-status update parameter network_fabric_name: updated property options from ['--network-fabric-name'] to ['--network-fabric-name', '--resource-name']
⚠️ 1006 - ParaAdd networkfabric fabric commit-configuration cmd networkfabric fabric commit-configuration added parameter commit_policy
⚠️ 1006 - ParaAdd networkfabric fabric commit-configuration cmd networkfabric fabric commit-configuration added parameter commit_stage
⚠️ 1006 - ParaAdd networkfabric fabric commit-configuration cmd networkfabric fabric commit-configuration added parameter devices
⚠️ 1006 - ParaAdd networkfabric fabric create cmd networkfabric fabric create added parameter authorized_transceiver
⚠️ 1006 - ParaAdd networkfabric fabric create cmd networkfabric fabric create added parameter feature_flags
⚠️ 1006 - ParaAdd networkfabric fabric create cmd networkfabric fabric create added parameter qos_configuration
⚠️ 1010 - ParaPropUpdate networkfabric fabric discard-commit-batch cmd networkfabric fabric discard-commit-batch update parameter network_fabric_name: updated property options from ['--network-fabric-name'] to ['--network-fabric-name', '--resource-name']
⚠️ 1010 - ParaPropUpdate networkfabric fabric lock-fabric cmd networkfabric fabric lock-fabric update parameter network_fabric_name: updated property options from ['--network-fabric-name'] to ['--network-fabric-name', '--resource-name']
⚠️ 1001 - CmdAdd networkfabric fabric resync-certificate cmd networkfabric fabric resync-certificate added
⚠️ 1001 - CmdAdd networkfabric fabric resync-password cmd networkfabric fabric resync-password added
⚠️ 1001 - CmdAdd networkfabric fabric rotate-certificate cmd networkfabric fabric rotate-certificate added
⚠️ 1001 - CmdAdd networkfabric fabric rotate-password cmd networkfabric fabric rotate-password added
⚠️ 1006 - ParaAdd networkfabric fabric update cmd networkfabric fabric update added parameter authorized_transceiver
⚠️ 1006 - ParaAdd networkfabric fabric update cmd networkfabric fabric update added parameter feature_flags
⚠️ 1006 - ParaAdd networkfabric fabric update cmd networkfabric fabric update added parameter qos_configuration
⚠️ 1010 - ParaPropUpdate networkfabric fabric view-device-configuration cmd networkfabric fabric view-device-configuration update parameter network_fabric_name: updated property options from ['--network-fabric-name'] to ['--network-fabric-name', '--resource-name']
⚠️ 1011 - SubgroupAdd networkfabric interface identity sub group networkfabric interface identity added
⚠️ 1006 - ParaAdd networkfabric interface update cmd networkfabric interface update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric interface update cmd networkfabric interface update added parameter mi_user_assigned
⚠️ 1001 - CmdAdd networkfabric internalnetwork update-static-route-bfd-administrative-state cmd networkfabric internalnetwork update-static-route-bfd-administrative-state added
⚠️ 1006 - ParaAdd networkfabric l2domain create cmd networkfabric l2domain create added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric l2domain create cmd networkfabric l2domain create added parameter mi_user_assigned
⚠️ 1011 - SubgroupAdd networkfabric l2domain identity sub group networkfabric l2domain identity added
⚠️ 1006 - ParaAdd networkfabric l2domain update cmd networkfabric l2domain update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric l2domain update cmd networkfabric l2domain update added parameter mi_user_assigned
⚠️ 1006 - ParaAdd networkfabric l3domain create cmd networkfabric l3domain create added parameter export_policy_configuration
⚠️ 1006 - ParaAdd networkfabric l3domain create cmd networkfabric l3domain create added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric l3domain create cmd networkfabric l3domain create added parameter mi_user_assigned
⚠️ 1006 - ParaAdd networkfabric l3domain create cmd networkfabric l3domain create added parameter v4route_prefix_limit
⚠️ 1006 - ParaAdd networkfabric l3domain create cmd networkfabric l3domain create added parameter v6route_prefix_limit
⚠️ 1011 - SubgroupAdd networkfabric l3domain identity sub group networkfabric l3domain identity added
⚠️ 1006 - ParaAdd networkfabric l3domain update cmd networkfabric l3domain update added parameter export_policy_configuration
⚠️ 1006 - ParaAdd networkfabric l3domain update cmd networkfabric l3domain update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric l3domain update cmd networkfabric l3domain update added parameter mi_user_assigned
⚠️ 1006 - ParaAdd networkfabric l3domain update cmd networkfabric l3domain update added parameter v4route_prefix_limit
⚠️ 1006 - ParaAdd networkfabric l3domain update cmd networkfabric l3domain update added parameter v6route_prefix_limit
⚠️ 1006 - ParaAdd networkfabric neighborgroup create cmd networkfabric neighborgroup create added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric neighborgroup create cmd networkfabric neighborgroup create added parameter mi_user_assigned
⚠️ 1011 - SubgroupAdd networkfabric neighborgroup identity sub group networkfabric neighborgroup identity added
⚠️ 1001 - CmdAdd networkfabric neighborgroup resync cmd networkfabric neighborgroup resync added
⚠️ 1006 - ParaAdd networkfabric neighborgroup update cmd networkfabric neighborgroup update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric neighborgroup update cmd networkfabric neighborgroup update added parameter mi_user_assigned
⚠️ 1010 - ParaPropUpdate networkfabric nni update-bfd-administrative-state cmd networkfabric nni update-bfd-administrative-state update parameter network_to_network_interconnect_name: updated property options from ['--network-to-network-interconnect-name', '--nni-name'] to ['--network-to-network-interconnect-name', '--nni-name', '--resource-name']
⚠️ 1001 - CmdAdd networkfabric nni update-npb-static-route-bfd-administrative-state cmd networkfabric nni update-npb-static-route-bfd-administrative-state added
⚠️ 1011 - SubgroupAdd networkfabric npb identity sub group networkfabric npb identity added
⚠️ 1006 - ParaAdd networkfabric tap create cmd networkfabric tap create added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric tap create cmd networkfabric tap create added parameter mi_user_assigned
⚠️ 1011 - SubgroupAdd networkfabric tap identity sub group networkfabric tap identity added
⚠️ 1010 - ParaPropUpdate networkfabric tap resync cmd networkfabric tap resync update parameter network_tap_name: updated property options from ['--network-tap-name'] to ['--network-tap-name', '--resource-name']
⚠️ 1006 - ParaAdd networkfabric tap update cmd networkfabric tap update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric tap update cmd networkfabric tap update added parameter mi_user_assigned
⚠️ 1006 - ParaAdd networkfabric taprule create cmd networkfabric taprule create added parameter identity_selector
⚠️ 1006 - ParaAdd networkfabric taprule create cmd networkfabric taprule create added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric taprule create cmd networkfabric taprule create added parameter mi_user_assigned
⚠️ 1009 - ParaPropRemove networkfabric taprule create cmd networkfabric taprule create update parameter polling_interval_in_seconds: removed property choices=['120', '30', '60', '90']
⚠️ 1011 - SubgroupAdd networkfabric taprule identity sub group networkfabric taprule identity added
⚠️ 1006 - ParaAdd networkfabric taprule update cmd networkfabric taprule update added parameter identity_selector
⚠️ 1006 - ParaAdd networkfabric taprule update cmd networkfabric taprule update added parameter mi_system_assigned
⚠️ 1006 - ParaAdd networkfabric taprule update cmd networkfabric taprule update added parameter mi_user_assigned

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

Hi @idanielsteven,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Collaborator

yonzhan commented Jul 30, 2025

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

@github-actions
Copy link

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>

Copy link
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 managed network fabric extension for the 7.x CLI to use the 2025-07-15-stable API version, replacing the previous 2024-06-15-preview API. The update introduces new certificate and password rotation commands, enhanced schema definitions, and identity management features for network devices.

Key Changes:

  • Updates API version from 2024-06-15-preview to 2025-07-15 across all network fabric operations
  • Adds new certificate and password rotation/resync commands for network fabrics
  • Introduces device identity management functionality
  • Expands schema definitions with new properties for QoS configuration, authorized transceivers, and secret rotation

Reviewed Changes

Copilot reviewed 90 out of 319 changed files in this pull request and generated 1 comment.

File Description
fabric operations Updated API version and added new rotation/resync commands with enhanced response schemas
external network Added new BFD administrative state commands and updated schemas with network fabric ID
device identity Added complete identity management functionality with assign/remove/show/wait commands
Comments suppressed due to low confidence (1)

src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_rotate_certificate.py:22

  • The API version '2025-07-15' does not exist as of my knowledge cutoff in January 2025. This appears to be a future API version that may not be available yet.
        "version": "2025-07-15",

_args_schema.authorized_transceiver = AAZObjectArg(
options=["--authorized-transceiver"],
arg_group="Properties",
help="Authorized transciever configuration for NetworkFabric.",
Copy link

Copilot AI Jul 30, 2025

Choose a reason for hiding this comment

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

The word 'transciever' is misspelled. It should be 'transceiver'.

Suggested change
help="Authorized transciever configuration for NetworkFabric.",
help="Authorized transceiver configuration for NetworkFabric.",

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

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

Hi @idanielsteven

⚠️ Release Requirements

Module: managednetworkfabric

  • ⚠️ Please update VERSION to be 8.0.0b8 in src/managednetworkfabric/setup.py
  • ⚠️ Set azext.isPreview to true in azext_metadata.json for managednetworkfabric

Notes

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Jul 30, 2025
@idanielsteven idanielsteven changed the title Managed network fabric extension updates for 7.x CLI using 2025-07-15-stable API. Managed network fabric extension updates for 9.x CLI using 2025-07-15-stable API. Jul 30, 2025
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 release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants