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
Merge requests
!52
Couldn't fetch the linked file.
Feature/nat 212 213
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feature/nat 212 213
feature/nat-212-213
into
develop
Overview
0
Commits
31
Pipelines
10
Changes
3
Merged
JORGE SASIAIN
requested to merge
feature/nat-212-213
into
develop
1 year ago
Overview
0
Commits
31
Pipelines
10
Changes
3
Expand
This PR covers NAT-212 and NAT-213.
0
0
Merge request reports
Viewing commit
081469f9
Prev
Next
Show latest version
3 files
+
121
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
081469f9
Rebase develop
· 081469f9
Simone Spinelli
authored
1 year ago
gso/services/provisioning_proxy.py
+
18
−
0
Options
@@ -124,6 +124,24 @@ def provision_ip_trunk(
_send_request
(
"
ip_trunk
"
,
parameters
,
process_id
,
CUDOperation
.
POST
)
def
check_ip_trunk
(
subscription
:
IptrunkProvisioning
,
process_id
:
UUIDstr
,
check_name
:
str
)
->
None
:
"""
Provision an IP trunk service using {term}`LSO`.
:param subscription: The subscription object that
'
s to be provisioned.
:type subscription: {class}`IptrunkProvisioning`
:param process_id: The related process ID, used for callback.
:type process_id: UUIDstr
:param check_name: The name of the check to execute
:rtype: None
"""
parameters
=
{
"
subscription
"
:
json
.
loads
(
json_dumps
(
subscription
)),
"
check_name
"
:
check_name
,
}
_send_request
(
"
ip_trunk/perform_check
"
,
parameters
,
process_id
,
CUDOperation
.
POST
)
def
deprovision_ip_trunk
(
subscription
:
Iptrunk
,
process_id
:
UUIDstr
,
dry_run
:
bool
=
True
)
->
None
:
"""
Deprovision an IP trunk service using {term}`LSO`.
Loading