hier_config
hier_config copied to clipboard
Complete the testing circle remediation/future config
Test full configuration workflows in a circular way that ensures correctness of hier_config's remediation and future config generating features.
- Instances
- One set of test files for each major supported OS - IOS, EOS, NXOS, IOSXR
- Testing flow
- Load a full running config
- Assert that loaded running config matches the file
- Load a full generated config
- Assert that loaded generated config matches the file
- Generate the remediation config
- Assert that remediation config matches the file
- Generate the future config
running.future(remediation)- Assert the future config equals the generated config
- Generate the rollback config
- Assert that the rollback config matches the file
- Generate the rollback_future config
future.future(rollback)- Assert the rollback_future equals the running config
- Load a full running config
- Config files
- Generated (aka future)
- Running (aka rollback_future)
- Remediation
- Rollback