-
Couldn't load subscription status.
- Fork 1.5k
update(cnl): retina flow logs rename to container network logs #9324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| aks create | cmd aks create added parameter enable_container_network_logs |
||
| aks create | cmd aks create update parameter enable_retina_flow_logs: added property deprecate_info_hide=True |
||
| aks create | cmd aks create update parameter enable_retina_flow_logs: added property deprecate_info_redirect=--enable-container-network-logs |
||
| aks create | cmd aks create update parameter enable_retina_flow_logs: added property deprecate_info_target=--enable-retina-flow-logs |
||
| aks update | cmd aks update added parameter disable_container_network_logs |
||
| aks update | cmd aks update added parameter enable_container_network_logs |
||
| aks update | cmd aks update update parameter disable_retina_flow_logs: added property deprecate_info_hide=True |
||
| aks update | cmd aks update update parameter disable_retina_flow_logs: added property deprecate_info_redirect=--disable-container-network-logs |
||
| aks update | cmd aks update update parameter disable_retina_flow_logs: added property deprecate_info_target=--disable-retina-flow-logs |
||
| aks update | cmd aks update update parameter enable_retina_flow_logs: added property deprecate_info_hide=True |
||
| aks update | cmd aks update update parameter enable_retina_flow_logs: added property deprecate_info_redirect=--enable-container-network-logs |
||
| aks update | cmd aks update update parameter enable_retina_flow_logs: added property deprecate_info_target=--enable-retina-flow-logs |
|
Hi @snguyen64, |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
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). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
Hi @snguyen64 Release SuggestionsModule: aks-preview
Notes
|
b79fe49 to
6d80acd
Compare
There was a problem hiding this 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-logsand--disable-container-network-logsparameters - Deprecates existing
--enable-retina-flow-logsand--disable-retina-flow-logsparameters - 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 |
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
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)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.