Skip to content

[warm-reboot] Preboot sad path automation for n vlan ports#1096

Merged
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:wboot-nvlan-port
Sep 10, 2019
Merged

[warm-reboot] Preboot sad path automation for n vlan ports#1096
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:wboot-nvlan-port

Conversation

@neethajohn
Copy link
Contributor

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

  • [] Bug fix
  • [] Testbed and Framework(new/improvement)
  • Test case(new/improvement)

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

Signed-off-by: Neetha John <nejo@microsoft.com>
@neethajohn neethajohn merged commit 4b2bafc into sonic-net:master Sep 10, 2019
@neethajohn neethajohn deleted the wboot-nvlan-port branch September 10, 2019 20:39
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants