forked from sonic-net/sonic-utilities
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sync to master #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[config] Call hostname service to config hostname instead
$ config vlan add 1000 $ config vlan member add 1000 Ethernet1 $ config vlan member add 1000 Ethernet9_1 -u $ config vlan add 2000 $ config vlan member add 2000 Ethernet1 $ config vlan member add 2000 Ethernet9_2 -u $ show vlan config Name VID Member Mode -------- ----- ----------- -------- Vlan1000 1000 Ethernet1 tagged Ethernet9_1 untagged Vlan2000 2000 Ethernet1 tagged Ethernet9_2 untagged $ config vlan member del 1000 Ethernet1 $ config vlan member del 2000 Ethernet $ show vlan config Name VID Member Mode -------- ----- ----------- -------- Vlan1000 1000 Ethernet9_1 untagged Vlan2000 2000 Ethernet9_2 untagged $ config vlan del 1000 $ config vlan del 2000 $ show vlan config Name VID Member Mode ------ ----- -------- ------ Signed-off-by: Wataru Ishida <[email protected]>
…ments (#158) * First code-drop dealing with intf_description and intf_status enhancements I have taken care of the following items as part of this patch. There is another patch coming right after with changes made over a different repo: * Implemented a proper "show interface description" command -- i entirely removed the old one. * Enabled user to query system for a specific interface. * Extended "show interface status" command to do the same as above (query a specific interface). * Rewrote "show interface status" and integrated this code with "show interface description" one to prevent code-duplication and enhance modularity. * Added "speed" attribute as part of "show interface status" command. admin@lnos-x1-a-asw02:~$ show interfaces description Command: intfutil description Interface Oper Admin Alias Description ----------- ------ ------- ------------- ----------------------- Ethernet112 up up fiftyGigE1/9 Special interface no. 1 Ethernet114 down down fiftyGigE1/10 N/A Ethernet116 up up fiftyGigE1/11 Special interface no. 2 Ethernet118 down down fiftyGigE1/12 N/A Ethernet120 up up fiftyGigE1/13 N/A Ethernet122 down down fiftyGigE1/14 N/A Ethernet124 down up fiftyGigE1/15 N/A admin@lnos-x1-a-asw02:~$ show interfaces status | more Command: intfutil status Interface Lanes Speed MTU Alias Oper Admin ----------- ------- ------- ----- ------------- ------ ------- Ethernet112 113,114 50G 9100 fiftyGigE1/9 up up Ethernet114 115,116 N/A 1500 fiftyGigE1/10 down down Ethernet116 117,118 50G 9100 fiftyGigE1/11 up up Ethernet118 119,120 N/A 1500 fiftyGigE1/12 down down Ethernet120 121,122 N/A 9100 fiftyGigE1/13 up up Ethernet122 123,124 N/A 1500 fiftyGigE1/14 down down Ethernet124 125,126 N/A 9100 fiftyGigE1/15 down up * Removing commented line as per review-comments.
Signed-off-by: Qi Luo <[email protected]>
* [PSU CLI] Align PSU CLI output with SONiC CLI output template * [PSU CLI] Removed textonly mode because it's unused with new output format
Signed-off-by: Shu0T1an ChenG <[email protected]>
* Add utility to configure ECN WRED parameters Signed-off-by: Andriy Moroz <[email protected]> * Fix verbose flag passing thru Signed-off-by: Andriy Moroz <[email protected]> * Fixed ignoring parameters which equal 0 Signed-off-by: Andriy Moroz <[email protected]>
Signed-off-by: Shu0T1an ChenG <[email protected]>
Signed-off-by: Andriy Moroz <[email protected]>
* [TACACS+]: Add configuration support for TACACS+ * Add config and show commands for TACACS+ * Add hostcfgd to listen configDB for TACACS+ and AAA, modify the pam configuration for Authentication in host. Signed-off-by: [email protected] * [TACACS+]: Update config command * Add help comments for TACACS+ command * Use 'default' command to recover TACACS+ configuration Signed-off-by: [email protected] * [TACACS+]: Adapt to the change for set_entry in ConfigDBConnector * The method set_entry in class ConfigDBConnector has changed to update all column key-value tuples. Modify the config command to adapt to this API change. Signed-off-by: Chenchen Qi <[email protected]> * [TACACS+]: Move hostcfgd to sonic-buildimage * Command list config aaa authentication login [{tacacs+, local} | default] config aaa authentication failthrough [enable | disable | default] config tacacs passkey <TEXT> config tacacs authtype [pap | chap | mschap] config tacacs timeout <0-60> config tacacs add <ip_address> --port <1–65535> --timeout <1–60> --key <TEXT> --type [pap | chap | mschap] --pri <1-64> config tacacs delete <ip_address> show aaa show tacacs Signed-off-by: Chenchen Qi <[email protected]> * [TACACS+]: Replace set_entry with mod_entry * Replace set_entry with mod_entry when modify the specific key-value pair in configdb. Signed-off-by: Chenchen Qi <[email protected]> * [TACACS+]: Add default value print for TACACS+ show command Signed-off-by: Chenchen Qi <[email protected]>
Group columns in OK/DROP pairs Add option to show empty lines now hidden by default Signed-off-by: marian-pritsak <[email protected]>
Signed-off-by: marian-pritsak <[email protected]>
* Also change 'Table name' to 'Rule name' in header of show_rule() output * Also remove unused imports * Also add ACL_TABLE_TYPE_MIRROR constant, other small tweaks, comments and docstrings
* Simplify couple functions * Use vlan and mac address to check that arp entry has corresponding fdb entry * Send directed GARP right before fast-reload procedure
Signed-off-by: marian-pritsak <[email protected]>
…om, lpmode, presence) (#182)
Signed-off-by: Sihui Han <[email protected]>
…ed to sonic-platform-common repo (#184) - Also increment package version to 1.2
* Add portconfig utility Signed-off-by: Andriy Moroz <[email protected]> * Fix units conversion in scripts/intfutil Signed-off-by: Andriy Moroz <[email protected]> * Remove old script Signed-off-by: Andriy Moroz <[email protected]>
* [sonic_installer] sync filesystem after file copy is done * [sonics-installer] sleep 3 seconds after executing sync
…l when available (#188) * [fast-reboot] Explicitly call Linux native reboot tool * [reboot tool] Reboot device with platform specific tool when available /usr/bin is in front of /sbin in search path. Adding reboot script here will get executed when reboot was called without absolute path. This script will call platform specific reboot tool (name: platform_reboot under device folder) when available. Otherwise, dispatch to native Linux reboot. * [reboot] call sync before calling platform specific reboot tool The platform specific reboot tool could be power cycling. * [reboot] sleep 3 seconds after sync-ing * [reboot] also stop snmp service
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.