Fix junos_interfaces integration test failure (#59035)
* Fix junos_interfaces failure * Remove lo0 interface by default since vsrz zuul env seems to add it intermittently as part of device intial config * Add missing change for replace case
This commit is contained in:
parent
7b8edbf9dd
commit
70db07fa82
6 changed files with 2 additions and 11 deletions
|
@ -2,12 +2,13 @@
|
||||||
- debug:
|
- debug:
|
||||||
msg: "Start junos_nterfaces deleted remove interface config ansible_connection={{ ansible_connection }}"
|
msg: "Start junos_nterfaces deleted remove interface config ansible_connection={{ ansible_connection }}"
|
||||||
|
|
||||||
- name: Remove interface config
|
- name: "Setup - remove interface config"
|
||||||
junos_config:
|
junos_config:
|
||||||
lines:
|
lines:
|
||||||
- delete interfaces ge-0/0/1
|
- delete interfaces ge-0/0/1
|
||||||
- delete interfaces ge-0/0/2
|
- delete interfaces ge-0/0/2
|
||||||
- delete interfaces ge-0/0/3
|
- delete interfaces ge-0/0/3
|
||||||
|
- delete interfaces lo0
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
msg: "End junos_nterfaces deleted remove interface config ansible_connection={{ ansible_connection }}"
|
msg: "End junos_nterfaces deleted remove interface config ansible_connection={{ ansible_connection }}"
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
expected_deleted_output:
|
expected_deleted_output:
|
||||||
- name: fxp0
|
- name: fxp0
|
||||||
enable: true
|
enable: true
|
||||||
- name: lo0
|
|
||||||
enable: true
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Configure initial state for interface
|
- name: Configure initial state for interface
|
||||||
|
|
|
@ -25,8 +25,6 @@
|
||||||
down: 3200
|
down: 3200
|
||||||
- name: fxp0
|
- name: fxp0
|
||||||
enable: true
|
enable: true
|
||||||
- name: lo0
|
|
||||||
enable: true
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Merge the provided configuration with the exisiting running configuration
|
- name: Merge the provided configuration with the exisiting running configuration
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
enable: true
|
enable: true
|
||||||
- name: fxp0
|
- name: fxp0
|
||||||
enable: true
|
enable: true
|
||||||
- name: lo0
|
|
||||||
enable: true
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Configure initial state for interface
|
- name: Configure initial state for interface
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
down: 3200
|
down: 3200
|
||||||
- name: fxp0
|
- name: fxp0
|
||||||
enable: true
|
enable: true
|
||||||
- name: lo0
|
|
||||||
enable: true
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Configure initial state for interface
|
- name: Configure initial state for interface
|
||||||
|
|
|
@ -25,8 +25,6 @@
|
||||||
down: 3200
|
down: 3200
|
||||||
- name: fxp0
|
- name: fxp0
|
||||||
enable: true
|
enable: true
|
||||||
- name: lo0
|
|
||||||
enable: true
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Apply the provided configuration (base config)
|
- name: Apply the provided configuration (base config)
|
||||||
|
|
Loading…
Reference in a new issue