Skip to content
Merged
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
12 changes: 10 additions & 2 deletions ansible/roles/test/tasks/acltb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
- "acltb_test_rules_part_1.json"
- "acltb_test_rules_part_2.json"

# Generate file with switch information
- template: src=acltb.j2 dest=/tmp/acltb_switch_info.txt
connection: local

- name: Copy switch info file to the PTF host
copy: src=/tmp/acltb_switch_info.txt dest=/tmp/acltb_switch_info.txt
delegate_to: "{{ ptf_host }}"

- block:
- name: Apply allow all rule
vars:
Expand All @@ -41,7 +49,7 @@
include: ptf_runner.yml
vars:
ptf_test_name: ACL Test
ptf_test_dir: test
ptf_test_dir: acstests
ptf_test_path: acltb_test.AclTest
ptf_platform: remote
ptf_test_params:
Expand Down Expand Up @@ -71,7 +79,7 @@
include: ptf_runner.yml
vars:
ptf_test_name: ACL Test
ptf_test_dir: test
ptf_test_dir: acstests
ptf_test_path: acltb_test.AclTest
ptf_platform: remote
ptf_test_params:
Expand Down