|
513 | 513 | that:
|
514 | 514 | - nm_remove_again_stat2e2 is not changed
|
515 | 515 |
|
516 |
| -# ADD STATIC PORT WITHOUT VLAN |
517 |
| -- name: Add static port 3 (dpc) to EPG6 of AP2 without VLAN (error) |
518 |
| - cisco.mso.mso_schema_site_anp_epg_staticport: |
519 |
| - <<: *mso_info |
520 |
| - schema: '{{ mso_schema | default("ansible_test") }}' |
521 |
| - site: '{{ mso_site | default("ansible_test") }}' |
522 |
| - template: Template 1 |
523 |
| - anp: AP2 |
524 |
| - epg: EPG6 |
525 |
| - pod: pod-2 |
526 |
| - leaf: 102 |
527 |
| - path: eth1/3 |
528 |
| - deployment_immediacy: lazy |
529 |
| - mode: regular |
530 |
| - type: dpc |
531 |
| - primary_micro_segment_vlan: 199 |
532 |
| - state: present |
533 |
| - ignore_errors: true |
534 |
| - register: nm_add_stat3e6 |
535 |
| - |
536 |
| -- name: Verify nm_add_stat3e6 |
537 |
| - ansible.builtin.assert: |
538 |
| - that: |
539 |
| - - nm_add_stat3e6 is failed |
540 |
| - - nm_add_stat3e6.msg == "state is present or absent but all of the following are missing{{":"}} vlan." |
541 |
| - |
542 | 516 | # ADD STATIC PORT WITH VLAN
|
543 | 517 | - name: Add static port 3 (dpc) to EPG6 of AP2 with VLAN (success)
|
544 | 518 | cisco.mso.mso_schema_site_anp_epg_staticport:
|
|
1238 | 1212 | - nm_remove_static_ports_2.current.9.path == "topology/pod-1/paths-101/pathep-[eth2/9]"
|
1239 | 1213 | - nm_remove_static_ports_2.current.9.portEncapVlan == 1209
|
1240 | 1214 |
|
1241 |
| -# ADD STATIC PORT WITHOUT VLAN (BULK) |
1242 |
| -- name: Add static port 3 & 4 (dpc) to epg_bulk of anp_bulk without VLAN (error) |
1243 |
| - cisco.mso.mso_schema_site_anp_epg_staticport: |
1244 |
| - <<: *mso_info |
1245 |
| - schema: '{{ mso_schema | default("ansible_test") }}' |
1246 |
| - site: '{{ mso_site | default("ansible_test") }}' |
1247 |
| - template: template_bulk |
1248 |
| - anp: anp_bulk |
1249 |
| - epg: epg_bulk |
1250 |
| - static_ports: |
1251 |
| - - pod: pod-2 |
1252 |
| - leaf: 102 |
1253 |
| - path: eth1/3 |
1254 |
| - deployment_immediacy: lazy |
1255 |
| - mode: regular |
1256 |
| - type: dpc |
1257 |
| - primary_micro_segment_vlan: 199 |
1258 |
| - - pod: pod-2 |
1259 |
| - leaf: 102 |
1260 |
| - path: eth1/4 |
1261 |
| - deployment_immediacy: lazy |
1262 |
| - mode: regular |
1263 |
| - type: dpc |
1264 |
| - primary_micro_segment_vlan: 199 |
1265 |
| - state: present |
1266 |
| - |
1267 | 1215 | # ADD STATIC PORT WITH VLAN (BULK)
|
1268 | 1216 | - name: Add static port 3 & 4 (dpc) to epg_bulk of anp_bulk with VLAN (success)
|
1269 | 1217 | cisco.mso.mso_schema_site_anp_epg_staticport:
|
|
0 commit comments