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

Treat bcmcmd as a supervisor task so we could collect stdout/stderr #1825

Merged
merged 2 commits into from
Jun 29, 2018

Conversation

qiluo-msft
Copy link
Collaborator

Also clean the unix socket file before dsserve

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
@@ -33,5 +34,5 @@ wait_syncd() {
# If this platform has an initialization file for the Broadcom LED microprocessor, load it
if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
wait_syncd
/usr/bin/bcmcmd -t 60 "rcload ${PLATFORM_DIR}/led_proc_init.soc"
supervisorctl start bcmcmd
Copy link
Collaborator

@lguohan lguohan Jun 28, 2018

Choose a reason for hiding this comment

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

change the task name to ledinit #Resolved

Copy link
Contributor

@jleveque jleveque Jun 28, 2018

Choose a reason for hiding this comment

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

+1. This way we can differentiate other tasks run with bcmcmd, if we ever add any. #Resolved

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
Copy link
Contributor

@jleveque jleveque Jun 28, 2018

Choose a reason for hiding this comment

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

Reason for changing? Using #!/usr/bin/env bash will work even if the bash installation directory ever changes (e.g., /sbin/bash). #Resolved

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
@qiluo-msft qiluo-msft merged commit ff237aa into sonic-net:master Jun 29, 2018
@qiluo-msft qiluo-msft deleted the qiluo/bcmcmdtask branch June 29, 2018 15:37
@sonic-net sonic-net deleted a comment from jleveque Jun 29, 2018
@ayurkiv-nvda ayurkiv-nvda mentioned this pull request Aug 11, 2021
5 tasks
ayurkiv-nvda added a commit to ayurkiv-nvda/sonic-buildimage that referenced this pull request Aug 11, 2021
Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>

d8ca31c (origin/master, origin/HEAD, master) [vnet/vxlan] Add support of multiple mappers for the VxLAN tunnel (sonic-net#1843)
7280e19 [orchagent][ports] Add port reference increment / decrement to lag member add / remove flows (sonic-net#1825)
0217b66 [nhg]: Add support for weight in nexthop group member. (sonic-net#1853)
df96059 VOQ: Nexthop for remote VOQ LC should be created on inband OIF. (sonic-net#1823)
8f7ea14 Code changes to support IPv6 Link local enhancements (sonic-net#1463)
8674b3c Open record file in append mode (sonic-net#1845)
prsunny pushed a commit that referenced this pull request Aug 12, 2021
d8ca31c (origin/master, origin/HEAD, master) [vnet/vxlan] Add support of multiple mappers for the VxLAN tunnel (#1843)
7280e19 [orchagent][ports] Add port reference increment / decrement to lag member add / remove flows (#1825)
0217b66 [nhg]: Add support for weight in nexthop group member. (#1853)
df96059 VOQ: Nexthop for remote VOQ LC should be created on inband OIF. (#1823)
8f7ea14 Code changes to support IPv6 Link local enhancements (#1463)
8674b3c Open record file in append mode (#1845)
Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
vdahiya12 added a commit to vdahiya12/sonic-buildimage that referenced this pull request Oct 20, 2021
8768089 (HEAD -> 202012, origin/202012) Remove exec from platform_reboot_plugin call to handle any hang issue. (sonic-net#1879)
ae5d90c Validate input of ```config mirror_session add``` (sonic-net#1825)
44d3a3b [show][config] fix the muxcable commands for interface naming mode (sonic-net#1862)
0a4933e [TH3] Skipp Control Plane Assist on WARM Reboot for TH3 HWSKUs (sonic-net#1861)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
lguohan pushed a commit that referenced this pull request Oct 24, 2021
8768089 (HEAD -> 202012, origin/202012) Remove exec from platform_reboot_plugin call to handle any hang issue. (#1879)
ae5d90c Validate input of ```config mirror_session add``` (#1825)
44d3a3b [show][config] fix the muxcable commands for interface naming mode (#1862)
0a4933e [TH3] Skipp Control Plane Assist on WARM Reboot for TH3 HWSKUs (#1861)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
wen587 added a commit that referenced this pull request Oct 26, 2021
8ea834b [sonic_installer] Change sonic_installer check ASIC mismatch by platforms list (#1836)
9017d99 Fix the option missing in kernel config issue (#1888)
6595ad4 [mlag] fix log print sequence (#1730)
e600e1c CLI command to load config in Yang format (#1781)
00948d0 Fix the target db version of portchannel-key test (#1842)
6412fea [sonic-package-manager] remove make_python_identifier (#1801)
f738818 [sonic-package-manager] stop service explicitelly before uninstalling package (#1805)
d8ee5e9 Remove exec from platform_reboot_plugin call to handle any hang issue. (#1879)
827fcee [chassis][routecheck]filter out the chassis internal interfaces (#1798)
4d732c6 [generic_config_updater] Logging (#1864)
25bb184 [config]: Add loopback interfaces to interface name checker (#1869)
c950a55 Validate input of config mirror_session add (#1825)
9ab20fd [show][config] fix the muxcable commands for interface naming mode (#1862)
476b3a4 [multi-asic][cli][chassis-db] Avoid connecting to chassis db for cli commands executed from linecard (#1707)
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this pull request Feb 5, 2022
…mber add / remove flows (sonic-net#1825)

* Added code to increment the port reference counter on the creation of a lag membership that involves that port. Also added code to decrement the counter on the removal of that lag membership as well. This prevents the port from being removed before the lag membership is.
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this pull request Apr 28, 2022
* Validate input of add mirror session

Signed-off-by: bingwang <bingwang@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants