Skip to content

Conversation

@snguyen64
Copy link
Contributor

@snguyen64 snguyen64 commented Oct 22, 2025

retina-network-flow-logs is being renamed to container network logs.

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.

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

azure-client-tools-bot-prd bot commented Oct 22, 2025

⚠️Azure CLI Extensions Breaking Change Test
⚠️aks-preview
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd aks create cmd aks create added parameter enable_container_network_logs
⚠️ 1008 - ParaPropAdd aks create cmd aks create update parameter enable_retina_flow_logs: added property deprecate_info_hide=True
⚠️ 1008 - ParaPropAdd aks create cmd aks create update parameter enable_retina_flow_logs: added property deprecate_info_redirect=--enable-container-network-logs
⚠️ 1008 - ParaPropAdd aks create cmd aks create update parameter enable_retina_flow_logs: added property deprecate_info_target=--enable-retina-flow-logs
⚠️ 1006 - ParaAdd aks update cmd aks update added parameter disable_container_network_logs
⚠️ 1006 - ParaAdd aks update cmd aks update added parameter enable_container_network_logs
⚠️ 1008 - ParaPropAdd aks update cmd aks update update parameter disable_retina_flow_logs: added property deprecate_info_hide=True
⚠️ 1008 - ParaPropAdd aks update cmd aks update update parameter disable_retina_flow_logs: added property deprecate_info_redirect=--disable-container-network-logs
⚠️ 1008 - ParaPropAdd aks update cmd aks update update parameter disable_retina_flow_logs: added property deprecate_info_target=--disable-retina-flow-logs
⚠️ 1008 - ParaPropAdd aks update cmd aks update update parameter enable_retina_flow_logs: added property deprecate_info_hide=True
⚠️ 1008 - ParaPropAdd aks update cmd aks update update parameter enable_retina_flow_logs: added property deprecate_info_redirect=--enable-container-network-logs
⚠️ 1008 - ParaPropAdd aks update cmd aks update update parameter enable_retina_flow_logs: added property deprecate_info_target=--enable-retina-flow-logs

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

Hi @snguyen64,
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 Oct 22, 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>

@github-actions
Copy link

github-actions bot commented Oct 22, 2025

Hi @snguyen64

Release Suggestions

Module: aks-preview

  • Update VERSION to 19.0.0b7 in src/aks-preview/setup.py

Notes

@snguyen64 snguyen64 force-pushed the nguyensteven/cnl-cli-update branch from b79fe49 to 6d80acd Compare October 22, 2025 18:57
@snguyen64 snguyen64 marked this pull request as ready for review October 22, 2025 20:58
Copilot AI review requested due to automatic review settings October 22, 2025 20:58
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 renames the "retina flow logs" feature to "container network logs" across the AKS preview extension, introducing new CLI parameters while maintaining backward compatibility with deprecated flags.

Key changes:

  • Introduces --enable-container-network-logs and --disable-container-network-logs parameters
  • Deprecates existing --enable-retina-flow-logs and --disable-retina-flow-logs parameters
  • Updates internal function names and test cases to reflect the new terminology

Reviewed Changes

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

Show a summary per file
File Description
src/aks-preview/linter_exclusions.yml Adds linter exclusions for the new container network logs parameters
src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py Renames test function and updates test cases to use new parameter names, adds test for deprecated flag backward compatibility
src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py Updates integration test to use new CLI parameters and re-enables previously commented test steps
src/aks-preview/azext_aks_preview/managed_cluster_decorator.py Renames internal function from get_retina_flow_logs to get_container_network_logs with fallback support for deprecated parameters
src/aks-preview/azext_aks_preview/custom.py Adds new parameter definitions for container network logs in create and update functions
src/aks-preview/azext_aks_preview/_params.py Registers new CLI parameters with deprecation warnings for old parameters
src/aks-preview/azext_aks_preview/_help.py Updates help text to document new parameters and mark old ones as deprecated
src/aks-preview/HISTORY.rst Documents the changes in the version history

FumingZhang
FumingZhang previously approved these changes Oct 27, 2025
@yanzhudd yanzhudd merged commit 0640335 into Azure:main Oct 28, 2025
25 checks passed
FumingZhang pushed a commit to FumingZhang/azure-cli-extensions that referenced this pull request Oct 28, 2025
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.

6 participants