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

[Platform/Celestica]Add BMC serial console logging service #131

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

pphuchar
Copy link
Collaborator

@pphuchar pphuchar commented Jan 2, 2020

- What I did
Add the service to log the serial console output from BMC.
PLATFORMS: Phalanx, Fishbone32, and Fishbone48.

- How I did it
With the new Baseboard CPLD firmware, we can get the BMC serial console output from /dev/ttyS1 device in SONiC. With this, I add the service, bmc-console-log.service, to capture the streaming and append them to the system log.

- How to verify it

  1. Upgrade new Baseboard CPLD.
  2. Install the SONiC image.
  3. Login BMC serial console and type something.
  4. Inspect syslog for "bmc#console" tag.

- Description for the changelog

  • Add BMC serial console logging service

NOTE: This PR must be merged after #130 because this submodule update is applied on top of that.

@pphuchar
Copy link
Collaborator Author

pphuchar commented Jan 2, 2020

Test logs

Output on Phalanx

Linux sonic 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2015-12-19) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help:    http://azure.github.io/SONiC/

Last login: Sat Dec 17 20:37:26 2016
admin@sonic:~$ sudo -s
root@sonic:/home/admin# systemctl status bmc-console-log.service
● bmc-console-log.service - BMC serial console logger
   Loaded: loaded (/etc/systemd/system/bmc-console-log.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2016-12-17 20:24:28 UTC; 16min ago
 Main PID: 7469 (logger)
    Tasks: 1 (limit: 4915)
   Memory: 576.0K
      CPU: 6ms
   CGroup: /system.slice/bmc-console-log.service
           └─7469 logger -p user info -t bmc#console -f /dev/ttyS1

Dec 17 20:24:28 sonic systemd[1]: Starting BMC serial console logger...
Dec 17 20:24:28 sonic bmc-console-log[7467]: Start BMC serial console logger..done.
Dec 17 20:24:28 sonic systemd[1]: Started BMC serial console logger.
Dec 17 20:33:59 sonic bmc#console[7469]: Error: Read failed
Dec 17 20:33:59 sonic bmc#console[7469]: 
Dec 17 20:34:02 sonic bmc#console[7469]: Specified sensor(s) not found!
Dec 17 20:34:02 sonic bmc#console[7469]: 
Dec 17 20:34:02 sonic bmc#console[7469]: PSU dps1100-i2c-24-58 get info Fail!
Dec 17 20:34:02 sonic bmc#console[7469]: 
root@sonic:/home/admin# grep bmc#console /var/log/syslog
Dec 17 20:33:59.482259 sonic INFO bmc#console: Error: Read failed
Dec 17 20:33:59.482874 sonic INFO bmc#console:
Dec 17 20:34:02.035539 sonic INFO bmc#console: Specified sensor(s) not found!
Dec 17 20:34:02.036653 sonic INFO bmc#console:
Dec 17 20:34:02.079082 sonic INFO bmc#console: PSU dps1100-i2c-24-58 get info Fail!
Dec 17 20:34:02.079974 sonic INFO bmc#console:
root@sonic:/home/admin#

Output on Fishbone32

Linux sonic 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2015-12-19) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help:    http://azure.github.io/SONiC/

