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

Finished release 2.12.

parents 4037dc1d c2f35f9a
No related branches found
No related tags found
No related merge requests found
Pipeline #88682 passed
Showing
with 138 additions and 6 deletions
......@@ -17,7 +17,6 @@ run-tox-pipeline:
services:
- postgres:15.4
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
......@@ -27,14 +26,11 @@ run-tox-pipeline:
DATABASE_URI_TEST: 'postgresql://nwa:nwa@postgres:5432/gso-test-db'
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/topics/caching/
#
# If you want to also cache the installed packages, you have to install
# them in a virtualenv and cache it as well.
cache:
key: tox-virtualenv
paths:
- .cache/pip
- venv/
before_script:
- pip install virtualenv
......
# Changelog
## [2.12] - 2024-08-22
- Add promote P to PE workflow.
- Add new cleanup task
- Rework the Kentik client
- Update documentation of services and schedules modules
- Enhanced Infoblox: Now pings all hosts, searches for all IPs, and checks for overlapping IP trunk subscriptions in allocated networks when creating a trunk.
## [2.11] - 2024-08-19
- (fix) Make LibreNMS retry when a request times out
- (fix) Adjust the mechanics of the minimum amount of links when creating an IP trunk
......
``gso.schedules.clean_old_tasks``
=================================
.. automodule:: gso.schedules.clean_old_tasks
:members:
:show-inheritance:
......@@ -14,7 +14,9 @@ Submodules
.. toctree::
:maxdepth: 1
clean_old_tasks
scheduling
send_email_notifications
task_vacuum
validate_products
validate_subscriptions
``gso.schedules.send_email_notifications``
==========================================
.. automodule:: gso.schedules.send_email_notifications
:members:
:show-inheritance:
......@@ -13,9 +13,12 @@ Submodules
:titlesonly:
infoblox
kentik_client
librenms_client
lso_client
mailer
netbox_client
partners
processes
sharepoint
subscriptions
``gso.services.kentik_client``
==============================
.. automodule:: gso.services.kentik_client
:members:
:show-inheritance:
``gso.services.processes``
==========================
.. automodule:: gso.services.processes
:members:
:show-inheritance:
``gso.services.sharepoint``
===========================
.. automodule:: gso.services.sharepoint
:members:
:show-inheritance:
``gso.utils.types``
===================
.. automodule:: gso.utils.types
:members:
:show-inheritance:
......@@ -17,6 +17,8 @@ Submodules
create_router
import_router
modify_connection_strategy
modify_kentik_license
promote_p_to_pe
redeploy_base_config
terminate_router
update_ibgp_mesh
......
``gso.workflows.router.modify_kentik_license``
==============================================
.. automodule:: gso.workflows.router.modify_kentik_license
:members:
:show-inheritance:
``gso.workflows.router.promote_p_to_pe``
========================================
.. automodule:: gso.workflows.router.promote_p_to_pe
:members:
:show-inheritance:
``gso.workflows.tasks.clean_old_tasks``
=======================================
.. automodule:: gso.workflows.tasks.clean_old_tasks
:members:
:show-inheritance:
``gso.workflows.tasks.create_partners``
=======================================
.. automodule:: gso.workflows.tasks.create_partners
:members:
:show-inheritance:
``gso.workflows.tasks.delete_partners``
=======================================
.. automodule:: gso.workflows.tasks.delete_partners
:members:
:show-inheritance:
......@@ -12,4 +12,9 @@ Submodules
:maxdepth: 2
:titlesonly:
clean_old_tasks
create_partners
delete_partners
modify_partners
send_email_notifications
validate_geant_products
``gso.workflows.tasks.modify_partners``
=======================================
.. automodule:: gso.workflows.tasks.modify_partners
:members:
:show-inheritance:
``gso.workflows.tasks.send_email_notifications``
================================================
.. automodule:: gso.workflows.tasks.send_email_notifications
:members:
:show-inheritance:
"""Add router modification workflow for kentik licenses.
Revision ID: 87a05eddee3e
Revises: 844aa61c09ce
Create Date: 2024-08-02 15:09:42.597063
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = '87a05eddee3e'
down_revision = '844aa61c09ce'
branch_labels = None
depends_on = None
from orchestrator.migrations.helpers import create_workflow, delete_workflow
new_workflows = [
{
"name": "modify_router_kentik_license",
"target": "MODIFY",
"description": "Modify Kentik license",
"product_type": "Router"
}
]
def upgrade() -> None:
conn = op.get_bind()
for workflow in new_workflows:
create_workflow(conn, workflow)
def downgrade() -> None:
conn = op.get_bind()
for workflow in new_workflows:
delete_workflow(conn, workflow["name"])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment