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

Tjcw fix vtysh for -f - #9148

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

tjcw
Copy link
Contributor

@tjcw tjcw commented Nov 2, 2021

Why I did it

I needed vtysh to be able to take input from a pipe, i.e. something like
{
echo list
echo list
} | vtysh -f -

How I did it

I made changes to the file handling in vtysh so that piped input works; the old code had a dependency on the -f value representing a real file and not a pipe, I removed this dependency

How to verify it

Try
{
echo list
echo list
} | docker -i bgp vtysh
to the SONiC shell

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@tjcw tjcw requested a review from lguohan as a code owner November 2, 2021 09:25
@ghost
Copy link

ghost commented Nov 2, 2021

CLA assistant check
All CLA requirements met.

@tjcw
Copy link
Contributor Author

tjcw commented Nov 2, 2021

Apologies for forgetting to sign off the commit with '-s'

@tjcw
Copy link
Contributor Author

tjcw commented Dec 3, 2021

@lguohan please review this PR

@tjcw
Copy link
Contributor Author

tjcw commented Dec 17, 2021

@lguohan what is the next step for this PR ? I think it is ready for review and merge, but if you think it needs further developement please let me know what area I should attend to. Thanks ! Chris Ward, IBM.

1 similar comment
@tjcw
Copy link
Contributor Author

tjcw commented Jan 5, 2022

@lguohan what is the next step for this PR ? I think it is ready for review and merge, but if you think it needs further developement please let me know what area I should attend to. Thanks ! Chris Ward, IBM.

@tjcw
Copy link
Contributor Author

tjcw commented Jan 21, 2022

@lguohan what is the next step for this PR ? IBM would like it integrated into master so that I do not have to maintain a separate branch.

@linux-foundation-easycla
Copy link

CLA Not Signed

@lguohan
Copy link
Collaborator

lguohan commented Apr 12, 2023

is this upstreamed to frr community?

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.

2 participants