Apply port configurations after ports are created#49
Apply port configurations after ports are created#49pavel-shirshov merged 3 commits intosonic-net:masterfrom pavel-shirshov:pavelsh/port-config
Conversation
| { | ||
| while /bin/true ; | ||
| do | ||
| if [ -L /sys/class/net/"$if" ]; |
There was a problem hiding this comment.
$if [](start = 28, length = 3)
Use $1 instead of global variable #Closed
|
|
||
| function wait_until_if_exists | ||
| { | ||
| while /bin/true ; |
There was a problem hiding this comment.
/bin/true [](start = 8, length = 9)
while [ -L ... ] ? #Closed
| { | ||
| while /bin/true ; | ||
| do | ||
| if [ ! -L /sys/class/net/"$if" ]; |
There was a problem hiding this comment.
$if [](start = 30, length = 3)
The same. #Closed
| echo apply lldpd configuration | ||
| lldpcli -c /etc/lldpd.conf | ||
|
|
||
| # wait until all interfaces are down |
There was a problem hiding this comment.
wait until all interfaces are down [](start = 4, length = 34)
Why waiting?
There was a problem hiding this comment.
To find the time when we need to check that the interfaces are created.
|
|
||
| while /bin/true ; | ||
| do | ||
| # wait until all interfaces are up |
There was a problem hiding this comment.
wait until all interfaces are up [](start = 2, length = 34)
What happens if not waiting? #Closed
There was a problem hiding this comment.
lldpd doesn't store a configuration for ports which aren't exist.
There was a problem hiding this comment.
Is it possible that some interface will never be up, then we wait forever here?
In reply to: 85829244 [](ancestors = 85829244)
|
🕐 |
* Added support for tunneling and updated tunnel schema: - added tunneldecaporch - changed orchdaemon and main to include tunneldecaporch - updated orchagent Makefile
Implementation of sample streaming mode (#49) Co-authored-by: Murat Acikgoz <[email protected]>
…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
…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
Highlight change, the DHCP config removed from master branch. files/image_config/resolv-config/resolv.conf Related work items: sonic-net#49, sonic-net#2598, sonic-net#11862, sonic-net#12530, sonic-net#14000, sonic-net#14549, sonic-net#14814, sonic-net#15077, sonic-net#15252, sonic-net#15253, sonic-net#15357, sonic-net#15384, sonic-net#15394, sonic-net#15399, sonic-net#15405, sonic-net#15566, sonic-net#15591, sonic-net#15592, sonic-net#15593, sonic-net#15602, sonic-net#15604, sonic-net#15611, sonic-net#15621, sonic-net#15625, sonic-net#15634, sonic-net#15635
Merge code from master to internal Related work items: sonic-net#32, sonic-net#49, sonic-net#376, sonic-net#2598, sonic-net#11862, sonic-net#12530, sonic-net#14000, sonic-net#14547, sonic-net#14549, sonic-net#14814, sonic-net#15077, sonic-net#15239, sonic-net#15252, sonic-net#15253, sonic-net#15298, sonic-net#15357, sonic-net#15384, sonic-net#15394, sonic-net#15399, sonic-net#15405, sonic-net#15511, sonic-net#15566, sonic-net#15583, sonic-net#15591, sonic-net#15592, sonic-net#15593, sonic-net#15602, sonic-net#15604, sonic-net#15611, sonic-net#15621, sonic-net#15625, sonic-net#15634, sonic-net#15635, sonic-net#15645, sonic-net#15646, sonic-net#15647, sonic-net#15657, sonic-net#15658, sonic-net#15697, sonic-net#15699
[code sync] Merge code from sonic-net/sonic-buildimage:202205 to 202205
…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
…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
* 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)
) * 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)
) * 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)
… 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
… 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
…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
…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]>
…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.
No description provided.