Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/roles/sonic/tasks/vsonic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

- name: create interface config
shell: >
sonic-cfggen -p /usr/share/sonic/device/x86_64-kvm_x86_64-r0/Force10-S6000/port_config.ini -k Force10-S6000 --print-data
sonic-cfggen -p /usr/share/sonic/device/x86_64-kvm_x86_64-r0/SONiC-VM/port_config.ini -k SONiC-VM --print-data
| jq '.PORT[].admin_status |= "up"'
> config-port.json
when: hostname in configuration
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/sonic/templates/configdb-t0-leaf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{% if iface['lacp'] is defined %}
"PORTCHANNEL_MEMBER": {
{% set index = name | replace("Ethernet", "") | int - 1 %}
"PortChannel{{ iface['lacp'] }}|Ethernet{{ index * 4}}": {}
"PortChannel{{ iface['lacp'] }}|Ethernet{{ index + 1}}": {}
},
{% endif %}
{% endfor %}
Expand Down
14 changes: 14 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,17 @@ stages:
ptf_name: ptf_vms6-2
tbtype: t1-lag
vmtype: ceos

- job:
pool: sonictest-sonic-t0
displayName: "kvmtest-t0-sonic"
timeoutInMinutes: 240

steps:
- template: .azure-pipelines/run-test-template.yml
parameters:
dut: vlab-01
tbname: vms-kvm-t0
ptf_name: ptf_vms6-1
tbtype: t0-sonic
vmtype: vsonic
2 changes: 1 addition & 1 deletion tests/kvmtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ test_t0_sonic() {
tests="bgp/test_bgp_fact.py"

pushd $SONIC_MGMT_DIR/tests
./run_tests.sh $RUNTEST_CLI_COMMON_OPTS -c "$tests" -p logs/$tgname -e "--neighbor_type=sonic --skip_sanity --disable_loganalyzer"
./run_tests.sh $RUNTEST_CLI_COMMON_OPTS -c "$tests" -p logs/$tgname -e "--neighbor_type=sonic"
popd
}

Expand Down