Skip to content
Snippets Groups Projects

Feature/add validation workflows

Merged Karel van Klink requested to merge feature/add-validation-workflows into develop
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -36,7 +36,7 @@ def verify_ipam_loopback(subscription: Router) -> None:
@step("Verify correct Netbox entry")
def verify_netbox_entry(subscription: Router) -> None:
def check_netbox_entry_exists(subscription: Router) -> None:
"""Validate the Netbox entry for a Router.
This will only ensure existence of the node itself in Netbox. Validation of separate interfaces takes places in
@@ -48,7 +48,7 @@ def verify_netbox_entry(subscription: Router) -> None:
@step("Verify correct LibreNMS entry")
def verify_librenms_entry(subscription: Router) -> None:
def check_librenms_entry_exists(subscription: Router) -> None:
"""Validate the LibreNMS entry for a Router.
Raises an HTTP error 404 when the device is not present in LibreNMS.
@@ -100,8 +100,8 @@ def validate_router() -> StepList:
>> is_juniper_router(done)
>> unsync
>> verify_ipam_loopback
>> verify_netbox_entry
>> verify_librenms_entry
>> check_netbox_entry_exists
>> check_librenms_entry_exists
>> anonymous_lso_interaction(verify_base_config)
>> anonymous_lso_interaction(validate_ibgp_mesh_config)
>> resync
Loading