|
39 | 39 | } |
40 | 40 | }, |
41 | 41 | ], |
42 | | - False, |
| 42 | + True, |
43 | 43 | ), |
44 | 44 | ) |
45 | 45 | operator_contains = ( |
46 | 46 | "pre.json", |
47 | 47 | "operator", |
48 | 48 | {"params": {"mode": "contains", "operator_data": "EVPN"}}, |
49 | 49 | "result[0].vrfs.default.peerList[*].[$peerAddress$,peerGroup]", |
50 | | - ([{"7.7.7.7": {"peerGroup": "EVPN-OVERLAY-SPINE"}}], True), |
| 50 | + ([{"7.7.7.7": {"peerGroup": "EVPN-OVERLAY-SPINE"}}], False), |
51 | 51 | ) |
52 | 52 | operator_not_contains = ( |
53 | 53 | "pre.json", |
|
60 | 60 | {"10.2.0.0": {"peerGroup": "IPv4-UNDERLAY-SPINE"}}, |
61 | 61 | {"10.64.207.255": {"peerGroup": "IPv4-UNDERLAY-MLAG-PEER"}}, |
62 | 62 | ], |
63 | | - True, |
| 63 | + False, |
64 | 64 | ), |
65 | 65 | ) |
66 | 66 | operator_is_gt = ( |
|
75 | 75 | {"10.2.0.0": {"prefixesSent": 50}}, |
76 | 76 | {"10.64.207.255": {"prefixesSent": 50}}, |
77 | 77 | ], |
78 | | - True, |
| 78 | + False, |
79 | 79 | ), |
80 | 80 | ) |
81 | 81 | operator_is_lt = ( |
|
90 | 90 | {"10.2.0.0": {"prefixesSent": 50}}, |
91 | 91 | {"10.64.207.255": {"prefixesSent": 50}}, |
92 | 92 | ], |
93 | | - True, |
| 93 | + False, |
94 | 94 | ), |
95 | 95 | ) |
96 | 96 | operator_is_in = ( |
|
105 | 105 | {"10.2.0.0": {"prefixesSent": 50}}, |
106 | 106 | {"10.64.207.255": {"prefixesSent": 50}}, |
107 | 107 | ], |
108 | | - True, |
| 108 | + False, |
109 | 109 | ), |
110 | 110 | ) |
111 | 111 | operator_not_in = ( |
|
120 | 120 | {"10.2.0.0": {"prefixesSent": 50}}, |
121 | 121 | {"10.64.207.255": {"prefixesSent": 50}}, |
122 | 122 | ], |
123 | | - True, |
| 123 | + False, |
124 | 124 | ), |
125 | 125 | ) |
126 | 126 | operator_in_range = ( |
|
135 | 135 | {"10.2.0.0": {"prefixesSent": 50}}, |
136 | 136 | {"10.64.207.255": {"prefixesSent": 50}}, |
137 | 137 | ], |
138 | | - True, |
| 138 | + False, |
139 | 139 | ), |
140 | 140 | ) |
141 | 141 | operator_not_in_range = ( |
|
150 | 150 | {"10.2.0.0": {"prefixesSent": 50}}, |
151 | 151 | {"10.64.207.255": {"prefixesSent": 50}}, |
152 | 152 | ], |
153 | | - True, |
| 153 | + False, |
154 | 154 | ), |
155 | 155 | ) |
156 | 156 |
|
|
0 commit comments