Commit 5a620c0
* fix for issue NewValidation: CSCwp95515 - Policydist crash-loop on upgrade if configpushShardCont headTx is non-zero while tailTx is zero #253
* Welkin issue 245 (#263)
* Introduced CSCwp22212 check for stale pconsRA objects
---------
Co-authored-by: Gabriel <gmonroy@cisco.com>
* Add ISIS DTEP Check (#247)
* Add ISIS DTEP Check
---------
Co-authored-by: Gabriel <gmonroy@cisco.com>
* bump to v2.6.0
* PUV updates (#254)
* feat: synth class + write back each function as json result
* fix: Clean up get_vpc_nodes() and its pytest
* feat: Split the main script execution code into each func and add pytest
* feat: Retire json_log and adopt json per rule for both PUV and regular use + linting
* feat: Support QA version and AciVersion instance as input in AciVersion (#259)
* feat: Support QA version and AciVersion instance as input in AciVersion
* fix: Use supported version format in older_than
* fix: Use ValueError in AciVersion
* feat: -c (cversion) / -d (debug_function) args into puv (#265)
* feat: Update synthMaintP with the latest schema with ruleId
* feat: Add decorator `@check_wrapper` for all check functions
A new decorator `@check_wrapper` is to move most of the I/O functionalities,
such as printing and writing the result into a file, outside of each
check function so that each check can focus on the validation logic
itself by minimizing the impact from a requirement change in the output
format and so on.
To support this, a new class `Result` is also introduced to make it
clear what a check function is expected to return. As long as `Result`
class is returned, the decorator `@check_wrapper` handles the printing
them to stdout and files.
* feat: rename synth class to AciResult + breakdown --puv into --api-only and --no-cleanup
* feat: Add --version and --total-checks input args
* feat: Do not touch log folders with some options like --version
* fix: ValueError when col and row len do not match + pytest
* fix: correct checks with mismatched col row length
* fix: cimc logic update for QA
---------
Co-authored-by: takishida <38262981+takishida@users.noreply.github.com>
Co-authored-by: tkishida <tkishida@cisco.com>
* bump to v3.0.0
v3.0.0 to mark for PUV integration + accounting for the 7 new input arg options
* fix for issue NewValidation: CSCwp95515 - Policydist crash-loop on upgrade if configpushShardCont headTx is non-zero while tailTx is zero #253
* testchange
* changes based on version3
* logic + pytest cleanup
* changed the query and content of pos file to match with bug coditions.
* fix query + cleanup docs
* title consistency
* fix doc link
---------
Co-authored-by: Welkin <48639332+welkin-he@users.noreply.github.com>
Co-authored-by: Gabriel <gmonroy@cisco.com>
Co-authored-by: Joe LeBlanc <joelebla@cisco.com>
Co-authored-by: GM <monrog2@gmail.com>
Co-authored-by: takishida <38262981+takishida@users.noreply.github.com>
Co-authored-by: tkishida <tkishida@cisco.com>
1 parent 2c3f18c commit 5a620c0
4 files changed
Lines changed: 128 additions & 1 deletion
File tree
- docs/docs
- tests/configpush_shard_check
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5302 | 5302 | | |
5303 | 5303 | | |
5304 | 5304 | | |
| 5305 | + | |
| 5306 | + | |
| 5307 | + | |
| 5308 | + | |
| 5309 | + | |
| 5310 | + | |
| 5311 | + | |
| 5312 | + | |
| 5313 | + | |
| 5314 | + | |
| 5315 | + | |
| 5316 | + | |
| 5317 | + | |
| 5318 | + | |
| 5319 | + | |
| 5320 | + | |
| 5321 | + | |
| 5322 | + | |
| 5323 | + | |
| 5324 | + | |
| 5325 | + | |
| 5326 | + | |
| 5327 | + | |
| 5328 | + | |
| 5329 | + | |
| 5330 | + | |
| 5331 | + | |
| 5332 | + | |
| 5333 | + | |
5305 | 5334 | | |
5306 | 5335 | | |
5307 | 5336 | | |
| |||
5461 | 5490 | | |
5462 | 5491 | | |
5463 | 5492 | | |
| 5493 | + | |
5464 | 5494 | | |
5465 | 5495 | | |
5466 | 5496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
2579 | 2580 | | |
2580 | 2581 | | |
2581 | 2582 | | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
2582 | 2592 | | |
2583 | 2593 | | |
2584 | 2594 | | |
| |||
2638 | 2648 | | |
2639 | 2649 | | |
2640 | 2650 | | |
| 2651 | + | |
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
0 commit comments