Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TFS
controller
Merge requests
!264
Resolve "(OPT) UI Integration for QKD Management (WebUI)"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "(OPT) UI Integration for QKD Management (WebUI)"
feat/133-opt-ui-integration-for-qkd-management-webui
into
develop
Overview
0
Commits
11
Pipelines
12
Changes
19
Merged
Lluis Gifre Renom
requested to merge
feat/133-opt-ui-integration-for-qkd-management-webui
into
develop
7 months ago
Overview
0
Commits
11
Pipelines
12
Changes
19
Expand
Closes
#133 (closed)
0
0
Merge request reports
Compare
develop
version 8
2e796496
7 months ago
version 7
02804f19
7 months ago
version 6
1e806759
7 months ago
version 5
feb2426a
7 months ago
version 4
f77285eb
7 months ago
version 3
b45c5f76
7 months ago
version 2
5fb49492
7 months ago
version 1
9e315685
7 months ago
develop (base)
and
latest version
latest version
f68eaeca
11 commits,
7 months ago
version 8
2e796496
10 commits,
7 months ago
version 7
02804f19
9 commits,
7 months ago
version 6
1e806759
8 commits,
7 months ago
version 5
feb2426a
7 commits,
7 months ago
version 4
f77285eb
6 commits,
7 months ago
version 3
b45c5f76
5 commits,
7 months ago
version 2
5fb49492
4 commits,
7 months ago
version 1
9e315685
2 commits,
7 months ago
19 files
+
550
−
5
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
19
Search (e.g. *.vue) (Ctrl+P)
src/common/tools/object_factory/Service.py
+
10
−
0
Options
@@ -42,6 +42,16 @@ def json_service(
@@ -42,6 +42,16 @@ def json_service(
'
service_config
'
:
{
'
config_rules
'
:
copy
.
deepcopy
(
config_rules
)},
'
service_config
'
:
{
'
config_rules
'
:
copy
.
deepcopy
(
config_rules
)},
}
}
def
json_service_qkd_planned
(
service_uuid
:
str
,
endpoint_ids
:
List
[
Dict
]
=
[],
constraints
:
List
[
Dict
]
=
[],
config_rules
:
List
[
Dict
]
=
[],
context_uuid
:
str
=
DEFAULT_CONTEXT_NAME
):
return
json_service
(
service_uuid
,
ServiceTypeEnum
.
SERVICETYPE_QKD
,
context_id
=
json_context_id
(
context_uuid
),
status
=
ServiceStatusEnum
.
SERVICESTATUS_PLANNED
,
endpoint_ids
=
endpoint_ids
,
constraints
=
constraints
,
config_rules
=
config_rules
)
def
json_service_l2nm_planned
(
def
json_service_l2nm_planned
(
service_uuid
:
str
,
endpoint_ids
:
List
[
Dict
]
=
[],
constraints
:
List
[
Dict
]
=
[],
service_uuid
:
str
,
endpoint_ids
:
List
[
Dict
]
=
[],
constraints
:
List
[
Dict
]
=
[],
config_rules
:
List
[
Dict
]
=
[],
context_uuid
:
str
=
DEFAULT_CONTEXT_NAME
config_rules
:
List
[
Dict
]
=
[],
context_uuid
:
str
=
DEFAULT_CONTEXT_NAME
Loading