|
|
@ -3,15 +3,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Setup (interface is up)
|
|
|
|
- name: Setup (interface is up)
|
|
|
|
iosxr_interface:
|
|
|
|
iosxr_interface:
|
|
|
|
name: GigabitEthernet0/0/0/5
|
|
|
|
name: GigabitEthernet0/0/0/2
|
|
|
|
description: test_interface_5
|
|
|
|
description: test_interface_2
|
|
|
|
enabled: True
|
|
|
|
enabled: True
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check intent arguments
|
|
|
|
- name: Check intent arguments
|
|
|
|
iosxr_interface:
|
|
|
|
iosxr_interface:
|
|
|
|
name: GigabitEthernet0/0/0/5
|
|
|
|
name: GigabitEthernet0/0/0/2
|
|
|
|
state: up
|
|
|
|
state: up
|
|
|
|
delay: 20
|
|
|
|
delay: 20
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check intent arguments (failed condition)
|
|
|
|
- name: Check intent arguments (failed condition)
|
|
|
|
iosxr_interface:
|
|
|
|
iosxr_interface:
|
|
|
|
name: GigabitEthernet0/0/0/5
|
|
|
|
name: GigabitEthernet0/0/0/2
|
|
|
|
state: down
|
|
|
|
state: down
|
|
|
|
ignore_errors: yes
|
|
|
|
ignore_errors: yes
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
@ -34,7 +34,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Config + intent
|
|
|
|
- name: Config + intent
|
|
|
|
iosxr_interface:
|
|
|
|
iosxr_interface:
|
|
|
|
name: GigabitEthernet0/0/0/5
|
|
|
|
name: GigabitEthernet0/0/0/2
|
|
|
|
enabled: False
|
|
|
|
enabled: False
|
|
|
|
state: down
|
|
|
|
state: down
|
|
|
|
delay: 20
|
|
|
|
delay: 20
|
|
|
@ -46,7 +46,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Config + intent (fail)
|
|
|
|
- name: Config + intent (fail)
|
|
|
|
iosxr_interface:
|
|
|
|
iosxr_interface:
|
|
|
|
name: GigabitEthernet0/0/0/5
|
|
|
|
name: GigabitEthernet0/0/0/2
|
|
|
|
enabled: False
|
|
|
|
enabled: False
|
|
|
|
state: up
|
|
|
|
state: up
|
|
|
|
ignore_errors: yes
|
|
|
|
ignore_errors: yes
|
|
|
@ -60,7 +60,7 @@
|
|
|
|
- name: Aggregate config + intent (pass)
|
|
|
|
- name: Aggregate config + intent (pass)
|
|
|
|
iosxr_interface:
|
|
|
|
iosxr_interface:
|
|
|
|
aggregate:
|
|
|
|
aggregate:
|
|
|
|
- name: GigabitEthernet0/0/0/5
|
|
|
|
- name: GigabitEthernet0/0/0/2
|
|
|
|
enabled: True
|
|
|
|
enabled: True
|
|
|
|
state: up
|
|
|
|
state: up
|
|
|
|
delay: 20
|
|
|
|
delay: 20
|
|
|
|