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
5f2a9747
Verified
Commit
5f2a9747
authored
5 months ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
Update G_IP migration workflow
parent
67fa386e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!286
Add Edge Port, GÉANT IP and IAS products
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gso/workflows/nren_l3_core_service/create_imported_nren_l3_core_service.py
+4
-4
4 additions, 4 deletions
...n_l3_core_service/create_imported_nren_l3_core_service.py
test/workflows/geant_ip/test_create_imported_geant_ip.py
+1
-1
1 addition, 1 deletion
test/workflows/geant_ip/test_create_imported_geant_ip.py
with
5 additions
and
5 deletions
gso/workflows/nren_l3_core_service/create_imported_nren_l3_core_service.py
+
4
−
4
View file @
5f2a9747
"""
A creation workflow for adding an existing
GEANT IP
to the service database.
"""
"""
A creation workflow for adding an existing
NREN L3 Core Service
to the service database.
"""
from
uuid
import
uuid4
...
...
@@ -88,11 +88,11 @@ def initialize_subscription(subscription: ImportedNRENL3CoreServiceInactive, ser
sbp_bgp_session_list
=
sbp_bgp_session_list
,
**
service_binding_port
,
)
subscription
.
geant_ip
.
geant_ip
_ap_list
.
append
(
subscription
.
nren_l3_core_service
.
nren
_ap_list
.
append
(
NRENAccessPortInactive
.
new
(
subscription_id
=
uuid4
(),
nren_
ap_type
=
service_binding_port
[
"
ap_type
"
],
geant_ip_
sbp
=
service_binding_port_subscription
,
ap_type
=
service_binding_port
[
"
ap_type
"
],
sbp
=
service_binding_port_subscription
,
)
)
...
...
This diff is collapsed.
Click to expand it.
test/workflows/geant_ip/test_create_imported_geant_ip.py
+
1
−
1
View file @
5f2a9747
...
...
@@ -60,7 +60,7 @@ def imported_geant_ip_creation_input_form_data(edge_port_subscription_factory, p
def
test_create_imported_geant_ip_success
(
faker
,
imported_geant_ip_creation_input_form_data
):
result
,
_
,
_
=
run_workflow
(
"
create_imported_
geant_ip
"
,
[
imported_geant_ip_creation_input_form_data
])
result
,
_
,
_
=
run_workflow
(
"
create_imported_
nren_l3_core_service
"
,
[
imported_geant_ip_creation_input_form_data
])
state
=
extract_state
(
result
)
subscription
=
ImportedNRENL3CoreService
.
from_subscription
(
state
[
"
subscription_id
"
])
assert_complete
(
result
)
...
...
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