Last login: Thu Jan  2 06:30:04 2020 from 10.204.52.121
admin@sonic:~$ sudo -s
root@sonic:/home/admin# systemctl status bmc-console-log.service
● bmc-console-log.service - BMC serial console logger
   Loaded: loaded (/etc/systemd/system/bmc-console-log.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-01-02 06:21:59 UTC; 8min ago
 Main PID: 1290 (logger)
    Tasks: 1 (limit: 4915)
   Memory: 584.0K
      CPU: 8ms
   CGroup: /system.slice/bmc-console-log.service
           └─1290 logger -p user info -t bmc#console -f /dev/ttyS1

Jan 02 06:24:48 sonic bmc#console[1290]: 
Jan 02 06:24:48 sonic bmc#console[1290]: logout
Jan 02 06:24:48 sonic bmc#console[1290]: 
Jan 02 06:24:48 sonic bmc#console[1290]: 
Jan 02 06:24:48 sonic bmc#console[1290]: OpenBMC Release as58xx-cl-v1.3.8
Jan 02 06:24:48 sonic bmc#console[1290]: 
Jan 02 06:24:48 sonic bmc#console[1290]: 
Jan 02 06:24:48 sonic bmc#console[1290]: 
Jan 02 06:24:48 sonic bmc#console[1290]: 
Jan 02 06:24:48 sonic bmc#console[1290]: 
root@sonic:/home/admin# show logging bmc#console
Jan  2 06:23:30.879684 sonic INFO bmc#console:
Jan  2 06:23:30.880849 sonic INFO bmc#console:
Jan  2 06:23:30.943817 sonic INFO bmc#console: -bash: 1: command not found
Jan  2 06:23:30.944668 sonic INFO bmc#console:
Jan  2 06:23:56.082992 sonic INFO bmc#console: root@bmc:~# echo #010 #010#010 #010#010 #010#010 #010#010 #010echo "Hello fro m#010 #010#010 #010mm#010 #010 BMC serial console"
Jan  2 06:23:56.084072 sonic INFO bmc#console:
Jan  2 06:23:56.127399 sonic INFO bmc#console: Hello from BMC serial console
Jan  2 06:23:56.128255 sonic INFO bmc#console:
Jan  2 06:24:13.910907 sonic INFO bmc#console: root@bmc:~# sensors#010 #010#010 #010#010 #010#010 #010#010 #010#010 #010#010 #010#007#007#007#007de#007#010 #010#010 #010#007pwd
Jan  2 06:24:13.912025 sonic INFO bmc#console:
Jan  2 06:24:13.937635 sonic INFO bmc#console: /home/root
Jan  2 06:24:13.938427 sonic INFO bmc#console:
Jan  2 06:24:48.511672 sonic INFO bmc#console: root@bmc:~# exit
Jan  2 06:24:48.512836 sonic INFO bmc#console:
Jan  2 06:24:48.723912 sonic INFO bmc#console: logout
Jan  2 06:24:48.724793 sonic INFO bmc#console:
Jan  2 06:24:48.725596 sonic INFO bmc#console:
Jan  2 06:24:48.757162 sonic INFO bmc#console: OpenBMC Release as58xx-cl-v1.3.8
Jan  2 06:24:48.757915 sonic INFO bmc#console:
Jan  2 06:24:48.758619 sonic INFO bmc#console:
Jan  2 06:24:48.759357 sonic INFO bmc#console:
Jan  2 06:24:48.760069 sonic INFO bmc#console:
Jan  2 06:24:48.765593 sonic INFO bmc#console:
root@sonic:/home/admin# 

Output on Fishbone48

Linux sonic 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2015-12-19) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help:    http://azure.github.io/SONiC/

Last login: Thu Jan  2 15:07:40 2020
admin@sonic:~$ sudo -s
root@sonic:/home/admin# systemctl status bmc-console-log.service
● bmc-console-log.service - BMC serial console logger
   Loaded: loaded (/etc/systemd/system/bmc-console-log.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-01-02 15:07:27 UTC; 1min 39s ago
 Main PID: 1422 (logger)
    Tasks: 1 (limit: 4915)
   Memory: 616.0K
      CPU: 12ms
   CGroup: /system.slice/bmc-console-log.service
           └─1422 logger -p user info -t bmc#console -f /dev/ttyS1

Jan 02 15:09:00 sonic bmc#console[1422]: 
Jan 02 15:09:02 sonic bmc#console[1422]: root@bmc:~# exit
Jan 02 15:09:02 sonic bmc#console[1422]: 
Jan 02 15:09:03 sonic bmc#console[1422]: logo
Jan 02 15:09:03 sonic bmc#console[1422]: 
Jan 02 15:09:03 sonic bmc#console[1422]: 
Jan 02 15:09:03 sonic bmc#console[1422]: OpenBMC Release obmc-cl-a16212c
Jan 02 15:09:03 sonic bmc#console[1422]: 
Jan 02 15:09:03 sonic bmc#console[1422]: 
Jan 02 15:09:03 sonic bmc#console[1422]: 
root@sonic:/home/admin# show logging bmc#console
Jan  2 15:08:47.308585 sonic INFO bmc#console:
Jan  2 15:08:47.309692 sonic INFO bmc#console:
Jan  2 15:08:47.360490 sonic INFO bmc#console: -bash: 1: command not found
Jan  2 15:08:47.361333 sonic INFO bmc#console:
Jan  2 15:09:00.472396 sonic INFO bmc#console: root@bmc:~# echo ""#010H"#010e"#010l"#010l"#010o"#010 "#010f"#010r"#010o"#010m"#010 "#010B"#010M"#010C"#010 "#010s"#010e"#010r"#010i"#010a"#010l"#010 "#010c"#010o"#010n"#010s"#010o"#010l"#010e"#010"
Jan  2 15:09:00.473531 sonic INFO bmc#console:
Jan  2 15:09:00.514259 sonic INFO bmc#console: Hello from BMC serial console
Jan  2 15:09:00.515110 sonic INFO bmc#console:
Jan  2 15:09:02.181537 sonic INFO bmc#console: root@bmc:~# exit
Jan  2 15:09:02.182482 sonic INFO bmc#console:
Jan  2 15:09:03.495417 sonic INFO bmc#console: logo
Jan  2 15:09:03.496507 sonic INFO bmc#console:
Jan  2 15:09:03.497348 sonic INFO bmc#console:
Jan  2 15:09:03.540730 sonic INFO bmc#console: OpenBMC Release obmc-cl-a16212c
Jan  2 15:09:03.547939 sonic INFO bmc#console:
Jan  2 15:09:03.548724 sonic INFO bmc#console:
Jan  2 15:09:03.549453 sonic INFO bmc#console:
root@sonic:/home/admin# show platform summary
Platform: x86_64-alibaba_as13-48f8h-cl-r0
HwSKU: AS13-48F8H
ASIC: broadcom
root@sonic:/home/admin# 

@pphuchar pphuchar requested a review from tiantianlv January 2, 2020 09:16
@pphuchar pphuchar self-assigned this Jan 2, 2020
@pphuchar pphuchar added the enhancement New feature or request label Jan 2, 2020
@pphuchar pphuchar changed the title [Platform/celestica][Fishbones/Phalanx] Add BMC serial console logging service. [Platform/celestica]Add BMC serial console logging service Jan 2, 2020
@pphuchar pphuchar changed the title [Platform/celestica]Add BMC serial console logging service [Platform/Celestica]Add BMC serial console logging service Jan 2, 2020
@tiantianlv tiantianlv requested a review from xwang9 January 3, 2020 07:02
@pphuchar
Copy link
Collaborator Author

pphuchar commented Jan 6, 2020

There is a platform submodule conflict with the previous merge, I will rebase the changes on top of it.

@pphuchar pphuchar force-pushed the 201811_cel-add-bmc-serial-console-log branch from b6e1e31 to 307fecf Compare January 6, 2020 05:05
Copy link

@xwang9 xwang9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's fine for me.

@pphuchar pphuchar requested a review from xwang9 January 13, 2020 07:20
Copy link

@xwang9 xwang9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's ok for me.

@tiantianlv tiantianlv merged commit 612c898 into 201811_cel Feb 18, 2020
bbinxie added a commit that referenced this pull request Jul 12, 2020
* [brcmsai]: Updated BRCM SAI Debina package to 3.7.5.1-2 (sonic-net#4916)

Fix for Copp Rules not having Policer Rate-Limit applied.

Signed-off-by: Abhishek Dosi <[email protected]>

* [nephos]: upgrade Nephos SAI version to c749df (sonic-net#4814)

Verified with Nephos nps8365 based platform Accton AS7116-54x.

* "[config]: Multi ASIC loopback changes (sonic-net#4895)

Resubmitting the changes for (sonic-net#4825) with fixes for sonic-bgpcdgd test failures
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>

* [mellanox]: Support warm reboot on MSN4700 (sonic-net#4910)

* [Submodule Update] Sonic-platform-common
[sfp_base] Update return value documentation of channel-specific methods
(#98)
[SfpBase] Fix key name typo in docstring (#99)
[sfp] Tweak key names of some transceiver info fields (#97)
[sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as
in SfpUtilBase (#96)

* [Submodule update] sonic-platform-daemons
[xcvrd] Update key names in 'get_media_settings_value()' (#63)
[xcvrd] Tweak some transceiver info key names (#62)

* [Submodule update] sonic-utilities
[sfpshow][mock_state_db] Tweak key names of some transceiver info fields
(sonic-net#958)
[config] Fix syntax error (sonic-net#966)
[config] Fix indentation level in _get_disabled_services_list() (sonic-net#965)

* [Submodule Update] sonic-swss
[aclorch] Use IPv6 Next Header internally for protocol number on MLNX
platform (sonic-net#1343)

* [Submodule Update]
 Add support for attribute capability query in lua script (sonic-net#362)

* Cherry-pick was not clean. Fixing it.
Signed-off-by: Abhishek Dosi <[email protected]>

* [telemetry] Call sonic-cfggen Once (sonic-net#4901)

sonic-cfggen call is slow and this is taking place in the SONiC
boot up process. The change uses templates to assemble all required
vars into single template file. With this change, telemetry now calls
once into sonic-cfggen.

signed-off-by: Tamer Ahmed <[email protected]>

* [mgmt docker] move pycryptodome installation to the end of the docker building (sonic-net#4917)

* [mgmt docker] move pycryptodome installation to the end of the docker building

Signed-off-by: Ying Xie <[email protected]>

* pin down the version to current: 3.9.8

* comment

* Add support for bcmsh and bcmcmd utlitites in multi ASIC devices (sonic-net#4926)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
This PR has changes to support accessing the bcmsh and bcmcmd utilities on multi ASIC devices
Changes done
- move the link of /var/run/sswsyncd from docker-syncd-brcm.mk to docker_image_ctl.j2
- update the bcmsh and bcmcmd scripts to take -n [ASIC_ID] as an argument on multi ASIC platforms

* [caclmgrd] Improve code reuse (sonic-net#4931)

Improve code reuse in `generate_block_ip2me_traffic_iptables_commands()` function.

* [Submodule Update] sonic-utilities
Intf table migration for APP_DB entries during warmboot (sonic-net#980)
[Multi NPU] Time Improvements to the config reload/load_minigraph
commands  (sonic-net#917)

* [Submodule Update] sonic-py-swssdk
 [MultiDB]: use python class composition to avoid confusion in base
class (#74)

* [Submodule update] sonic-snmpagent. Movent to 201911 Branch with with
following PR's :
Implement cbgpPeer2State in CiscoBgp4MIB (#119)
Fix index nodes in LLDP tables whose access right is not-accessible.
(#112)
 Fix quagga/FRR parser on IPv6 BGP sessions (#122)
 [lint] Fix some syntax errors or warnings (#127)
  Update README.md: Add lgtm badges (#128)
  [Multi-asic]: Support multi-asic platform (#126)
  Simplify test code (#132)
  [Multi-asic]: Namespace support for LLDP and Sensor tables (#131)
  Fix undefined variable and warning message (#134)
  Fix SNMP AgentX socket connection timeout when using
  Namespace.get_all() (#140)
  [Namespace] Fix interfaces counters in InterfacesMIB RFC 2863 (#141)
   Fix LGTM reported alert of PR#141 (#142)

* [bgpcfgd] - Fix a key error during delete (sonic-net#4946)

Co-authored-by: abdosi <[email protected]>
Co-authored-by: gracelicd <[email protected]>
Co-authored-by: arlakshm <[email protected]>
Co-authored-by: Stephen Sun <[email protected]>
Co-authored-by: Abhishek Dosi <[email protected]>
Co-authored-by: Tamer Ahmed <[email protected]>
Co-authored-by: Ying Xie <[email protected]>
Co-authored-by: Joe LeVeque <[email protected]>
Co-authored-by: Prince Sunny <[email protected]>
bbinxie added a commit that referenced this pull request Jul 22, 2020
* [brcmsai]: Updated BRCM SAI Debina package to 3.7.5.1-2 (sonic-net#4916)

Fix for Copp Rules not having Policer Rate-Limit applied.

Signed-off-by: Abhishek Dosi <[email protected]>

* [nephos]: upgrade Nephos SAI version to c749df (sonic-net#4814)

Verified with Nephos nps8365 based platform Accton AS7116-54x.

* "[config]: Multi ASIC loopback changes (sonic-net#4895)

Resubmitting the changes for (sonic-net#4825) with fixes for sonic-bgpcdgd test failures
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>

* [mellanox]: Support warm reboot on MSN4700 (sonic-net#4910)

* [Submodule Update] Sonic-platform-common
[sfp_base] Update return value documentation of channel-specific methods
(#98)
[SfpBase] Fix key name typo in docstring (#99)
[sfp] Tweak key names of some transceiver info fields (#97)
[sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as
in SfpUtilBase (#96)

* [Submodule update] sonic-platform-daemons
[xcvrd] Update key names in 'get_media_settings_value()' (#63)
[xcvrd] Tweak some transceiver info key names (#62)

* [Submodule update] sonic-utilities
[sfpshow][mock_state_db] Tweak key names of some transceiver info fields
(sonic-net#958)
[config] Fix syntax error (sonic-net#966)
[config] Fix indentation level in _get_disabled_services_list() (sonic-net#965)

* [Submodule Update] sonic-swss
[aclorch] Use IPv6 Next Header internally for protocol number on MLNX
platform (sonic-net#1343)

* [Submodule Update]
 Add support for attribute capability query in lua script (sonic-net#362)

* Cherry-pick was not clean. Fixing it.
Signed-off-by: Abhishek Dosi <[email protected]>

* [telemetry] Call sonic-cfggen Once (sonic-net#4901)

sonic-cfggen call is slow and this is taking place in the SONiC
boot up process. The change uses templates to assemble all required
vars into single template file. With this change, telemetry now calls
once into sonic-cfggen.

signed-off-by: Tamer Ahmed <[email protected]>

* [mgmt docker] move pycryptodome installation to the end of the docker building (sonic-net#4917)

* [mgmt docker] move pycryptodome installation to the end of the docker building

Signed-off-by: Ying Xie <[email protected]>

* pin down the version to current: 3.9.8

* comment

* Add support for bcmsh and bcmcmd utlitites in multi ASIC devices (sonic-net#4926)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
This PR has changes to support accessing the bcmsh and bcmcmd utilities on multi ASIC devices
Changes done
- move the link of /var/run/sswsyncd from docker-syncd-brcm.mk to docker_image_ctl.j2
- update the bcmsh and bcmcmd scripts to take -n [ASIC_ID] as an argument on multi ASIC platforms

* [caclmgrd] Improve code reuse (sonic-net#4931)

Improve code reuse in `generate_block_ip2me_traffic_iptables_commands()` function.

* [Submodule Update] sonic-utilities
Intf table migration for APP_DB entries during warmboot (sonic-net#980)
[Multi NPU] Time Improvements to the config reload/load_minigraph
commands  (sonic-net#917)

* [Submodule Update] sonic-py-swssdk
 [MultiDB]: use python class composition to avoid confusion in base
class (#74)

* [Submodule update] sonic-snmpagent. Movent to 201911 Branch with with
following PR's :
Implement cbgpPeer2State in CiscoBgp4MIB (#119)
Fix index nodes in LLDP tables whose access right is not-accessible.
(#112)
 Fix quagga/FRR parser on IPv6 BGP sessions (#122)
 [lint] Fix some syntax errors or warnings (#127)
  Update README.md: Add lgtm badges (#128)
  [Multi-asic]: Support multi-asic platform (#126)
  Simplify test code (#132)
  [Multi-asic]: Namespace support for LLDP and Sensor tables (#131)
  Fix undefined variable and warning message (#134)
  Fix SNMP AgentX socket connection timeout when using
  Namespace.get_all() (#140)
  [Namespace] Fix interfaces counters in InterfacesMIB RFC 2863 (#141)
   Fix LGTM reported alert of PR#141 (#142)

* [bgpcfgd] - Fix a key error during delete (sonic-net#4946)

* [Submodule Update] sonic-utilities
 Fix the None Type Exception when Interface Table does not exist (cold
boot) as part of db migration (sonic-net#986)

* Fix the below frr start.sh jija2 exception in 201911 image syslog: (sonic-net#4958)

File "/usr/local/bin/sonic-cfggen", line 380, in <module>
     main()
   File "/usr/local/bin/sonic-cfggen", line 354, in main
     print(template.render(data))
   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1090, in render
     self.environment.handle_exception()
   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
     reraise(*rewrite_traceback_stack(source=source))
   File "<template>", line 1, in top-level template code
   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 471, in getattr
     return getattr(obj, attribute)
 jinja2.exceptions.UndefinedError: 'WARM_RESTART' is undefined

Signed-off-by: Abhishek Dosi <[email protected]>

* [Submodule update] sonic-snmpagent
 [201911] Fix interface counters in RFC1213 (#144)

* [docker-ptf] Add support for spytest to ptf container (sonic-net#4410)

- Install apt and pip dependencies
- Define traffic generator service

Signed-off-by: Danny Allen <[email protected]>

* [arista] update Arista drivers submodules (sonic-net#4967)

Merge most of the changes that recently made it to master.
This will be the last such merge operation and future commits will only cherry-pick fixes and targeted features.

Major fixes and features,
- reboot cause enhancement with more hardware reboot cause reporting
- fix reboot cause parsing issue with 201811 release
- fix get_change_event logic
- fix error message on missing sysfs entry by our plugins
- final piece of the platform refactors for fan and sensor reporting through the platform API

* [201911][devices] Update SFP keys to align with new standard (sonic-net#4976)

Align SFP key names with new standard defined in sonic-net/sonic-platform-common#97

- hardwarerev -> hardware_rev
- serialnum -> serial
- manufacturename -> manufacturer
- modelname -> model
- Connector -> connector

* [201911][sonic-telemetry] Update submodule (sonic-net#4987)

Point submodule to new 201911 branch of sonic-telemetry and update pointer to the current HEAD of the 201911 branch

* src/sonic-telemetry aaa9188...01b5365 (1):
  > [testdata] Update SFP keys to align with new standard (#39)

* [201911][sudoers] Add `sonic_installer list` to read-only commands (sonic-net#4997)

`sonic_installer list` is a read-only command. Specify it as such in the sudoers file.

This will also ensure the new `show boot` command, which calls `sudo sonic_installer list` under the hood doesn't fail due to permissions.

* [caclmgrd] Filter DHCP packets based on dest port only (sonic-net#4995)

Co-authored-by: abdosi <[email protected]>
Co-authored-by: gracelicd <[email protected]>
Co-authored-by: arlakshm <[email protected]>
Co-authored-by: Stephen Sun <[email protected]>
Co-authored-by: Abhishek Dosi <[email protected]>
Co-authored-by: Tamer Ahmed <[email protected]>
Co-authored-by: Ying Xie <[email protected]>
Co-authored-by: Joe LeVeque <[email protected]>
Co-authored-by: Prince Sunny <[email protected]>
Co-authored-by: Danny Allen <[email protected]>
Co-authored-by: Samuel Angebault <[email protected]>
mudsut4ke pushed a commit that referenced this pull request Jan 25, 2021
…ic-net#4713)

Update sonic-snmpagent submodule with PRs:
89b7b2c  [Multi-asic]: Namespace support for LLDP and Sensor tables (#131)
fcb8955 Simplify test code (#132)
a677876 [Multi-asic]: Support multi-asic platform (#126)

update sonic-py-swsssdk submodule with PRs:
132f8d5  [MultiDB]: use python class composition to avoid confusion in base class (#74)

Signed-off-by: SuvarnaMeenakshi <[email protected]>
mudsut4ke pushed a commit that referenced this pull request Jan 25, 2021
…nic-net#5924)

This should also fix the vsimage check build.

Commits include:

* src/sonic-platform-common a659219...e4883e5 (7):
  > [PsuBase] Reference inherited member constant (#142)
  > Thermalctld APIs for recording min and max temp (#131)
  > Common power consumption and supply APIs for modular chassis (#136)
  > [sonic-platform-base] Introduce APIs for modular chassis support (#124)
  > Remove shebangs from non-executable Python files (#140)
  > [sonic_eeprom] Make compatible with Python 2 and 3 (#127)
  > Add unit test infrastructure (#139)

* src/sonic-platform-daemons 600d043...be21d91 (9):
  > [psud] Import of mock libraries determined by environment variable (#117)
  > [chassisd][thermalctld] Set testing env var at top of file, not in setup_function() (#114)
  > [chassisd][thermalctld] Import os module, now needed for env var checking (#113)
  > [chassisd][thermalctld] Import mock libraries based on environment variable (#112)
  > [xcvrd] Fix the console-script xcvrd startup  (#111)
  > [Thermalctld] Update thermal info to CHASSIS_STATE_DB (#101)
  > PSUd changes to compute power-budget for Modular chassis (#104)
  > Introduce chassisd to monitor status of cards on chassis (#97)
  > [xcvrd] support for integrating Credo Y cable Ports initialization and status updates with xcvrd.  (#105)
mudsut4ke pushed a commit that referenced this pull request Jan 25, 2021
…ic-net#6124)

This PR updates the submodule sonic-platform-common, sonic-platform-daemons

For sonic-platform-common update following commits are added
a8823a3 [sonic_y_cable] add check_mux_direction api for y_cable (#151)
7c0301d Modular Chassis - APIs for midplane monitoring (#148)
6f7d8a0 Fix some LGTM alerts; Add LGTM badges to README.md (#146)

for sonic-platform-daemons update following commits are added
73e6ddd [xcvrd] replace check_active_linked_tor_side api to check_mux_direction (#131)

Signed-off-by: vaibhav-dahiya <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants