| 1 |
--- |
| 2 |
merged: |
| 3 |
before: |
| 4 |
- name: "{{ nxos_int1 }}" |
| 5 |
- name: "{{ nxos_int2 }}" |
| 6 |
- name: "{{ nxos_int3 }}" |
| 7 |
commands: |
| 8 |
- "interface {{ nxos_int1 }}" |
| 9 |
- "ip router ospf 100 area 1.1.1.1 secondaries none" |
| 10 |
- "ip router ospf multi-area 11.11.11.11" |
| 11 |
- "ipv6 router ospfv3 200 area 2.2.2.2" |
| 12 |
- "ipv6 router ospfv3 multi-area 16.10.10.10" |
| 13 |
- "ipv6 router ospfv3 multi-area 21.0.0.0" |
| 14 |
- "ipv6 router ospfv3 multi-area 50.50.50.50" |
| 15 |
- "interface {{ nxos_int2 }}" |
| 16 |
- "ip ospf authentication" |
| 17 |
- "ip ospf authentication key-chain test-1" |
| 18 |
- "ip ospf cost 100" |
| 19 |
- "ospfv3 network broadcast" |
| 20 |
- "ospfv3 shutdown" |
| 21 |
- "interface {{ nxos_int3 }}" |
| 22 |
- "ip ospf cost 101" |
| 23 |
after: |
| 24 |
- name: "{{ nxos_int1 }}" |
| 25 |
address_family: |
| 26 |
- afi: ipv4 |
| 27 |
multi_areas: |
| 28 |
- 11.11.11.11 |
| 29 |
processes: |
| 30 |
- area: |
| 31 |
area_id: 1.1.1.1 |
| 32 |
secondaries: false |
| 33 |
process_id: "100" |
| 34 |
- afi: ipv6 |
| 35 |
multi_areas: |
| 36 |
- 16.10.10.10 |
| 37 |
- 21.0.0.0 |
| 38 |
- 50.50.50.50 |
| 39 |
processes: |
| 40 |
- area: |
| 41 |
area_id: 2.2.2.2 |
| 42 |
process_id: "200" |
| 43 |
- name: "{{ nxos_int2 }}" |
| 44 |
address_family: |
| 45 |
- afi: ipv4 |
| 46 |
authentication: |
| 47 |
enable: true |
| 48 |
key_chain: test-1 |
| 49 |
cost: 100 |
| 50 |
- afi: ipv6 |
| 51 |
network: broadcast |
| 52 |
shutdown: true |
| 53 |
- name: "{{ nxos_int3 }}" |
| 54 |
address_family: |
| 55 |
- afi: ipv4 |
| 56 |
cost: 101 |
| 57 |
|
| 58 |
replaced: |
| 59 |
commands: |
| 60 |
- "interface {{ nxos_int1 }}" |
| 61 |
- "no ip router ospf multi-area 11.11.11.11" |
| 62 |
- "ip router ospf multi-area 11.11.11.12" |
| 63 |
- "no ipv6 router ospfv3 200 area 2.2.2.2" |
| 64 |
- "no ipv6 router ospfv3 multi-area 16.10.10.10" |
| 65 |
- "no ipv6 router ospfv3 multi-area 21.0.0.0" |
| 66 |
- "no ipv6 router ospfv3 multi-area 50.50.50.50" |
| 67 |
- "interface {{ nxos_int3 }}" |
| 68 |
- "no ip ospf cost 101" |
| 69 |
after: |
| 70 |
- name: "{{ nxos_int1 }}" |
| 71 |
address_family: |
| 72 |
- afi: ipv4 |
| 73 |
processes: |
| 74 |
- process_id: "100" |
| 75 |
area: |
| 76 |
area_id: 1.1.1.1 |
| 77 |
secondaries: false |
| 78 |
multi_areas: |
| 79 |
- 11.11.11.12 |
| 80 |
- name: "{{ nxos_int2 }}" |
| 81 |
address_family: |
| 82 |
- afi: ipv4 |
| 83 |
authentication: |
| 84 |
enable: true |
| 85 |
key_chain: test-1 |
| 86 |
cost: 100 |
| 87 |
- afi: ipv6 |
| 88 |
network: broadcast |
| 89 |
shutdown: true |
| 90 |
- name: "{{ nxos_int3 }}" |
| 91 |
overridden: |
| 92 |
commands: |
| 93 |
- "interface {{ nxos_int1 }}" |
| 94 |
- "no ip router ospf multi-area 11.11.11.11" |
| 95 |
- "ip router ospf multi-area 11.11.11.12" |
| 96 |
- "no ipv6 router ospfv3 200 area 2.2.2.2" |
| 97 |
- "no ipv6 router ospfv3 multi-area 16.10.10.10" |
| 98 |
- "no ipv6 router ospfv3 multi-area 21.0.0.0" |
| 99 |
- "no ipv6 router ospfv3 multi-area 50.50.50.50" |
| 100 |
- "interface {{ nxos_int2 }}" |
| 101 |
- "no ip ospf authentication" |
| 102 |
- "no ip ospf authentication key-chain test-1" |
| 103 |
- "no ip ospf cost 100" |
| 104 |
- "no ospfv3 network broadcast" |
| 105 |
- "no ospfv3 shutdown" |
| 106 |
- "interface {{ nxos_int3 }}" |
| 107 |
- "no ip ospf cost 101" |
| 108 |
after: |
| 109 |
- name: "{{ nxos_int1 }}" |
| 110 |
address_family: |
| 111 |
- afi: ipv4 |
| 112 |
processes: |
| 113 |
- process_id: "100" |
| 114 |
area: |
| 115 |
area_id: 1.1.1.1 |
| 116 |
secondaries: false |
| 117 |
multi_areas: |
| 118 |
- 11.11.11.12 |
| 119 |
- name: "{{ nxos_int2 }}" |
| 120 |
- name: "{{ nxos_int3 }}" |
| 121 |
deleted: |
| 122 |
commands: |
| 123 |
- "interface {{ nxos_int1 }}" |
| 124 |
- "no ip router ospf 100 area 1.1.1.1 secondaries none" |
| 125 |
- "no ip router ospf multi-area 11.11.11.11" |
| 126 |
- "no ipv6 router ospfv3 200 area 2.2.2.2" |
| 127 |
- "no ipv6 router ospfv3 multi-area 16.10.10.10" |
| 128 |
- "no ipv6 router ospfv3 multi-area 21.0.0.0" |
| 129 |
- "no ipv6 router ospfv3 multi-area 50.50.50.50" |
| 130 |
- "interface {{ nxos_int2 }}" |
| 131 |
- "no ip ospf authentication" |
| 132 |
- "no ip ospf authentication key-chain test-1" |
| 133 |
- "no ip ospf cost 100" |
| 134 |
- "no ospfv3 network broadcast" |
| 135 |
- "no ospfv3 shutdown" |
| 136 |
- "interface {{ nxos_int3 }}" |
| 137 |
- "no ip ospf cost 101" |