-
Notifications
You must be signed in to change notification settings - Fork 664
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
FRR: fix show bgp and clear bgp to provide the full set of cli options available #149
Conversation
Sync to master
clear/main.py
Outdated
# Inserting BGP functionality into cli's clear parse-chain. The insertion point | ||
# and the specific BGP commands to import, will be determined by the routing-stack | ||
# being elected. | ||
# Inserting BGP functionality into cli's show parse-chain. |
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.
Please do s/show/clear.
show/main.py
Outdated
@cli.command() | ||
@click.argument('bgp_args', nargs = -1, required = False) | ||
def bgp(bgp_args): | ||
bgp_cmd = "show bgp" |
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.
Please add a command description for both "show bgp" and "clear bgp".
We had this before for clear: """Clear BGP peers / state""" and something similar for show.
Configure Azure Pipelines to run unit tests on all packages, build all Python wheels and publish the test results, test coverage and resulting wheels. Note: Azure Pipelines currently has a limitation such that it does not properly support publishing multiple test coverage reports in the same pipeline. If you publish multiple test coverage reports in the same pipeline (which I am doing here), the summary and report is shown for the last task only. Any previously uploaded data is ignored. Hopefully Azure Pipelines will add support for multiple test coverage reports in the near future. See [here](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=azure-devops#is-code-coverage-data-merged-when-multiple-files-are-provided-as-input-to-the-task-or-multiple-tasks-are-used-in-the-pipeline) for more info.
Close EEPROM lock file after unlocking. Python 3 now outputs warnings such as the following to stderr if a file descriptor is left open: ``` /usr/local/bin/decode-syseeprom:171 : ResourceWarning : unclosed file <_io.TextIOWrapper name='/var/run/hw-management/eeprom/vpd_info' mode='r' encoding='UTF-8'> ``` With this change, the above warning is no longer displayed.
No description provided.