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
Commits
45383bf0
Commit
45383bf0
authored
3 months ago
by
Shayan Hajipour
Browse files
Options
Downloads
Patches
Plain Diff
debug: qos calculation fixed for slice creation
parent
b49e1d8f
No related branches found
Branches containing commit
No related tags found
1 merge request
!307
Resolve "(CTTC) L3Slice-IETFSlice Service Handler is Required"
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/service/service/service_handlers/l3slice_ietfslice/L3SliceIETFSliceServiceHandler.py
+6
-1
6 additions, 1 deletion
...dlers/l3slice_ietfslice/L3SliceIETFSliceServiceHandler.py
with
6 additions
and
1 deletion
src/service/service/service_handlers/l3slice_ietfslice/L3SliceIETFSliceServiceHandler.py
+
6
−
1
View file @
45383bf0
...
...
@@ -213,7 +213,12 @@ def extract_source_destination_device_endpoint_info(
raise
Exception
(
"
There should be one common sdp in all connectivity constructs, otherwise, it is not supported
"
)
common_sdp
=
common_sdps
.
pop
()
if
len
(
common_sdps
)
==
1
:
common_sdp
=
common_sdps
.
pop
()
elif
len
(
common_sdps
)
==
2
:
common_sdp
=
sender_sdp
else
:
raise
Exception
(
'
Invalid number of common sdps
'
)
for
(
sender
,
receiver
),
metrics
in
cc_info
.
items
():
cc_bandwidth
=
metrics
.
bandwidth
cc_max_delay
=
metrics
.
delay
...
...
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