Skip to content

Commit 1aea114

Browse files
author
Shuotian Cheng
authored
[decap]: Update test to support t1-64-lag topology (#266)
1 parent 806919f commit 1aea114

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ansible/roles/test/tasks/decap.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(dscp_mode is not defined)
88

99
- fail: msg="Invalid testbed_type value '{{testbed_type}}'"
10-
when: testbed_type not in [ 't1', 't0', 't1-lag']
10+
when: testbed_type not in [ 't1', 't0', 't1-lag', 't1-64-lag']
1111

1212
- fail: msg="Invalid testbed_type value '{{dscp_mode}}'"
1313
when: dscp_mode not in [ 'pipe','uniform']
@@ -16,15 +16,15 @@
1616

1717
- name: Expand properties into props
1818
set_fact: props="{{configuration_properties['spine']}}"
19-
when: testbed_type in ['t1', 't1-lag']
19+
when: testbed_type in ['t1', 't1-lag', 't1-64-lag']
2020

2121
- name: Expand properties into props
2222
set_fact: props="{{configuration_properties['common']}}"
2323
when: testbed_type in ['t0']
2424

2525
- name: Expand properties into props
2626
set_fact: props_tor="{{configuration_properties['tor']}}"
27-
when: testbed_type in ['t1', 't1-lag']
27+
when: testbed_type in ['t1', 't1-lag', 't1-64-lag']
2828

2929
# Gather minigraph facts
3030
- name: Gathering minigraph facts about the device
@@ -70,6 +70,7 @@
7070
ptf_test_dir: ptftests
7171
ptf_test_path: IP_decap_test.DecapPacketTest
7272
ptf_platform: remote
73+
ptf_extra_options: --platform-dir ptftests
7374
ptf_test_params:
7475
- testbed_type='{{ testbed_type }}'
7576
- fib_info='/root/fib_info.txt'

0 commit comments

Comments
 (0)