[advanced-reboot] Test VLAN gateway address resolvability during upgrade#15835
[advanced-reboot] Test VLAN gateway address resolvability during upgrade#15835yxieca merged 8 commits intosonic-net:masterfrom
Conversation
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Because of sonic-net#15380, PTF test script that didn't explicitly say that they are supported on KVM no longer ran. Advanced reboot has at least partial support for KVM, and we want it to run (for functionality purposes, at least). Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
This can be used to identify ARP responses from Ferret vs ARP responses from the device itself. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Description of PR
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
During an upgrade, test to see if the VLAN gateway can be resolved with an ARP request. When CPA is enabled, we expect the VLAN gateway to be always resolvable (even when control plane of the device is down). This is done through the use of a Ferret server running on the PTF container.
How did you do it?
Add a basic check for the functionality of that Ferret server by crafting and sending ARP requests, and report the number of ARP responses received. As of right now, this doesn't affect the final result of the warm/fast upgrade test; that will be done later.
Also mark the advanced-reboot tests as functional on KVM. Without this, the warm upgrade test will not run on PR checkers.
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation