Skip to content

Apply port configurations after ports are created#49

Merged
pavel-shirshov merged 3 commits intosonic-net:masterfrom
pavel-shirshov:pavelsh/port-config
Oct 31, 2016
Merged

Apply port configurations after ports are created#49
pavel-shirshov merged 3 commits intosonic-net:masterfrom
pavel-shirshov:pavelsh/port-config

Conversation

@pavel-shirshov
Copy link
Copy Markdown
Contributor

No description provided.

{
while /bin/true ;
do
if [ -L /sys/class/net/"$if" ];
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 <[email protected]>
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
mssonicbld added a commit that referenced this pull request Mar 9, 2025
…ly (#21970)

#### Why I did it
src/sonic-stp
```
* f3dfb2c - (HEAD -> master, origin/master, origin/HEAD) Mstp Feature - Adding library and DB management APIs (#50) (14 hours ago) [Divya Kumaran Chandralekha]
* 38ac0f1 - MSTP header files (#49) (23 hours ago) [Divya Kumaran Chandralekha]
```
#### How I did it
#### How to verify it
#### Description for the changelog
tshalvi pushed a commit to tshalvi/sonic-buildimage that referenced this pull request Mar 12, 2025
…lly (sonic-net#777)

#### Why I did it
src/sonic-swss
```
* ba962fa - (HEAD -> 202412, origin/202412) [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (sonic-net#50) (20 hours ago) [mssonicbld]
* 513524e - Optimize counter initialization by reducing the number of bulk counter poll calls and communication between swss/sairedis (sonic-net#49) (24 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
VasanthKumar-palc added a commit to vrajeshe/sonic-buildimage that referenced this pull request Jul 18, 2025
* Fix SSH build failure

* Changes in libteam to handle multiple team devices within a single process - Milestone 1 (sonic-net#24)

* Code changes for supporting -t option, tlm_teamd, portchannel deletion fix

* Fix for portchannel member not created properly after system reboot (or) docker restart

Fix for portchannel deletion and pid removal

* Code changes for supporting teamdctl on unified process mode and pid deletion fix

* Teamd Unified Process

* Docker crash fixed for scaling, Optimized timer fd and workq

Review comments addressed

* Fix for wheel timer to setting retry_count for lacp

* Timer wheel updated changes

* Implemented Hash table for handling N portchannels instead of AVL

* Review comment addressed for Wheel timer and hash table

* Fix crash issue when scaling to 600 portchannels

* new cli for setting mode for legacy (sonic-net#28)
vrajeshe pushed a commit to vrajeshe/sonic-buildimage that referenced this pull request Jul 21, 2025
)

* Fix SSH build failure

* Changes in libteam to handle multiple team devices within a single process - Milestone 1 (sonic-net#24)

* Code changes for supporting -t option, tlm_teamd, portchannel deletion fix

* Fix for portchannel member not created properly after system reboot (or) docker restart

Fix for portchannel deletion and pid removal

* Code changes for supporting teamdctl on unified process mode and pid deletion fix

* Teamd Unified Process

* Docker crash fixed for scaling, Optimized timer fd and workq

Review comments addressed

* Fix for wheel timer to setting retry_count for lacp

* Timer wheel updated changes

* Implemented Hash table for handling N portchannels instead of AVL

* Review comment addressed for Wheel timer and hash table

* Fix crash issue when scaling to 600 portchannels

* new cli for setting mode for legacy (sonic-net#28)
vrajeshe pushed a commit to vrajeshe/sonic-buildimage that referenced this pull request Jul 22, 2025
)

* Fix SSH build failure

* Changes in libteam to handle multiple team devices within a single process - Milestone 1 (sonic-net#24)

* Code changes for supporting -t option, tlm_teamd, portchannel deletion fix

* Fix for portchannel member not created properly after system reboot (or) docker restart

Fix for portchannel deletion and pid removal

* Code changes for supporting teamdctl on unified process mode and pid deletion fix

* Teamd Unified Process

* Docker crash fixed for scaling, Optimized timer fd and workq

Review comments addressed

* Fix for wheel timer to setting retry_count for lacp

* Timer wheel updated changes

* Implemented Hash table for handling N portchannels instead of AVL

* Review comment addressed for Wheel timer and hash table

* Fix crash issue when scaling to 600 portchannels

* new cli for setting mode for legacy (sonic-net#28)
patrickmacarthur pushed a commit to patrickmacarthur/sonic-buildimage that referenced this pull request Aug 6, 2025
… automatically (sonic-net#785)

#### Why I did it
src/sonic-platform-common
```
* 3d656e4 - (HEAD -> 202405, origin/202405) Restore optoe page to default 0 for active cables (sonic-net#549) (sonic-net#49) (21 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Aug 31, 2025
…#23834)

#### Why I did it
src/dhcpmon
```
* f08f25e - (HEAD -> master, origin/master, origin/HEAD) Optimize clear counter logic (#49) (3 days ago) [Yaqiang Zhu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vmittal-msft pushed a commit to vmittal-msft/sonic-buildimage that referenced this pull request Oct 20, 2025
… HEAD automatically (sonic-net#1381)

#### Why I did it
src/sonic-linux-kernel
```
* 8011b4f - (HEAD -> 202503, origin/202503) Merge pull request sonic-net#49 from mssonicbld/sonicbld/202503-merge (23 hours ago) [mssonicbld]
* 41945c5 - Merge branch '202412' of https://github.com/Azure/sonic-linux-kernel.msft into 202503 (23 hours ago) [Sonic Automation]
* 7f3e021 - (origin/HEAD, origin/202412, 202412) Integrate HW-MGMT 7.0040.4019 Changes (sonic-net#46) (30 hours ago) [Vivek]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vmittal-msft pushed a commit to vmittal-msft/sonic-buildimage that referenced this pull request Oct 20, 2025
…test HEAD automatically (sonic-net#1601)

#### Why I did it
src/sonic-platform-daemons
```
* ec79b8d - (HEAD -> 202503, origin/202503) Merge pull request sonic-net#49 from mssonicbld/sonicbld/202503-merge (23 hours ago) [mssonicbld]
* 9ab51fe - Merge branch '202412' of https://github.com/Azure/sonic-platform-daemons.msft into 202503 (23 hours ago) [Sonic Automation]
* c5b86da - (origin/202412) Check low power mode before vdm handling (sonic-net#48) (2 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
rchandramouli pushed a commit to rchandramouli/sonic-buildimage that referenced this pull request Nov 2, 2025
rchandramouli pushed a commit to rchandramouli/sonic-buildimage that referenced this pull request Nov 4, 2025
nonodark pushed a commit to nonodark/sonic-buildimage that referenced this pull request Nov 18, 2025
mssonicbld added a commit that referenced this pull request Nov 19, 2025
…tically (#24571)

#### Why I did it
src/sonic-dash-api
```
* 3f67090 - (HEAD -> 202405, origin/202405) Automated agent pool migration for branch 202405 (#49) (35 minutes ago) [yijingyan2]
```
#### How I did it
#### How to verify it
#### Description for the changelog
tirupatihemanth added a commit to tirupatihemanth/sonic-buildimage that referenced this pull request Nov 25, 2025
yanmarkman pushed a commit to yanmarkman/sonic-buildimage that referenced this pull request Nov 26, 2025
yanmarkman pushed a commit to yanmarkman/sonic-buildimage that referenced this pull request Dec 3, 2025
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…sonic-net#23834)

#### Why I did it
src/dhcpmon
```
* f08f25e - (HEAD -> master, origin/master, origin/HEAD) Optimize clear counter logic (sonic-net#49) (3 days ago) [Yaqiang Zhu]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <[email protected]>
jianyuewu pushed a commit to jianyuewu/sonic-buildimage that referenced this pull request Feb 10, 2026
…DNS configuration changes. (sonic-net#49)

Changes are implemented according to sonic-net/SONiC#1262 HLD.
Implement unit tests for each method of DnsCfg class.
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