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
Jira
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
c9c725a0
Commit
c9c725a0
authored
3 months ago
by
geant-release-service
Browse files
Options
Downloads
Plain Diff
Finished release 2.38.
parents
6c715325
bdbd28f3
No related branches found
No related tags found
No related merge requests found
Pipeline
#91922
passed
3 months ago
Stage: tox
Stage: documentation
Stage: sonarqube
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Changelog.md
+3
-0
3 additions, 0 deletions
Changelog.md
gso/workflows/router/validate_router.py
+3
-0
3 additions, 0 deletions
gso/workflows/router/validate_router.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
7 additions
and
1 deletion
Changelog.md
+
3
−
0
View file @
c9c725a0
# Changelog
# Changelog
## [2.38] - 2025-02-14
-
fix validate base config if there is a vprn
## [2.37] - 2025-02-14
## [2.37] - 2025-02-14
-
fix redeploy base config if there is a vprn
-
fix redeploy base config if there is a vprn
...
...
This diff is collapsed.
Click to expand it.
gso/workflows/router/validate_router.py
+
3
−
0
View file @
c9c725a0
...
@@ -16,6 +16,7 @@ from gso.services.kentik_client import KentikClient
...
@@ -16,6 +16,7 @@ from gso.services.kentik_client import KentikClient
from
gso.services.librenms_client
import
LibreNMSClient
from
gso.services.librenms_client
import
LibreNMSClient
from
gso.services.lso_client
import
LSOState
,
anonymous_lso_interaction
from
gso.services.lso_client
import
LSOState
,
anonymous_lso_interaction
from
gso.services.netbox_client
import
NetboxClient
from
gso.services.netbox_client
import
NetboxClient
from
gso.services.subscriptions
import
get_active_vrfs_linked_to_router
from
gso.utils.helpers
import
generate_inventory_for_routers
from
gso.utils.helpers
import
generate_inventory_for_routers
from
gso.utils.shared_enums
import
Vendor
from
gso.utils.shared_enums
import
Vendor
...
@@ -154,11 +155,13 @@ def check_kentik_entry_exists(subscription: Router) -> None:
...
@@ -154,11 +155,13 @@ def check_kentik_entry_exists(subscription: Router) -> None:
@step
(
"
Check base config for drift
"
)
@step
(
"
Check base config for drift
"
)
def
verify_base_config
(
subscription
:
dict
[
str
,
Any
])
->
LSOState
:
def
verify_base_config
(
subscription
:
dict
[
str
,
Any
])
->
LSOState
:
"""
Workflow step for running a playbook that checks whether base config has drifted.
"""
"""
Workflow step for running a playbook that checks whether base config has drifted.
"""
vrf_list
=
get_active_vrfs_linked_to_router
(
str
(
subscription
[
"
subscription_id
"
]))
return
{
return
{
"
playbook_name
"
:
"
gap_ansible/playbooks/base_config.yaml
"
,
"
playbook_name
"
:
"
gap_ansible/playbooks/base_config.yaml
"
,
"
inventory
"
:
{
"
all
"
:
{
"
hosts
"
:
{
subscription
[
"
router
"
][
"
router_fqdn
"
]:
None
}}},
"
inventory
"
:
{
"
all
"
:
{
"
hosts
"
:
{
subscription
[
"
router
"
][
"
router_fqdn
"
]:
None
}}},
"
extra_vars
"
:
{
"
extra_vars
"
:
{
"
wfo_router_json
"
:
subscription
,
"
wfo_router_json
"
:
subscription
,
"
vrf_list
"
:
vrf_list
,
"
verb
"
:
"
deploy
"
,
"
verb
"
:
"
deploy
"
,
"
dry_run
"
:
"
true
"
,
"
dry_run
"
:
"
true
"
,
"
is_verification_workflow
"
:
"
true
"
,
"
is_verification_workflow
"
:
"
true
"
,
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
c9c725a0
...
@@ -4,7 +4,7 @@ from setuptools import find_packages, setup
...
@@ -4,7 +4,7 @@ from setuptools import find_packages, setup
setup
(
setup
(
name
=
"
geant-service-orchestrator
"
,
name
=
"
geant-service-orchestrator
"
,
version
=
"
2.3
7
"
,
version
=
"
2.3
8
"
,
author
=
"
GÉANT Orchestration and Automation Team
"
,
author
=
"
GÉANT Orchestration and Automation Team
"
,
author_email
=
"
goat@geant.org
"
,
author_email
=
"
goat@geant.org
"
,
description
=
"
GÉANT Service Orchestrator
"
,
description
=
"
GÉANT Service Orchestrator
"
,
...
...
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