Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
goSDN Northbound
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
danet
goSDN Northbound
Commits
8951f6be
Commit
8951f6be
authored
3 years ago
by
Maximilian Georg Kurzawski
Browse files
Options
Downloads
Patches
Plain Diff
moved enums out of message types
parent
be173edc
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/gosdn/pnd/pnd.proto
+23
-19
23 additions, 19 deletions
proto/gosdn/pnd/pnd.proto
with
23 additions
and
19 deletions
proto/gosdn/pnd/pnd.proto
+
23
−
19
View file @
8951f6be
...
...
@@ -216,16 +216,18 @@ message OrchestratedNetworkingDevice {
.
gosdn.southbound.v1alpha.SouthboundInterface
sbi
=
4
;
}
enum
Change_State
{
STATE_UNSPECIFIED
=
0
;
STATE_PENDING
=
1
;
STATE_COMMITTED
=
2
;
STATE_CONFIRMED
=
3
;
STATE_INCONSISTENT
=
4
;
}
message
Change
{
string
id
=
1
;
int64
age
=
2
;
enum
State
{
STATE_UNSPECIFIED
=
0
;
STATE_PENDING
=
1
;
STATE_COMMITTED
=
2
;
STATE_CONFIRMED
=
3
;
STATE_INCONSISTENT
=
4
;
}
State
state
=
3
;
}
...
...
@@ -264,13 +266,15 @@ message SetOnd {
message
SetSbi
{
}
enum
Operation
{
OPERATION_UNSPECIFIED
=
0
;
OPERATION_CREATE
=
1
;
OPERATION_COMMIT
=
2
;
OPERATION_CONFIRM
=
3
;
}
message
SetChange
{
enum
Operation
{
OPERATION_UNSPECIFIED
=
0
;
OPERATION_CREATE
=
1
;
OPERATION_COMMIT
=
2
;
OPERATION_CONFIRM
=
3
;
}
string
cuid
=
1
;
Operation
op
=
2
;
}
...
...
@@ -282,12 +286,12 @@ message ChangeRequest {
ApiOperation
api_op
=
3
;
}
enum
ApiOperation
{
API_OPERATION_UNSPECIFIED
=
0
;
API_OPERATION_UPDATE
=
1
;
API_OPERATION_REPLACE
=
2
;
API_OPERATION_DELETE
=
3
;
}
enum
ApiOperation
{
API_OPERATION_UNSPECIFIED
=
0
;
API_OPERATION_UPDATE
=
1
;
API_OPERATION_REPLACE
=
2
;
API_OPERATION_DELETE
=
3
;
}
message
SetResponse
{
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
...
...
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