Skip to content
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

Merged
merged 6 commits into from
Nov 23, 2017

Conversation

nikos-github
Copy link
Contributor

No description provided.

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.
Copy link
Contributor

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"
Copy link
Contributor

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.

@lguohan lguohan merged commit cbd956d into sonic-net:master Nov 23, 2017
@nikos-github nikos-github deleted the fix branch November 23, 2017 01:01
vdahiya12 pushed a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
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.
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants