-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Auto-completion, help (?), cmd navigation (up arrow) not working in vtysh on host system. #1124
Conversation
RB= G=lnos-reviewers R=ntrianta,rjonnadu,rmolina,sfardeen,zxu A=
This reverts commit c9a2c92.
This reverts commit 45ab087.
Sync to master
Sync to master
Add config support for nhopself, keepalive and holdtime timers. Add route-map to prefer global nexthops for ebgp learned prefixes.
…ling to a more relevant place for this cmd. Add config support for nhopself, keepalive and holdtime timers. Add route-map to prefer global nexthops for ebgp learned prefixes.
…ling to a more relevant place for this cmd. Add config support for nhopself, keepalive and holdtime timers. Add route-map to prefer global nexthops for ebgp learned prefixes.
Sync to master
…tysh on host system. RB= G=lnos-reviewers R=ntrianta,rjonnadu,rmolina,sfardeen,zxu A=
why are there so many commits in your PR? are you synced with the master to generate the PR? |
This is the commit and sync history of my private branch. I don't think it affect Azure/sonic-buildimage. My private branch is synced to latest master the way github does it. I then generate the PR on the delta. |
it causes issue in the merge messages, the commit message will by default includes all previous commit messages, we have to manually edited it. |
I'm just following regular github process. If you have a suggestion that omits that without squashing the history of my private branch or deleting it, let me know. |
https://help.github.com/articles/creating-a-pull-request-from-a-fork/ We recommend that you make changes in a topic branch, so that you can push followup commits if you receive feedback on your pull request. first, you make yout topic branch exactly the same as the master branch, then cherry-pick your commits and finally generate PR. |
My topic branch/fork is long lived. I sync to the latest master each time, commit to it and I generate the PR as the above link suggests. That's how it picks up the delta of the diffs and the comparison is across the fork and the master. |
as time goes, you will have more and more commits in your PR. We cannot really know which commits is the one you want to merge. |
Of course you do - you have the diffs of what I want to be merged. The PR generates always the delta. And on my side I want the pull requests directly on my forks not on topic branches. This is a valid way to work on github. |
https://gist.github.com/Chaser324/ce0505fbed06b947d962 I think we can discuss the workflow offline. back to the PR, I tried this, vtysh will give me (END), I need to manually type 'q' to make the (END) go away. Am I missing anything here? |
Cmds work fine for me. What exactly are you trying out? |
In files/image_config/environment/environment the vtysh pager is set to more. Sounds like the quagga docker needs more fixing in addition to this one. On our side with frr, the pager is set properly to more and all commands work fine including the sonic show cli as well as everything inside vtysh. admin@lnos-x1-a-asw01:~$ set|grep PAGER What's the VTYSH_PAGER env variable set to in your case? |
I think in this case, the vtysh is looking for the env inside the docker. If frr is working for you, then, can you limit this PR to only FRR? With -t, the vtysh is not working for us. |
Which click cli is it breaking for you? There is no reason why quagga shouldn't match frr on the environment variables but I will test the setting for quagga and will update the diffs. |
Any "show" command (e.g. show bgp sum). Btw, i'm referring to my Quagga fix, not FRR one (yours). |
I will test in quagga and see and fix accordingly if possible. |
@lguohan Ok I fixed this in quagga by pointing the docker's pager to cat instead of less. I tested it extensively and it works. Are you ok with that change? Want me to post the diffs? |
The changes below will complete the fix for quagga/vtysh: diff --git a/debian/quagga.postinst b/debian/quagga.postinst +rm /etc/alternatives/pager Are you ok with those changes? |
I have submitted the PR for quagga as well. Please approve. |
can you update the sonic-quagga submodule head in this PR? |
…ng in vtysh on host system. (sonic-net#1124)
Enable m_isCombinedMirrorV6Table for BFN platform (#1212) [vnet]: Update VNET route table size to 40K for BITMAP implementation (#1132) Default action for Egress ACL Table not poulated. (#1208) Add/Del lag_name_map item according to lag adding and removing (#1124) Increase ip2me CIR/CBR for faster in-band file transfers (#1000)
Enable m_isCombinedMirrorV6Table for BFN platform (sonic-net#1212) [vnet]: Update VNET route table size to 40K for BITMAP implementation (sonic-net#1132) Default action for Egress ACL Table not poulated. (sonic-net#1208) Add/Del lag_name_map item according to lag adding and removing (sonic-net#1124) Increase ip2me CIR/CBR for faster in-band file transfers (sonic-net#1000)
Enable m_isCombinedMirrorV6Table for BFN platform (sonic-net#1212) [vnet]: Update VNET route table size to 40K for BITMAP implementation (sonic-net#1132) Default action for Egress ACL Table not poulated. (sonic-net#1208) Add/Del lag_name_map item according to lag adding and removing (sonic-net#1124) Increase ip2me CIR/CBR for faster in-band file transfers (sonic-net#1000)
[aclorch] Use IPv6 Next Header internally for protocol number on MLNX platform (sonic-net#1343) Add/Del lag_name_map item according to lag adding and removing (sonic-net#1124) Signed-off-by: Ying Xie <ying.xie@microsoft.com>
…-net#1124) The code is to add/del items in LAG_NAME_MAP_TABLE in COUNTERS_DB if a lag is added or removed. The code need the below pull request: sonic-net#51 in Azure/sonic-py-swsssdk read portchannel name from LAG_NAME_MAP_TABLE in COUNTERS_DB sonic-net#51 For use of LAG_NAME_MAP_TABLE in COUNTERS_DB just like fdbshow. I have create another pull request in Azure/sonic-utilities: Show mac learned on lag interface sonic-net#730
…-net#1124) The code is to add/del items in LAG_NAME_MAP_TABLE in COUNTERS_DB if a lag is added or removed. The code need the below pull request: sonic-net#51 in Azure/sonic-py-swsssdk read portchannel name from LAG_NAME_MAP_TABLE in COUNTERS_DB sonic-net#51 For use of LAG_NAME_MAP_TABLE in COUNTERS_DB just like fdbshow. I have create another pull request in Azure/sonic-utilities: Show mac learned on lag interface sonic-net#730
Auto-completion, help (?), cmd navigation (up/down arrows) not working in vtysh on host system.
This fix complements sonic-net/sonic-quagga#19