Skip to content

Update azure-mgmt-network package version#4444

Merged
LiliDeng merged 1 commit into
microsoft:mainfrom
Balashivaram:bganesan/update/mgmtversion
May 6, 2026
Merged

Update azure-mgmt-network package version#4444
LiliDeng merged 1 commit into
microsoft:mainfrom
Balashivaram:bganesan/update/mgmtversion

Conversation

@Balashivaram
Copy link
Copy Markdown
Contributor

@Balashivaram Balashivaram commented Apr 29, 2026

Description

Updated the "azure-mgmt-network" package version from 19.3.0 to 27.0.0. The new package will have support to update the package with defaultOutboundAccess parameter.

As part of SFI changes, we can't either create private subnet or update private subnet to non private subnet. During the resource creation we are able to create subnet as private via enable_vm_nat parameter, but when we are calling this function create_route_table, we are dropping the defaultOutboundAccess parameter because the azure-mgmt-network package is dropping it. Updating the package will help us update the subnet with defaultOutboundAccess parameter

Related Issue

Before doing the above fix we were facing this issue, where defaultOutBoundAccess parameter is being dropped during this function call create_route_table. With SFI policies, when these parameters are not added the tests will fail with error
image
Note: The above error will be seen only if customer enforces that subnet should not be private in their subscription
After updating the package this parameter getting dropped will be resolved

Type of Change

  • Bug fix
  • New feature
  • [X ] Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Ran internal tests and after the change tests are passing

Before:
image
After:
image

Key Test Cases:

test_network_rules
Impacted LISA Features:

Tested Azure Marketplace Images:

Test Results

image
Image VM Size Result
PASSED / FAILED / SKIPPED

Copilot AI review requested due to automatic review settings April 29, 2026 08:41
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 Azure optional dependency azure-mgmt-network in pyproject.toml, presumably to pick up newer Azure Network API surface/bugfixes for the Azure SUT orchestrator.

Changes:

  • Bump azure-mgmt-network from ~= 19.3.0 to ~= 27.0.0 under the azure optional dependency set.

Comment thread pyproject.toml
@LiliDeng LiliDeng merged commit f156600 into microsoft:main May 6, 2026
30 of 31 checks passed
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.

3 participants