Nxos restore provider to nxapi tests (#41818)

* Quick and dirty sed to add provider

* Manually verify the rest of the cases

* Add missing provider
This commit is contained in:
Nathaniel Case
2018-07-02 09:43:51 -04:00
committed by GitHub
parent 1659951710
commit a197125954
127 changed files with 713 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
- name: "Disable feature BGP"
nxos_feature:
feature: bgp
provider: "{{ connection }}"
state: disabled
- block:
@@ -21,12 +22,14 @@
- name: "Enable feature BGP"
nxos_feature:
feature: bgp
provider: "{{ connection }}"
state: enabled
- name: "Configure BGP defaults"
nxos_bgp: &configure_default
asn: 65535
router_id: 192.0.2.1
provider: "{{ connection }}"
state: present
register: result
@@ -61,6 +64,7 @@
- name: "Disable feature bgp"
nxos_feature:
feature: bgp
provider: "{{ connection }}"
state: disabled
- debug: msg="END nxapi/sanity.yaml on connection={{ ansible_connection }}"