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
Merge requests
!231
Added more steps in router termination including:
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added more steps in router termination including:
feature/NAT-578-update-ibgp-mesh-on-terminating-router
into
develop
Overview
6
Commits
11
Pipelines
12
Changes
8
Merged
Neda Moeini
requested to merge
feature/NAT-578-update-ibgp-mesh-on-terminating-router
into
develop
8 months ago
Overview
6
Commits
11
Pipelines
12
Changes
8
Expand
Remove the terminated router from iGEANT/iGEANT6 on all the PEs
Remove the terminated router from iGEANT_P_ONLY/iGEANT_P_ONLY_6 on all Ps
Remove router from LibreNMS
0
0
Merge request reports
Compare
develop
version 11
8ac8442a
8 months ago
version 10
48a24740
8 months ago
version 9
d22bfa85
8 months ago
version 8
b6adc338
8 months ago
version 7
d46123a2
8 months ago
version 6
f6d3b383
8 months ago
version 5
452ef15f
8 months ago
version 4
e22a5e43
8 months ago
version 3
d380b39c
8 months ago
version 2
de8a8ff7
8 months ago
version 1
03755cf5
8 months ago
develop (base)
and
latest version
latest version
9d5834b2
11 commits,
8 months ago
version 11
8ac8442a
10 commits,
8 months ago
version 10
48a24740
9 commits,
8 months ago
version 9
d22bfa85
9 commits,
8 months ago
version 8
b6adc338
8 commits,
8 months ago
version 7
d46123a2
7 commits,
8 months ago
version 6
f6d3b383
6 commits,
8 months ago
version 5
452ef15f
5 commits,
8 months ago
version 4
e22a5e43
4 commits,
8 months ago
version 3
d380b39c
3 commits,
8 months ago
version 2
de8a8ff7
2 commits,
8 months ago
version 1
03755cf5
1 commit,
8 months ago
8 files
+
340
−
71
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
gso/services/subscriptions.py
+
0
−
17
Options
@@ -20,8 +20,6 @@ from orchestrator.types import SubscriptionLifecycle
from
pydantic_forms.types
import
UUIDstr
from
gso.products
import
ProductName
,
ProductType
from
gso.products.product_blocks.router
import
RouterRole
from
gso.products.product_types.router
import
Router
from
gso.products.product_types.site
import
Site
SubscriptionType
=
dict
[
str
,
Any
]
@@ -231,18 +229,3 @@ def get_site_by_name(site_name: str) -> Site:
raise
ValueError
(
msg
)
return
Site
.
from_subscription
(
subscription
[
0
].
subscription_id
)
def
get_active_pe_router_dict
()
->
dict
[
str
,
Any
]:
"""
Generate an Ansible-compatible inventory for executing playbooks. Contains all active PE routers.
"""
all_routers
=
[
Router
.
from_subscription
(
r
[
"
subscription_id
"
])
for
r
in
get_active_router_subscriptions
()]
return
{
router
.
router
.
router_fqdn
:
{
"
lo4
"
:
str
(
router
.
router
.
router_lo_ipv4_address
),
"
lo6
"
:
str
(
router
.
router
.
router_lo_ipv6_address
),
"
vendor
"
:
str
(
router
.
router
.
vendor
),
}
for
router
in
all_routers
if
router
.
router
.
router_role
==
RouterRole
.
PE
}
Loading