[warm-reboot] Preboot sad path automation for n vlan ports#1096
Merged
neethajohn merged 1 commit intosonic-net:masterfrom Sep 10, 2019
Merged
[warm-reboot] Preboot sad path automation for n vlan ports#1096neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn merged 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: Neetha John <nejo@microsoft.com>
yxieca
approved these changes
Sep 5, 2019
yxieca
pushed a commit
that referenced
this pull request
Sep 11, 2019
Signed-off-by: Neetha John <nejo@microsoft.com>
neethajohn
added a commit
to neethajohn/sonic-mgmt
that referenced
this pull request
Sep 12, 2019
neethajohn
added a commit
that referenced
this pull request
Sep 12, 2019
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
This brings in the following changes: ``` 21f3d7c Add SAI_OBJECT_TYPE_TUNNEL object to break-before-make list (sonic-net#1075) 8ac3aa7 [sairedis] Fix reopen recoding file (sonic-net#1087) 0bbbb02 Transfer organization from Azure to sonic-net (sonic-net#1096) 3406c57 [sairedis] Perform log rotate on request (sonic-net#1083) ```
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
Add ip_prefix len based on proxy_arp status (sonic-net#1096) [sonic-cfggen][QoS][multi ASIC] Multi ASIC QoS and Buffer config generation support, merge from master (sonic-net#1095) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Neetha John nejo@microsoft.com
Description of PR
N vlan ports are brought down before warm-reboot is done
Testcase is as follows
1. Select N vlan ports to be brought down.
2. Bring down those vlan members
3. Verify those interfaces are down
4. Run the warm reboot test
5. Ensure that the selected interfaces remain down
6. Revert the sad operation
Type of change
How did you do it?
advanced-reboot.py
- created an association between the DUT vlan member and the ptf port
- vlan_ports var passed into the pretest func. After the preboot oper, this var will contain all the vlan ports excluding the ones that have been brought down
sad_path.py
- select the vlan interfaces to be brought down.
- bring down the selected interfaces and the associated ptf ports
- verify the state of the selected interfaces
.yml files
- tag for the testcase is 'vlan_port_down:x' where x is the number of vlan ports to be brought down
- validate if the number of vlan ports to be brought down does not exceed the total number of vlan ports
- modify args for arp_responder
- clear fdb table
How did you verify/test it?
Ran the testcase on T0 topology and it passed