|
80 | 80 | svc_type: adc |
81 | 81 | trunking: false |
82 | 82 | prom_mode: true |
| 83 | + name_alias: ansible_device_alias |
83 | 84 | state: present |
84 | 85 | check_mode: true |
85 | 86 | register: create_l4l7_device_cm |
|
132 | 133 | - create_l4l7_device_cm.proposed.vnsLDevVip.attributes.promMode == "yes" |
133 | 134 | - create_l4l7_device_cm.proposed.vnsLDevVip.attributes.svcType == "ADC" |
134 | 135 | - create_l4l7_device_cm.proposed.vnsLDevVip.attributes.trunking == "no" |
| 136 | + - create_l4l7_device_cm.proposed.vnsLDevVip.attributes.nameAlias == "ansible_device_alias" |
135 | 137 | - create_l4l7_device.current.0.vnsLDevVip.attributes.dn == "uni/tn-ansible_tenant/lDevVip-ansible_device" |
136 | 138 | - create_l4l7_device.current.0.vnsLDevVip.attributes.name == "ansible_device" |
137 | 139 | - create_l4l7_device.current.0.vnsLDevVip.attributes.contextAware == "single-Context" |
|
142 | 144 | - create_l4l7_device.current.0.vnsLDevVip.attributes.promMode == "yes" |
143 | 145 | - create_l4l7_device.current.0.vnsLDevVip.attributes.svcType == "ADC" |
144 | 146 | - create_l4l7_device.current.0.vnsLDevVip.attributes.trunking == "no" |
| 147 | + - create_l4l7_device.current.0.vnsLDevVip.attributes.nameAlias == "ansible_device_alias" |
145 | 148 | - create_virt_l4l7_device.current.0.vnsLDevVip.attributes.dn == "uni/tn-ansible_tenant/lDevVip-ansible_virt_device" |
146 | 149 | - create_virt_l4l7_device.current.0.vnsLDevVip.attributes.name == "ansible_virt_device" |
147 | 150 | - create_virt_l4l7_device.current.0.vnsLDevVip.attributes.contextAware == "single-Context" |
|
183 | 186 | svc_type: fw |
184 | 187 | trunking: true |
185 | 188 | prom_mode: false |
| 189 | + name_alias: ansible_device_alias_updated |
186 | 190 | state: present |
187 | 191 | register: update_l4l7_device |
188 | 192 |
|
|
200 | 204 | - update_l4l7_device.current.0.vnsLDevVip.attributes.promMode == "no" |
201 | 205 | - update_l4l7_device.current.0.vnsLDevVip.attributes.svcType == "FW" |
202 | 206 | - update_l4l7_device.current.0.vnsLDevVip.attributes.trunking == "yes" |
| 207 | + - update_l4l7_device.current.0.vnsLDevVip.attributes.nameAlias == "ansible_device_alias_updated" |
203 | 208 |
|
204 | 209 | - name: Verify domain binding object |
205 | 210 | ansible.builtin.assert: |
|
253 | 258 | - query_l4l7_device.current.0.vnsLDevVip.attributes.promMode == "no" |
254 | 259 | - query_l4l7_device.current.0.vnsLDevVip.attributes.svcType == "FW" |
255 | 260 | - query_l4l7_device.current.0.vnsLDevVip.attributes.trunking == "yes" |
| 261 | + - query_l4l7_device.current.0.vnsLDevVip.attributes.nameAlias == "ansible_device_alias_updated" |
256 | 262 |
|
257 | 263 | - name: Query all L4-L7 Devices |
258 | 264 | cisco.aci.aci_l4l7_device: |
|
0 commit comments