Repository navigation
Network Fabric CLI updates for 2026-07-15-preview API including testing updates - #10608
Open
idanielsteven wants to merge 5 commits into
Open
idanielsteven wants to merge 5 commits into
idanielsteven wants to merge 5 commits into
Conversation
Contributor
|
Thank you for your contribution idanielsteven! We will review the pull request and get back to you soon. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The CLI example omits a required resource group, while the release notes misspell command names and incorrectly label existing actions as new.
3 open issues
What changed in this PR
Updates the Managed Network Fabric extension to 10.0.0b5 for the 2026-07-15-preview API, extending command support and strengthening scenario response checks.
Changes:
- Updates generated API bindings, operation metadata, command names, and parameter aliases.
- Adds Fabric v2 command groups and custom handling for validation and bootstrap-device commands.
- Expands response assertions, updates scenarios and recordings, and refreshes release metadata.
Paths use P/ for src/managednetworkfabric/ and E/ for src/managednetworkfabric/azext_managednetworkfabric/.
| File | Description |
|---|---|
P/setup.py |
Bumps extension version and API description. |
P/HISTORY.rst |
Adds release notes and planned functionality. |
E/tests/unit/test_custom_commands.py |
Updates custom-handler imports. |
E/tests/latest/utils/output_checks.py |
Normalizes configured assertion values. |
E/tests/latest/utils/__init__.py |
Introduces shared test-helper package. |
E/tests/latest/test_taprule_resync.py |
Adds and forwards status checks. |
E/tests/latest/test_tap_resync.py |
Consolidates scenarios and checks status. |
E/tests/latest/test_rack.py |
Checks rack response fields. |
E/tests/latest/test_npb.py |
Checks packet-broker response fields. |
E/tests/latest/test_nni_update.py |
Enables the second update scenario. |
E/tests/latest/test_nfc_update.py |
Enables additional controller update scenarios. |
E/tests/latest/test_nf_view_device_configuration.py |
Uses renamed command and checks status. |
E/tests/latest/test_nf_validate_configuration.py |
Uses renamed command and checks results. |
E/tests/latest/test_nf_upgrade_start.py |
Adds upgrade status assertion. |
E/tests/latest/test_nf_run_diagnostic.py |
Adds fabric diagnostic scenario. |
E/tests/latest/test_nf_rotate_password.py |
Consolidates scenarios and checks status. |
E/tests/latest/test_nf_rotate_certificate.py |
Consolidates scenarios and checks status. |
E/tests/latest/test_nf_resync_certificate.py |
Consolidates scenarios and checks status. |
E/tests/latest/test_nf_provision.py |
Adds provisioning status assertion. |
E/tests/latest/test_nf_lock_fabric.py |
Updates parameters and checks status. |
E/tests/latest/test_nf_discard_commit_batch.py |
Updates parameters and checks status. |
E/tests/latest/test_nf_deprovision.py |
Adds deprovisioning status assertion. |
E/tests/latest/test_nf_commit_configuration.py |
Uses renamed command and checks status. |
E/tests/latest/test_nf_commit_batch_status.py |
Consolidates scenarios and checks status. |
E/tests/latest/test_networkmonitor_update.py |
Removes redundant legacy-parameter scenario. |
E/tests/latest/test_networkmonitor_create.py |
Adds create-response assertions. |
E/tests/latest/test_l3domain_update.py |
Corrects arguments and enables alternate scenario. |
E/tests/latest/test_externalnetwork_option_b_update.py |
Checks resource state after update. |
E/tests/latest/test_device_upgrade.py |
Adds upgrade status assertion. |
E/tests/latest/test_device_update_admin_state.py |
Adds administrative-action status assertion. |
E/tests/latest/test_device_rw.py |
Adds command status assertion. |
E/tests/latest/test_device_refresh_configuration.py |
Uses renamed refresh command. |
E/tests/latest/test_device_reboot_ungraceful_ztp.py |
Forwards configured reboot status check. |
E/tests/latest/test_device_reboot_ungraceful_noztp.py |
Forwards configured reboot status check. |
E/tests/latest/test_device_reboot_graceful_ztp.py |
Updates name parameter and status check. |
E/tests/latest/test_device_reboot_graceful_noztp.py |
Forwards configured reboot status check. |
E/tests/latest/test_bootstrapdevice_resync_password.py |
Removes standalone password-resync scenario. |
E/tests/latest/test_bootstrapdevice_refresh_config.py |
Removes standalone refresh scenario. |
E/tests/latest/test_bootstrapdevice_reboot.py |
Removes standalone reboot scenario. |
E/tests/latest/recordings/test_GA_bootstrapdevice_run_ro_command_scenario1.yaml |
Adds bootstrap read-only command recording. |
E/operations/fabric/_run_validation.py |
Customizes validation input serialization. |
E/operations/fabric/__init__.py |
Exports validation customization. |
E/operations/device/_run_validation.py |
Customizes device validation serialization. |
E/operations/device/__init__.py |
Exports device validation customization. |
E/operations/bootstrapdevice/_run_rw_command.py |
Remaps and serializes command input. |
E/operations/bootstrapdevice/_run_ro_command.py |
Remaps and serializes command input. |
E/operations/bootstrapdevice/__init__.py |
Adds customization package. |
E/operations/bootstrapdevice_resync_password.py |
Clarifies docstrings only. |
E/custom/fabric_rotate_certificate.py |
Removes return from error-handler call. |
E/custom/fabric_resync_password.py |
Removes return from error-handler call. |
E/custom/device_resync_password.py |
Removes return from error-handler call. |
E/custom/__init__.py |
Re-exports legacy custom-module symbols. |
E/aaz/latest/networkfabric/taprule/_resync.py |
Updates resync API version. |
E/aaz/latest/networkfabric/taprule/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/tap/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/tap/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/tap/_resync.py |
Updates API and standardizes resource name. |
E/aaz/latest/networkfabric/tap/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/routepolicy/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/routepolicy/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/routepolicy/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/npb/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/nni/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/nni/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/nni/_list.py |
Updates API and listed operation fields. |
E/aaz/latest/networkfabric/nni/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/networkmonitor/_delete.py |
Updates API and resource-name options. |
E/aaz/latest/networkfabric/neighborgroup/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/neighborgroup/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/neighborgroup/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/l3domain/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/l3domain/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/l3domain/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/l2domain/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/l2domain/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/l2domain/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/ipprefix/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/ipprefix/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/ipprefix/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/ipextendedcommunity/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/ipextendedcommunity/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/ipextendedcommunity/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/ipcommunity/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/ipcommunity/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/ipcommunity/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/internetgatewayrule/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/internetgatewayrule/_update.py |
Updates API and update-response fields. |
E/aaz/latest/networkfabric/internetgatewayrule/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/internetgatewayrule/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/internetgateway/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/internetgateway/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/internalnetwork/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/internalnetwork/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/internalnetwork/_list.py |
Updates API and listed operation fields. |
E/aaz/latest/networkfabric/internalnetwork/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/interface/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/interface/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/interface/_list.py |
Updates API and listed operation fields. |
E/aaz/latest/networkfabric/fabric/_upgrade.py |
Updates upgrade API version. |
E/aaz/latest/networkfabric/fabric/_rotate_password.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/fabric/_rotate_certificate.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/fabric/_resync_password.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/fabric/_resync_certificate.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/fabric/_provision.py |
Updates provision API version. |
E/aaz/latest/networkfabric/fabric/_lock_fabric.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/fabric/_discard_commit_batch.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/fabric/_deprovision.py |
Updates deprovision API version. |
E/aaz/latest/networkfabric/fabric/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/fabric/_commit_batch_status.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/fabric/__init__.py |
Imports renamed and new fabric commands. |
E/aaz/latest/networkfabric/fabric_v2/vrf/network/__init__.py |
Exports network lifecycle commands. |
E/aaz/latest/networkfabric/fabric_v2/vrf/network/__cmd_group.py |
Registers nested network command group. |
E/aaz/latest/networkfabric/fabric_v2/vrf/__init__.py |
Exports VRF lifecycle commands. |
E/aaz/latest/networkfabric/fabric_v2/vrf/__cmd_group.py |
Registers VRF command group. |
E/aaz/latest/networkfabric/fabric_v2/vlan/__init__.py |
Exports VLAN lifecycle commands. |
E/aaz/latest/networkfabric/fabric_v2/vlan/__cmd_group.py |
Registers VLAN command group. |
E/aaz/latest/networkfabric/fabric_v2/__init__.py |
Exports Fabric v2 lifecycle commands. |
E/aaz/latest/networkfabric/fabric_v2/__cmd_group.py |
Registers Fabric v2 command group. |
E/aaz/latest/networkfabric/externalnetwork/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/externalnetwork/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/externalnetwork/_list.py |
Updates API and listed operation fields. |
E/aaz/latest/networkfabric/externalnetwork/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/device/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/device/_upgrade.py |
Updates upgrade API version. |
E/aaz/latest/networkfabric/device/_update_admin_state.py |
Updates API and administrative-state examples. |
E/aaz/latest/networkfabric/device/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/device/_run_rw.py |
Updates read/write command API version. |
E/aaz/latest/networkfabric/device/_run_ro.py |
Updates read-only command API version. |
E/aaz/latest/networkfabric/device/_resync_password.py |
Updates password-resync API version. |
E/aaz/latest/networkfabric/device/_resync_certificate.py |
Updates certificate-resync API version. |
E/aaz/latest/networkfabric/device/_reboot.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/device/__init__.py |
Imports renamed and new device commands. |
E/aaz/latest/networkfabric/controller/_delete.py |
Updates delete API version. |
E/aaz/latest/networkfabric/bootstrapinterface/_wait.py |
Updates API and bootstrap-device argument. |
E/aaz/latest/networkfabric/bootstrapinterface/_show.py |
Updates API, argument, and example. |
E/aaz/latest/networkfabric/bootstrapinterface/_list.py |
Updates API, argument, and examples. |
E/aaz/latest/networkfabric/bootstrapdevice/_wait.py |
Updates wait API version. |
E/aaz/latest/networkfabric/bootstrapdevice/_show.py |
Updates show API version. |
E/aaz/latest/networkfabric/bootstrapdevice/_resync_password.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/bootstrapdevice/_refresh_config.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/bootstrapdevice/_reboot.py |
Updates API and resource-name argument. |
E/aaz/latest/networkfabric/bootstrapdevice/_list.py |
Updates both list API versions. |
E/aaz/latest/networkfabric/bootstrapdevice/__init__.py |
Exports command execution and upgrade operations. |
E/aaz/latest/networkfabric/acl/_wait.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/acl/_show.py |
Updates API and operation-result fields. |
E/aaz/latest/networkfabric/acl/_delete.py |
Updates delete API version. |
E/__init__.py |
Redirects custom loading and removes notice import. |
Review effort: Balanced
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

