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
Commits
456b76cd
Verified
Commit
456b76cd
authored
7 months ago
by
Neda Moeini
Committed by
Karel van Klink
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix docstr issue.
parent
598f84f2
No related branches found
Branches containing commit
No related tags found
1 merge request
!286
Add Edge Port, GÉANT IP and IAS products
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gso/workflows/edge_port/modify_edge_port.py
+2
-2
2 additions, 2 deletions
gso/workflows/edge_port/modify_edge_port.py
with
2 additions
and
2 deletions
gso/workflows/edge_port/modify_edge_port.py
+
2
−
2
View file @
456b76cd
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment