Validate iptrunk
Router validation workflow. Used in a nightly schedule.
validate_router_config(subscription)
Run an Ansible playbook that validates the configuration that is present on an active IP trunk.
Source code in gso/workflows/iptrunk/validate_iptrunk.py
verify_ipam_records(subscription)
Validate the IPAM resources for the LAG interfaces.
Raises:
Type | Description |
---|---|
ProcessFailureError
|
if IPAM is configured incorrectly. |
Source code in gso/workflows/iptrunk/validate_iptrunk.py
verify_netbox_entries(subscription)
Validate required entries for an IP trunk in NetBox.
Source code in gso/workflows/iptrunk/validate_iptrunk.py
verify_iptrunk_config(subscription)
Check for configuration drift on the relevant routers.
Source code in gso/workflows/iptrunk/validate_iptrunk.py
check_ip_trunk_isis(subscription)
Run an Ansible playbook to check for any ISIS configuration drift.
Source code in gso/workflows/iptrunk/validate_iptrunk.py
verify_twamp_config(subscription)
Check for configuration drift of TWAMP.
Source code in gso/workflows/iptrunk/validate_iptrunk.py
validate_iptrunk()
Validate an existing, active IP Trunk subscription.
- Verify that the LAG interfaces are correctly configured in IPAM.
- Check correct configuration of interfaces in NetBox.
- Verify the configuration on both sides of the trunk is intact.
- Check the ISIS metric of the trunk.
- Verify that TWAMP configuration is correct.
If a trunk has a Juniper router on both sides, it is considered legacy and does not require validation.