🤖 PR Validation — ❌ Action needed
❌Azure CLI Extensions Breaking Change Test
This PR adds warning or check suppressions. Fix the underlying warning where possible and justify each remaining suppression in a code comment or the PR description.
22 added suppressions
src/managednetworkfabric/azext_managednetworkfabric/operations/bootstrapdevice/_run_ro_command.py# pylint: disable=protected-accesssrc/managednetworkfabric/azext_managednetworkfabric/operations/bootstrapdevice/_run_rw_command.py# pylint: disable=protected-accesssrc/managednetworkfabric/azext_managednetworkfabric/operations/run_validation.py# pylint: disable=no-member,too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_bootstrapdevice_actions.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_bootstrapdevice_run_ro_command.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_bootstrapdevice_run_rw_command.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_bootstrapinterface_update_admin_state.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device_run_diagnostic.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device_run_validation.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_delegation.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_servicepeer.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_servicepeer_confirm_attachment.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_servicepeer_prepare_attachment.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_servicepeer_revoke.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_vlan.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_vrf.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_vrf_delegation.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_vrf_network.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_fabric_v2_vrf_peering.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf_run_diagnostic.py# pylint: disable=too-few-public-methodssrc/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf_run_validation.py# pylint: disable=too-few-public-methodsNetwork Fabric CLI updates for 2026-07-15-preview API including:
aaz: Azure/aaz#1178
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)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.jsonautomatically.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.