|
59 | 59 | }
|
60 | 60 | }
|
61 | 61 | }
|
62 |
| - } |
| 62 | + }, |
| 63 | + "customer": { |
| 64 | + "isisInstances": { |
| 65 | + "CORE-ISIS": { |
| 66 | + "neighbors": { |
| 67 | + "0168.0000.0112": { |
| 68 | + "adjacencies": [ |
| 69 | + { |
| 70 | + "hostname": "s1-p02", |
| 71 | + "circuitId": "87", |
| 72 | + "interfaceName": "Ethernet2", |
| 73 | + "state": "down", |
| 74 | + "lastHelloTime": 1713688405, |
| 75 | + "routerIdV4": "1.0.0.112", |
| 76 | + } |
| 77 | + ] |
| 78 | + } |
| 79 | + } |
| 80 | + } |
| 81 | + } |
| 82 | + }, |
63 | 83 | }
|
64 | 84 | },
|
65 | 85 | ],
|
|
91 | 111 | },
|
92 | 112 | },
|
93 | 113 | },
|
94 |
| - "customer": { |
95 |
| - "isisInstances": { |
96 |
| - "CORE-ISIS": { |
97 |
| - "neighbors": { |
98 |
| - "0168.0000.0112": { |
99 |
| - "adjacencies": [ |
100 |
| - { |
101 |
| - "hostname": "s1-p02", |
102 |
| - "circuitId": "87", |
103 |
| - "interfaceName": "Ethernet2", |
104 |
| - "state": "up", |
105 |
| - "lastHelloTime": 1713688405, |
106 |
| - "routerIdV4": "1.0.0.112", |
107 |
| - } |
108 |
| - ] |
109 |
| - } |
| 114 | + }, |
| 115 | + "customer": { |
| 116 | + "isisInstances": { |
| 117 | + "CORE-ISIS": { |
| 118 | + "neighbors": { |
| 119 | + "0168.0000.0112": { |
| 120 | + "adjacencies": [ |
| 121 | + { |
| 122 | + "hostname": "s1-p02", |
| 123 | + "circuitId": "87", |
| 124 | + "interfaceName": "Ethernet2", |
| 125 | + "state": "up", |
| 126 | + "lastHelloTime": 1713688405, |
| 127 | + "routerIdV4": "1.0.0.112", |
| 128 | + } |
| 129 | + ] |
110 | 130 | }
|
111 | 131 | }
|
112 | 132 | }
|
113 |
| - }, |
114 |
| - } |
| 133 | + } |
| 134 | + }, |
115 | 135 | }
|
116 | 136 | },
|
117 | 137 | ],
|
118 |
| - "inputs": None, |
| 138 | + "inputs": {"check_all_vrfs": True}, |
119 | 139 | "expected": {"result": "success"},
|
120 | 140 | },
|
121 | 141 | {
|
|
177 | 197 | "messages": ["IS-IS is not configured on device"],
|
178 | 198 | },
|
179 | 199 | },
|
| 200 | + { |
| 201 | + "name": "failure different vrfs", |
| 202 | + "test": VerifyISISNeighborState, |
| 203 | + "eos_data": [ |
| 204 | + { |
| 205 | + "vrfs": { |
| 206 | + "default": { |
| 207 | + "isisInstances": { |
| 208 | + "CORE-ISIS": { |
| 209 | + "neighbors": { |
| 210 | + "0168.0000.0111": { |
| 211 | + "adjacencies": [ |
| 212 | + { |
| 213 | + "hostname": "s1-p01", |
| 214 | + "circuitId": "83", |
| 215 | + "interfaceName": "Ethernet1", |
| 216 | + "state": "up", |
| 217 | + "lastHelloTime": 1713688408, |
| 218 | + "routerIdV4": "1.0.0.111", |
| 219 | + } |
| 220 | + ] |
| 221 | + }, |
| 222 | + }, |
| 223 | + }, |
| 224 | + }, |
| 225 | + }, |
| 226 | + "customer": { |
| 227 | + "isisInstances": { |
| 228 | + "CORE-ISIS": { |
| 229 | + "neighbors": { |
| 230 | + "0168.0000.0112": { |
| 231 | + "adjacencies": [ |
| 232 | + { |
| 233 | + "hostname": "s1-p02", |
| 234 | + "circuitId": "87", |
| 235 | + "interfaceName": "Ethernet2", |
| 236 | + "state": "down", |
| 237 | + "lastHelloTime": 1713688405, |
| 238 | + "routerIdV4": "1.0.0.112", |
| 239 | + } |
| 240 | + ] |
| 241 | + } |
| 242 | + } |
| 243 | + } |
| 244 | + } |
| 245 | + }, |
| 246 | + } |
| 247 | + }, |
| 248 | + ], |
| 249 | + "inputs": {"check_all_vrfs": True}, |
| 250 | + "expected": { |
| 251 | + "result": "failure", |
| 252 | + "messages": ["Instance: CORE-ISIS VRF: customer Interface: Ethernet2 - Session (adjacency) down"], |
| 253 | + }, |
| 254 | + }, |
180 | 255 | {
|
181 | 256 | "name": "success only default vrf",
|
182 | 257 | "test": VerifyISISNeighborCount,
|
|
0 commit comments