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
c2c41b80
Commit
c2c41b80
authored
4 months ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Proto:
- Corrected Link.link_type field
parent
e9f0f054
No related branches found
No related tags found
1 merge request
!315
Resolve "(CTTC) Define fields to specify type of link"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/context.proto
+11
-11
11 additions, 11 deletions
proto/context.proto
with
11 additions
and
11 deletions
proto/context.proto
+
11
−
11
View file @
c2c41b80
...
@@ -258,6 +258,14 @@ message LinkId {
...
@@ -258,6 +258,14 @@ message LinkId {
Uuid
link_uuid
=
1
;
Uuid
link_uuid
=
1
;
}
}
enum
LinkTypeEnum
{
LINKTYPE_UNKNOWN
=
0
;
LINKTYPE_COPPER
=
1
;
LINKTYPE_FIBER
=
2
;
LINKTYPE_RADIO
=
3
;
LINKTYPE_VIRTUAL
=
4
;
}
message
LinkAttributes
{
message
LinkAttributes
{
float
total_capacity_gbps
=
1
;
float
total_capacity_gbps
=
1
;
float
used_capacity_gbps
=
2
;
float
used_capacity_gbps
=
2
;
...
@@ -266,9 +274,9 @@ message LinkAttributes {
...
@@ -266,9 +274,9 @@ message LinkAttributes {
message
Link
{
message
Link
{
LinkId
link_id
=
1
;
LinkId
link_id
=
1
;
string
name
=
2
;
string
name
=
2
;
repeated
EndPointId
link_endpoint_ids
=
3
;
LinkTypeEnum
link_type
=
3
;
LinkAttributes
attribute
s
=
4
;
repeated
EndPointId
link_endpoint_id
s
=
4
;
Link
TypeEnum
link_type
=
5
;
Link
Attributes
attributes
=
5
;
}
}
message
LinkIdList
{
message
LinkIdList
{
...
@@ -284,14 +292,6 @@ message LinkEvent {
...
@@ -284,14 +292,6 @@ message LinkEvent {
LinkId
link_id
=
2
;
LinkId
link_id
=
2
;
}
}
enum
LinkTypeEnum
{
LINKTYPE_UNKNOWN
=
0
;
LINKTYPE_COPPER
=
1
;
LINKTYPE_VIRTUAL_COPPER
=
2
;
LINKTYPE_OPTICAL
=
3
;
LINKTYPE_VIRTUAL_OPTICAL
=
4
;
}
// ----- Service -------------------------------------------------------------------------------------------------------
// ----- Service -------------------------------------------------------------------------------------------------------
message
ServiceId
{
message
ServiceId
{
ContextId
context_id
=
1
;
ContextId
context_id
=
1
;
...
...
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