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

Apply port configurations after ports are created #49

Merged
merged 3 commits into from
Oct 31, 2016
Merged

Apply port configurations after ports are created #49

merged 3 commits into from
Oct 31, 2016

Conversation

pavel-shirshov
Copy link
Contributor

No description provided.

{
while /bin/true ;
do
if [ -L /sys/class/net/"$if" ];
Copy link
Collaborator

@qiluo-msft qiluo-msft Oct 31, 2016

Choose a reason for hiding this comment

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

$if [](start = 28, length = 3)

Use $1 instead of global variable #Closed


function wait_until_if_exists
{
while /bin/true ;
Copy link
Collaborator

@qiluo-msft qiluo-msft Oct 31, 2016

Choose a reason for hiding this comment

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

/bin/true [](start = 8, length = 9)

while [ -L ... ] ? #Closed

{
while /bin/true ;
do
if [ ! -L /sys/class/net/"$if" ];
Copy link
Collaborator

@qiluo-msft qiluo-msft Oct 31, 2016

Choose a reason for hiding this comment

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

$if [](start = 30, length = 3)

The same. #Closed

echo apply lldpd configuration
lldpcli -c /etc/lldpd.conf

# wait until all interfaces are down
Copy link
Collaborator

Choose a reason for hiding this comment

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

wait until all interfaces are down [](start = 4, length = 34)

Why waiting?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To find the time when we need to check that the interfaces are created.


while /bin/true ;
do
# wait until all interfaces are up
Copy link
Collaborator

@qiluo-msft qiluo-msft Oct 31, 2016

Choose a reason for hiding this comment

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

wait until all interfaces are up [](start = 2, length = 34)

What happens if not waiting? #Closed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lldpd doesn't store a configuration for ports which aren't exist.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it possible that some interface will never be up, then we wait forever here?


In reply to: 85829244 [](ancestors = 85829244)

@qiluo-msft
Copy link
Collaborator

🕐

@pavel-shirshov pavel-shirshov changed the title Apply port configurations after ports are up Apply port configurations after ports are created Oct 31, 2016
@pavel-shirshov pavel-shirshov merged commit ac64c1c into sonic-net:master Oct 31, 2016
@pavel-shirshov pavel-shirshov deleted the pavelsh/port-config branch October 31, 2016 21:48
lguohan referenced this pull request in lguohan/sonic-buildimage Jul 30, 2018
* 70fdaa2 2018-06-30 | Support Delta DPS1900 (#49) (HEAD -> stretch, origin/stretch) [Deni]
* 77895c5 2018-04-17 | Add kexec reboot string (#46) [Joe LeVeque]
lguohan referenced this pull request in lguohan/sonic-buildimage Aug 5, 2018
* 70fdaa2 2018-06-30 | Support Delta DPS1900 (#49) (HEAD -> stretch, origin/stretch) [Deni]
* 77895c5 2018-04-17 | Add kexec reboot string (#46) [Joe LeVeque]
lguohan referenced this pull request in lguohan/sonic-buildimage Aug 11, 2018
* 70fdaa2 2018-06-30 | Support Delta DPS1900 (#49) (HEAD -> stretch, origin/stretch) [Deni]
* 77895c5 2018-04-17 | Add kexec reboot string (#46) [Joe LeVeque]
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
lguohan pushed a commit that referenced this pull request Oct 18, 2019
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this pull request Mar 23, 2020
* Added support for tunneling and updated tunnel schema:
 - added tunneldecaporch
 - changed orchdaemon and main to include tunneldecaporch
 - updated orchagent Makefile
abdosi added a commit that referenced this pull request Apr 20, 2020
 [xcvrd] Extend xcvrd with SFP error event handling (#52)
[thermal fix] 1. Catch exception for each update iteration; 2. add
unit test (#51)
 Add thermal control daemon to monitor FAN and thermal status and run
 thermal policy (#49
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
vdahiya12 pushed a commit to vdahiya12/sonic-buildimage that referenced this pull request Oct 2, 2020
@prsunny prsunny mentioned this pull request Oct 21, 2020
2 tasks
lguohan pushed a commit that referenced this pull request Oct 22, 2020
37a7c61 - 2020-10-16 : Add to local route DB if ifname present in route add API (#51) [Sumukha Tumkur Vani]
2b4b6d7 - 2020-10-01 : Fix typo (#50) [Sumukha Tumkur Vani]
f0a527b - 2020-09-24 : Use RESTAPI_DB, cache reset_status (#49) [Prince Sunny]
abdosi pushed a commit that referenced this pull request Oct 23, 2020
37a7c61 - 2020-10-16 : Add to local route DB if ifname present in route add API (#51) [Sumukha Tumkur Vani]
2b4b6d7 - 2020-10-01 : Fix typo (#50) [Sumukha Tumkur Vani]
f0a527b - 2020-09-24 : Use RESTAPI_DB, cache reset_status (#49) [Prince Sunny]
lguohan pushed a commit that referenced this pull request Dec 22, 2020
Implementation of sample streaming mode (#49)

Co-authored-by: Murat Acikgoz <muacikgo@microsoft.com>
xumia referenced this pull request in xumia/sonic-buildimage-1 Feb 16, 2021
…ne (#49)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
37a7c61 - 2020-10-16 : Add to local route DB if ifname present in route add API (sonic-net#51) [Sumukha Tumkur Vani]
2b4b6d7 - 2020-10-01 : Fix typo (sonic-net#50) [Sumukha Tumkur Vani]
f0a527b - 2020-09-24 : Use RESTAPI_DB, cache reset_status (sonic-net#49) [Prince Sunny]
SuvarnaMeenakshi pushed a commit to SuvarnaMeenakshi/sonic-buildimage that referenced this pull request Jun 16, 2021
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jan 24, 2022
zjswhhh added a commit that referenced this pull request Apr 14, 2022
[202012][sonic-linkmgrd]Submodule update

8507629 Jing Zhang      Mon Apr 4 10:25:22 2022 -0700   Lower unsolicited MUX state change notification log level to WARNING #57
17d217d Longxiang Lyu   Mon Mar 21 12:15:19 2022 +0800  Enhance clang format (#46)
c72fa2a Jing Zhang      Fri Apr 1 12:23:29 2022 -0700   Disable the feature that decreases link probe interval for measuring switch overhead #49 (#54)
256b01b Jing Zhang      Thu Mar 31 16:20:00 2022 -0700  Update link prober metrics posting logics #50 #53
dfd48d0 Jing Zhang      Wed Mar 23 16:27:45 2022 -0700  Decrease link probing interval after switchover to better determine the overhead of a toggle #43 (#48)

sign-off: Jing Zhang zhangjing@microsoft.com
renukamanavalan pushed a commit that referenced this pull request Apr 25, 2022
submodule update, includes:

ec32690 CVE-2020-25614: Update xmlquery, jsonquery and xpath packages. (#58)
5156527 Showtech sonic mgmt framework: Add Management Framework functionality for "show tech-support" (#49)
liushilongbuaa referenced this pull request in liushilongbuaa/sonic-buildimage Jun 20, 2022
Related work items: #49, #58, #107, sonic-net#247, sonic-net#249, sonic-net#277, sonic-net#593, sonic-net#597, sonic-net#1035, sonic-net#2130, sonic-net#2150, sonic-net#2165, sonic-net#2169, sonic-net#2178, sonic-net#2179, sonic-net#2187, sonic-net#2188, sonic-net#2191, sonic-net#2195, sonic-net#2197, sonic-net#2198, sonic-net#2200, sonic-net#2202, sonic-net#2206, sonic-net#2209, sonic-net#2211, sonic-net#2216, sonic-net#7909, sonic-net#8927, sonic-net#9681, sonic-net#9733, sonic-net#9746, sonic-net#9850, sonic-net#9967, sonic-net#10104, sonic-net#10152, sonic-net#10168, sonic-net#10228, sonic-net#10266, sonic-net#10288, sonic-net#10294, sonic-net#10313, sonic-net#10394, sonic-net#10403, sonic-net#10404, sonic-net#10421, sonic-net#10431, sonic-net#10437, sonic-net#10445, sonic-net#10457, sonic-net#10458, sonic-net#10465, sonic-net#10467, sonic-net#10469, sonic-net#10470, sonic-net#10474, sonic-net#10477, sonic-net#10478, sonic-net#10482, sonic-net#10485, sonic-net#10488, sonic-net#10489, sonic-net#10492, sonic-net#10494, sonic-net#10498, sonic-net#10501, sonic-net#10509, sonic-net#10512, sonic-net#10514, sonic-net#10516, sonic-net#10517, sonic-net#10523, sonic-net#10525, sonic-net#10531, sonic-net#10532, sonic-net#10538, sonic-net#10555, sonic-net#10557, sonic-net#10559, sonic-net#10561, sonic-net#10565, sonic-net#10572, sonic-net#10574, sonic-net#10576, sonic-net#10578, sonic-net#10581, sonic-net#10585, sonic-net#10587, sonic-net#10599, sonic-net#10607, sonic-net#10611, sonic-net#10616, sonic-net#10618, sonic-net#10619, sonic-net#10623, sonic-net#10624, sonic-net#10633, sonic-net#10646, sonic-net#10655, sonic-net#10660, sonic-net#10664, sonic-net#10680, sonic-net#10683
vivekrnv referenced this pull request in vivekrnv/sonic-buildimage Apr 28, 2023
vivekrnv referenced this pull request in vivekrnv/sonic-buildimage Apr 28, 2023
Pterosaur added a commit to Pterosaur/sonic-buildimage that referenced this pull request May 9, 2023
a24412c25 (HEAD, origin/master, origin/HEAD, master) [mka]: Fix unexpected cleanup (sonic-net#73)
26d1da0bc [mka]: Fix re-establishment by reset MI (sonic-net#72)
f07e0a097 [azp]: Update build pipeline to build for Bullseye (sonic-net#70)
2c69e2cda Use github code scanning instead of LGTM (sonic-net#69)
23abb04e5 fix
f34d68fe6 libdbus-1-dev
dc2dd881e add dbus
5de037661 use swsscommon packages
32c5a2729 Use github code scanning instead of LGTM
aa731b96f [azp]: Install libyang in azure pipeline (sonic-net#68)
71b635d74 Revert "[Azp]: Upgrade Azp to bullseye (sonic-net#49)" (sonic-net#66)
7aa4e6fa4 Adding Microsoft SECURITY.MD (sonic-net#58)

Signed-off-by: Ze Gan <ganze718@gmail.com>
yxieca pushed a commit that referenced this pull request May 17, 2023
…e latest HEAD automatically (#15016)

src/wpasupplicant/sonic-wpa-supplicant

* a24412c25 - (HEAD -> 202205, origin/master, origin/HEAD, origin/202211, origin/202205, master) [mka]: Fix unexpected cleanup (#73) (8 days ago) [Ze Gan]
* 26d1da0bc - [mka]: Fix re-establishment by reset MI (#72) (8 days ago) [Ze Gan]
* f07e0a097 - [azp]: Update build pipeline to build for Bullseye (#70) (4 weeks ago) [Ze Gan]
*   2c69e2cda - Use github code scanning instead of LGTM (#69) (6 months ago) [Liu Shilong]
|\  
| * 23abb04e5 - fix (6 months ago) [shilongliu]
| * f34d68fe6 - libdbus-1-dev (6 months ago) [shilongliu]
| * dc2dd881e - add dbus (6 months ago) [shilongliu]
| * 5de037661 - use swsscommon packages (6 months ago) [shilongliu]
| * 32c5a2729 - Use github code scanning instead of LGTM (6 months ago) [shilongliu]
|/  
* aa731b96f - [azp]: Install libyang in azure pipeline (#68) (8 months ago) [Hua Liu]
* 71b635d74 - Revert "[Azp]: Upgrade Azp to bullseye (#49)" (#66) (9 months ago) [Ze Gan]
* 7aa4e6fa4 - Adding Microsoft SECURITY.MD (#58) (9 months ago) [microsoft-github-policy-service[bot]]
Gokulnath-Raja pushed a commit to Gokulnath-Raja/sonic-buildimage-work that referenced this pull request May 22, 2023
… for "show tech-support" (sonic-net#49)

Provide the changes required for supporting the "show-techsupport" command via the SONiC Management Framework front end mechanisms (CLI, REST, and gNOI). The Management Framework functionality implemented by this PR improves on the the capabilities currently provided by the SONiC Click CLI interface via the "show techsupport" command by providing the following additional features:

User-friendly "help" information describing command syntax details for CLI invocation.
Ability to invoke the command via REST and gNOI mechanisms.
Unit test results are attached to this PR.

unit_test_log_0607.txt

Corequisite PRs:
sonic-net/sonic-telemetry#78
sonic-net/sonic-telemetry#79
mssonicbld added a commit that referenced this pull request Jun 25, 2023
…utomatically (#15591)

#### Why I did it
src/sonic-host-services
```
* eab4a9e - (HEAD -> master, origin/master, origin/HEAD) [hostcfgd][dns] Subscribe to DNS_NAMESERVER table to react to static DNS configuration changes. (#49) (2 days ago) [Oleksandr Ivantsiv]
```
#### How I did it
#### How to verify it
#### Description for the changelog
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
…utomatically (sonic-net#15591)

#### Why I did it
src/sonic-host-services
```
* eab4a9e - (HEAD -> master, origin/master, origin/HEAD) [hostcfgd][dns] Subscribe to DNS_NAMESERVER table to react to static DNS configuration changes. (sonic-net#49) (2 days ago) [Oleksandr Ivantsiv]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request May 31, 2024
…ly (#19156)

#### Why I did it
src/dhcprelay
```
* c605cd4 - (HEAD -> 202311, origin/202311) [202311] Backport commit from master into 202311 (#49) (2 hours ago) [Yaqiang Zhu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jun 5, 2024
[code sync] Merge code from sonic-net/sonic-buildimage:202205 to 202205
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