Skip to content
Snippets Groups Projects
Commit c9c725a0 authored by geant-release-service's avatar geant-release-service
Browse files

Finished release 2.38.

parents 6c715325 bdbd28f3
No related branches found
No related tags found
No related merge requests found
Pipeline #91922 passed
# 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
......
...@@ -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",
......
...@@ -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.37", version="2.38",
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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment