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
a14fdc72
Commit
a14fdc72
authored
3 years ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
fixed errors for buf generate
parent
856f3daa
No related branches found
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
+7
-8
7 additions, 8 deletions
proto/gosdn/pnd/pnd.proto
with
7 additions
and
8 deletions
proto/gosdn/pnd/pnd.proto
+
7
−
8
View file @
a14fdc72
...
@@ -68,13 +68,12 @@ service pnd {
...
@@ -68,13 +68,12 @@ service pnd {
// managed by a specific Principal Network Domain.
// managed by a specific Principal Network Domain.
rpc
GetPath
(
GetPathRequest
)
returns
(
GetPathResponse
)
{
rpc
GetPath
(
GetPathRequest
)
returns
(
GetPathResponse
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
get
:
"/v1/pnd/{pid}/ond/{did}/change"
get
:
"/v1/pnd/{pid}/ond/{did}/path/{path}"
body
:
"*"
};
};
}
}
rpc
SetPath
(
SetPathRequest
)
returns
(
SetResponse
)
{
rpc
SetPath
(
SetPathRequest
)
returns
(
SetResponse
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
s
e
t
:
"/v1/pnd/{pid}/ond/{did}/
change
"
po
st
:
"/v1/pnd/{pid}/ond/{did}/
path
"
body
:
"*"
body
:
"*"
};
};
}
}
...
@@ -198,7 +197,8 @@ message SetChangeRequest {
...
@@ -198,7 +197,8 @@ message SetChangeRequest {
message
SetPathRequest
{
message
SetPathRequest
{
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
repeated
ChangeRequest
changeRequest
=
2
;
repeated
ChangeRequest
changeRequest
=
2
;
string
pid
=
3
;
string
did
=
3
;
string
pid
=
4
;
}
}
message
setOnd
{
message
setOnd
{
...
@@ -228,10 +228,9 @@ message ChangeRequest {
...
@@ -228,10 +228,9 @@ message ChangeRequest {
REPLACE
=
1
;
REPLACE
=
1
;
DELETE
=
2
;
DELETE
=
2
;
}
}
string
id
=
1
;
string
path
=
1
;
string
path
=
2
;
string
value
=
2
;
string
value
=
3
;
ApiOperation
apiOp
=
3
;
ApiOperation
apiOp
=
4
;
}
}
message
SetResponse
{
message
SetResponse
{
...
...
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