Adapt integration tests to fix
Conflicts: test/integration/targets/aci_access_port_to_interface_policy_leaf_profile/tasks/main.yml
This commit is contained in:
parent
4fa4d13024
commit
5201ffcf3a
1 changed files with 13 additions and 1 deletions
|
@ -8,6 +8,18 @@
|
||||||
msg: 'Please define the following variables: aci_hostname, aci_username and aci_password.'
|
msg: 'Please define the following variables: aci_hostname, aci_username and aci_password.'
|
||||||
when: aci_hostname is not defined or aci_username is not defined or aci_password is not defined
|
when: aci_hostname is not defined or aci_username is not defined or aci_password is not defined
|
||||||
|
|
||||||
|
- name: Ensuring bindings do not already exist
|
||||||
|
aci_access_port_to_interface_policy_leaf_profile:
|
||||||
|
host: "{{ aci_hostname }}"
|
||||||
|
username: "{{ aci_username }}"
|
||||||
|
password: "{{ aci_password }}"
|
||||||
|
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||||
|
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||||
|
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||||
|
leaf_interface_profile: leafintprftest
|
||||||
|
access_port_selector: anstest_accessportselector
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Ensuring Interface Policy Leaf profile exists for kick off
|
- name: Ensuring Interface Policy Leaf profile exists for kick off
|
||||||
aci_interface_policy_leaf_profile: &aci_interface_policy_leaf_profile_present
|
aci_interface_policy_leaf_profile: &aci_interface_policy_leaf_profile_present
|
||||||
host: "{{ aci_hostname }}"
|
host: "{{ aci_hostname }}"
|
||||||
|
@ -56,7 +68,7 @@
|
||||||
- accessport_to_intf_check_mode_present is changed
|
- accessport_to_intf_check_mode_present is changed
|
||||||
- accessport_to_intf_present is changed
|
- accessport_to_intf_present is changed
|
||||||
- accessport_to_intf_present.previous == []
|
- accessport_to_intf_present.previous == []
|
||||||
- 'accessport_to_intf_present.sent == {"infraHPortS": {"attributes": {"name": "anstest_accessportselector"}, "children": [{"infraPortBlk": {"attributes": {"fromPort": "13", "name": "anstest_leafportblkname", "toPort": "16"}}}, {"infraRsAccBaseGrp": {"attributes": {"tDn": "uni/infra/funcprof/accportgrp-None"}}}]}}'
|
- 'accessport_to_intf_present.sent == {"infraHPortS": {"attributes": {"name": "anstest_accessportselector"}, "children": [{"infraPortBlk": {"attributes": {"fromPort": "13", "name": "anstest_leafportblkname", "toPort": "16"}}}]}}'
|
||||||
- accessport_to_intf_idempotent is not changed
|
- accessport_to_intf_idempotent is not changed
|
||||||
- accessport_to_intf_idempotent.sent == {}
|
- accessport_to_intf_idempotent.sent == {}
|
||||||
- accessport_to_intf_update is changed
|
- accessport_to_intf_update is changed
|
||||||
|
|
Loading…
Reference in a new issue