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
e37e2c20
Commit
e37e2c20
authored
1 year ago
by
Aleksandr Kurbatov
Committed by
Karel van Klink
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
corrected list of arguments
parent
61e92862
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!177
Trunk migration checks
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gso/workflows/iptrunk/migrate_iptrunk.py
+3
-0
3 additions, 0 deletions
gso/workflows/iptrunk/migrate_iptrunk.py
with
3 additions
and
0 deletions
gso/workflows/iptrunk/migrate_iptrunk.py
+
3
−
0
View file @
e37e2c20
...
...
@@ -224,6 +224,7 @@ def calculate_old_side_data(subscription: Iptrunk, replace_index: int) -> State:
def
check_ip_trunk_optical_levels
(
subscription
:
Iptrunk
,
callback_route
:
str
,
replace_index
:
int
,
)
->
State
:
"""
Check Optical levels on the trunk.
"""
extra_vars
=
{
"
wfo_ip_trunk_json
"
:
json
.
loads
(
json_dumps
(
subscription
)),
"
check
"
:
"
optical
"
}
...
...
@@ -407,6 +408,7 @@ def confirm_continue_move_fiber() -> FormGenerator:
def
check_ip_trunk_connectivity
(
subscription
:
Iptrunk
,
callback_route
:
str
,
replace_index
:
int
,
)
->
State
:
"""
Check successful connectivity across the new trunk.
"""
extra_vars
=
{
"
wfo_ip_trunk_json
"
:
json
.
loads
(
json_dumps
(
subscription
)),
"
check
"
:
"
ping
"
}
...
...
@@ -462,6 +464,7 @@ def deploy_new_isis(
def
check_ip_trunk_isis
(
subscription
:
Iptrunk
,
callback_route
:
str
,
replace_index
:
int
,
)
->
State
:
"""
Run an Ansible playbook to confirm :term:`ISIS` adjacency.
"""
extra_vars
=
{
"
wfo_ip_trunk_json
"
:
json
.
loads
(
json_dumps
(
subscription
)),
"
check
"
:
"
isis
"
}
...
...
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