change ports to non well known ports and drop time_range for N1 (#31261)
This commit is contained in:
parent
748adf7a8e
commit
c976ac7ed6
1 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
- debug: msg="START TRANSPORT:{{ connection.transport }} nxos_acl sanity test"
|
- debug: msg="START TRANSPORT:{{ connection.transport }} nxos_acl sanity test"
|
||||||
|
|
||||||
|
- set_fact: time_range="ans-range"
|
||||||
|
when: not (platform | match("N5K"))
|
||||||
|
|
||||||
- name: "Setup: Cleanup possibly existing acl."
|
- name: "Setup: Cleanup possibly existing acl."
|
||||||
nxos_acl: &remove
|
nxos_acl: &remove
|
||||||
name: TEST_ACL
|
name: TEST_ACL
|
||||||
|
@ -17,8 +20,8 @@
|
||||||
proto: tcp
|
proto: tcp
|
||||||
src: 1.1.1.1/24
|
src: 1.1.1.1/24
|
||||||
src_port_op: range
|
src_port_op: range
|
||||||
src_port1: 5
|
src_port1: 1900
|
||||||
src_port2: 20
|
src_port2: 1910
|
||||||
ack: 'enable'
|
ack: 'enable'
|
||||||
dscp: 'af43'
|
dscp: 'af43'
|
||||||
dest: any
|
dest: any
|
||||||
|
@ -29,7 +32,7 @@
|
||||||
fin: 'enable'
|
fin: 'enable'
|
||||||
rst: 'enable'
|
rst: 'enable'
|
||||||
syn: 'enable'
|
syn: 'enable'
|
||||||
time_range: 'ans-range'
|
time_range: "{{time_range|default(omit)}}"
|
||||||
state: present
|
state: present
|
||||||
provider: "{{ connection }}"
|
provider: "{{ connection }}"
|
||||||
register: result
|
register: result
|
||||||
|
|
Loading…
Reference in a new issue