Skip to content

Add 'sudo' to required calls#48

Merged
jleveque merged 2 commits intosonic-net:masterfrom
jleveque:sudo_fixes
May 10, 2017
Merged

Add 'sudo' to required calls#48
jleveque merged 2 commits intosonic-net:masterfrom
jleveque:sudo_fixes

Conversation

@jleveque
Copy link
Contributor

@jleveque jleveque commented May 9, 2017

  • Now calling decode-syseeprom, cat /var/log/syslog and tail -f /var/log/syslog using sudo.
  • Minor refactoring of show logging:
    • Changed option from --tail to --lines
    • Made --follow option into a boolean flag that takes no argument
    • Added abbreviated -l and -f options

TODO: Add decode-syseeprom, cat /var/log/syslog and tail -f /var/log/syslog to /etc/sudoers in sonic-buildimage repo when updating this submodule.

@jleveque jleveque merged commit 3378ef8 into sonic-net:master May 10, 2017
@jleveque jleveque deleted the sudo_fixes branch May 10, 2017 15:47
vdahiya12 pushed a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
…et#48)

[sonic_platform_base/chassis]
1. add _eeprom and get_eeprom into class ChassisBase so that syseepromd can access eeprom related stuff.
2. fix typo (non-asic characters)

[sonic_platform_base/sonic_sfp/sfputilhelper]
For xcvrd, originally we plan to remain the module sfputilbase to provide functions like mapping between logical and physical interfaces. However, SfpUtilBase is an abstract class and can not be instantiated. In that case, a new module sfputilhelper has to be introduced to provide the required interfaces.
1. read_porttab_mappings, which reads port_config.ini and generats mappings
2. get_physical_to_logical
3. get_logical_to_physical
4. is_logical_port

[sonic_platform_base/sfp_base]
support interface get_transceiver_threshold_status
ashutosh-agrawal pushed a commit to ashutosh-agrawal/sonic-utilities that referenced this pull request Apr 18, 2025
* Revert "[counter] Clear counter table when init (sonic-net#45)"

This reverts commit 5ae186f.

* Revert "dhcpv6 per interface counter support (sonic-net#43)"

This reverts commit 2b33d76.

* Update buster to bullseye libyang deb
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.

2 participants