Skip to content

add support for virtual testbed#774

Merged
lguohan merged 32 commits intosonic-net:masterfrom
lguohan:vstb
Jan 17, 2019
Merged

add support for virtual testbed#774
lguohan merged 32 commits intosonic-net:masterfrom
lguohan:vstb

Conversation

@lguohan
Copy link
Contributor

@lguohan lguohan commented Jan 15, 2019

Description of PR

Virtual testbed a testbed that is built around kvm image. It built a sonic testbed that is similar physical testbed.

Summary:
Fixes # (issue)

Type of change

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

Approach

How did you do it?

The main change here is to decouple the interface binding in vm_topology.py library. The change introduces kvm_port.py and vlan_port.py to get/create/remove the interfaces that are used to bind/unbind with the vm and ptf docker.

How did you verify/test it?

Test it on both virtual testbed and physical testbed.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@lguohan lguohan force-pushed the vstb branch 3 times, most recently from 0c83cb9 to ae23496 Compare January 15, 2019 08:43
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
in order in the guest OS. eth0 is the mangement port

Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
This reverts commit 49fdbf89e21f37efcf2e505de9c9314ab12006c5.
Signed-off-by: Guohan Lu <gulv@microsoft.com>
Signed-off-by: Guohan Lu <gulv@microsoft.com>
@lguohan lguohan force-pushed the vstb branch 2 times, most recently from ed094ea to 12434bc Compare January 15, 2019 21:08
in a topology. It deploy the current sonic vm and recreate
a new sonic vm

Signed-off-by: Guohan Lu <gulv@microsoft.com>
@@ -1,4 +1,4 @@
root_path: /home/azure/veos-vm
root_path: veos-vm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not a root path in this case

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'll fix in a separate pr.

@lguohan lguohan merged commit 71d24e8 into sonic-net:master Jan 17, 2019
@yxieca
Copy link
Collaborator

yxieca commented Jan 18, 2019

Made to 201811 branch on 1/18/2019

@@ -0,0 +1,123 @@
# Testbed Setup
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lguohan . Is there a list of tests which are supported on this virtual testbed?

kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Submodule src/sonic-swss 24fcbb6..3cee6b8:
  > [aclorch]: Fix table name in counter table for mirror rules (sonic-net#1060)
  > Cannot ping to link-local ipv6 interface address of the switch. (sonic-net#774)
  > [MirrorOrch]: Mirror Session Retention across Warm Reboot (sonic-net#1062)

Submodule src/sonic-utilities afaedb7..a06bee7:
  > [201811][config] Add '-h' and '-?' as help options to unify with show/sonic-clear cmds (sonic-net#654)
  > Revert "Fixed config Asym PFC CLI. (sonic-net#632)" (sonic-net#652)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
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.

4 participants