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

Add 'sudo' to required calls #48

Merged
merged 2 commits into from
May 10, 2017
Merged

Add 'sudo' to required calls #48

merged 2 commits into from
May 10, 2017

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
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