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
0b2cea58
Commit
0b2cea58
authored
1 year ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
remove lldp provisioning steps from IPtrunk workflow
parent
eb2e4206
No related branches found
No related tags found
1 merge request
!64
new IP trunk migration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gso/workflows/iptrunk/create_iptrunk.py
+0
-22
0 additions, 22 deletions
gso/workflows/iptrunk/create_iptrunk.py
with
0 additions
and
22 deletions
gso/workflows/iptrunk/create_iptrunk.py
+
0
−
22
View file @
0b2cea58
...
...
@@ -226,26 +226,6 @@ def provision_ip_trunk_ldp_iface_real(subscription: IptrunkProvisioning, process
}
@step
(
"
Provision IP trunk LLDP interface [DRY RUN]
"
)
def
provision_ip_trunk_lldp_iface_dry
(
subscription
:
IptrunkProvisioning
,
process_id
:
UUIDstr
)
->
State
:
provisioning_proxy
.
provision_ip_trunk
(
subscription
,
process_id
,
"
lldp_interface
"
)
return
{
"
subscription
"
:
subscription
,
"
label_text
"
:
"
[DRY RUN] Provisioning LLDP interface, please refresh to get the results of the playbook.
"
,
}
@step
(
"
Provision IP trunk LLDP interface [FOR REAL]
"
)
def
provision_ip_trunk_lldp_iface_real
(
subscription
:
IptrunkProvisioning
,
process_id
:
UUIDstr
)
->
State
:
provisioning_proxy
.
provision_ip_trunk
(
subscription
,
process_id
,
"
lldp_interface
"
,
False
)
return
{
"
subscription
"
:
subscription
,
"
label_text
"
:
"
Provisioning LLDP interface, please refresh to get the results of the playbook.
"
,
}
@workflow
(
"
Create IP trunk
"
,
initial_input_form
=
wrap_create_initial_input_form
(
initial_input_form_generator
),
...
...
@@ -264,8 +244,6 @@ def create_iptrunk() -> StepList:
>>
pp_interaction
(
provision_ip_trunk_isis_iface_dry
,
3
)
>>
pp_interaction
(
provision_ip_trunk_isis_iface_real
,
3
)
>>
pp_interaction
(
check_ip_trunk_isis
,
2
)
>>
pp_interaction
(
provision_ip_trunk_lldp_iface_dry
,
3
)
>>
pp_interaction
(
provision_ip_trunk_lldp_iface_real
,
3
)
>>
set_status
(
SubscriptionLifecycle
.
ACTIVE
)
>>
resync
>>
done
...
...
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