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
!286
Add Edge Port, GÉANT IP and IAS products
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add Edge Port, GÉANT IP and IAS products
feature/add-geant-ip
into
develop
Overview
6
Commits
68
Pipelines
19
Changes
1
Merged
Karel van Klink
requested to merge
feature/add-geant-ip
into
develop
7 months ago
Overview
3
Commits
68
Pipelines
19
Changes
1
Expand
This includes workflows, tests, migrations, etc.
0
0
Merge request reports
Viewing commit
456b76cd
Prev
Next
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
456b76cd
Fix docstr issue.
· 456b76cd
Neda Moeini
authored
8 months ago
gso/workflows/edge_port/modify_edge_port.py
+
2
−
2
Options
@@ -245,7 +245,7 @@ def update_edge_port_real(
@step
(
"
Allocate/Deallocate interfaces in NetBox
"
)
def
allocate_interfaces_in_netbox
(
subscription
:
EdgePort
,
previous_ae_members
:
list
[
dict
])
->
None
:
"""
Allocate the new interfaces in NetBox and detach the old ones from the LAG.
"""
"""
Allocate the new interfaces in NetBox and detach the old ones from the
:term:`
LAG
`
.
"""
nbclient
=
NetboxClient
()
for
member
in
subscription
.
edge_port
.
edge_port_ae_members
:
if
any
(
member
.
interface_name
==
prev_member
[
"
interface_name
"
]
for
prev_member
in
previous_ae_members
):
@@ -271,7 +271,7 @@ def modify_edge_port() -> StepList:
* Modify the subscription object in the service database
* Modify configuration on the new edge port, first as a dry run
* Change LAG and LAG members in the Netbox.
* Change
:term:`
LAG
`
and
:term:`
LAG
`
members in the Netbox.
"""
capacity_has_changed
=
conditional
(
lambda
state
:
state
[
"
capacity_has_changed
"
])
return
(
Loading