File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030
3131- name : create interface config
3232 shell : >
33- sonic-cfggen -p /usr/share/sonic/device/x86_64-kvm_x86_64-r0/Force10-S6000 /port_config.ini -k Force10-S6000 --print-data
33+ sonic-cfggen -p /usr/share/sonic/device/x86_64-kvm_x86_64-r0/SONiC-VM /port_config.ini -k SONiC-VM --print-data
3434 | jq '.PORT[].admin_status |= "up"'
3535 > config-port.json
3636 when : hostname in configuration
Original file line number Diff line number Diff line change 2121{% if iface ['lacp' ] is defined %}
2222 "PORTCHANNEL_MEMBER": {
2323{% set index = name | replace ("Ethernet" , "" ) | int - 1 %}
24- "PortChannel{{ iface['lacp'] }}|Ethernet{{ index * 4 }}": {}
24+ "PortChannel{{ iface['lacp'] }}|Ethernet{{ index + 1 }}": {}
2525 },
2626{% endif %}
2727{% endfor %}
Original file line number Diff line number Diff line change @@ -45,3 +45,17 @@ stages:
4545 ptf_name : ptf_vms6-2
4646 tbtype : t1-lag
4747 vmtype : ceos
48+
49+ - job :
50+ pool : sonictest-sonic-t0
51+ displayName : " kvmtest-t0-sonic"
52+ timeoutInMinutes : 240
53+
54+ steps :
55+ - template : .azure-pipelines/run-test-template.yml
56+ parameters :
57+ dut : vlab-01
58+ tbname : vms-kvm-t0
59+ ptf_name : ptf_vms6-1
60+ tbtype : t0-sonic
61+ vmtype : vsonic
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ test_t0_sonic() {
164164 tests=" bgp/test_bgp_fact.py"
165165
166166 pushd $SONIC_MGMT_DIR /tests
167- ./run_tests.sh $RUNTEST_CLI_COMMON_OPTS -c " $tests " -p logs/$tgname -e " --neighbor_type=sonic --skip_sanity --disable_loganalyzer "
167+ ./run_tests.sh $RUNTEST_CLI_COMMON_OPTS -c " $tests " -p logs/$tgname -e " --neighbor_type=sonic"
168168 popd
169169}
170170
You can’t perform that action at this time.
0 commit comments