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
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
1
Merged
Neda Moeini
requested to merge
feature/NAT-578-update-ibgp-mesh-on-terminating-router
into
develop
10 months ago
Overview
6
Commits
11
Pipelines
12
Changes
1
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
Viewing commit
8ac8442a
Prev
Next
Show latest version
1 file
+
4
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8ac8442a
Updated docstr.
· 8ac8442a
Neda Moeini
authored
10 months ago
gso/utils/helpers.py
+
4
−
9
Options
@@ -311,15 +311,10 @@ def generate_inventory_for_active_routers(
Contains all active routers of a specific role. Optionally, routers can be excluded from the inventory.
Args:
----
router_role (RouterRole): The role of the routers to include in the inventory.
exclude_routers (list): List of routers to exclude from the inventory.
Returns:
-------
dict[str, Any]: A dictionary representing the inventory of active routers.
:param RouterRole router_role: The role of the routers to include in the inventory.
:param list exclude_routers: List of routers to exclude from the inventory.
:return: A dictionary representing the inventory of active routers.
:rtype: dict[str, Any]
"""
all_routers
=
[
Router
.
from_subscription
(
r
[
"
subscription_id
"
])
for
r
in
get_active_router_subscriptions
()]
exclude_routers
=
exclude_routers
or
[]
Loading