Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Commits
66ac933a
Commit
66ac933a
authored
10 months ago
by
Karel van Klink
Committed by
Neda Moeini
8 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Update method names in router validation
parent
5c74efe8
No related branches found
No related tags found
1 merge request
!139
Feature/add validation workflows
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gso/workflows/router/validate_router.py
+4
-4
4 additions, 4 deletions
gso/workflows/router/validate_router.py
with
4 additions
and
4 deletions
gso/workflows/router/validate_router.py
+
4
−
4
View file @
66ac933a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment