Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bio-rd
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
danet
bio-rd
Commits
49f0f467
Commit
49f0f467
authored
6 years ago
by
Daniel Czerwonk
Browse files
Options
Downloads
Patches
Plain Diff
renaming of stats attr
parent
2cb804fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
protocols/bgp/api/session.pb.go
+41
-41
41 additions, 41 deletions
protocols/bgp/api/session.pb.go
protocols/bgp/api/session.proto
+6
-6
6 additions, 6 deletions
protocols/bgp/api/session.proto
with
47 additions
and
47 deletions
protocols/bgp/api/session.pb.go
+
41
−
41
View file @
49f0f467
...
@@ -152,12 +152,12 @@ func (m *Session) GetEstablishedSince() uint64 {
...
@@ -152,12 +152,12 @@ func (m *Session) GetEstablishedSince() uint64 {
}
}
type
SessionStats
struct
{
type
SessionStats
struct
{
Pack
agesIn
uint64
`protobuf:"varint,
6
,opt,name=
pack
ages_in,json=
pack
agesIn,proto3" json:"
pack
ages_in,omitempty"`
Mess
agesIn
uint64
`protobuf:"varint,
1
,opt,name=
mess
ages_in,json=
mess
agesIn,proto3" json:"
mess
ages_in,omitempty"`
Pack
agesOut
uint64
`protobuf:"varint,
7
,opt,name=
pack
ages_out,json=
pack
agesOut,proto3" json:"
pack
ages_out,omitempty"`
Mess
agesOut
uint64
`protobuf:"varint,
2
,opt,name=
mess
ages_out,json=
mess
agesOut,proto3" json:"
mess
ages_out,omitempty"`
Flaps
uint64
`protobuf:"varint,
8
,opt,name=flaps,proto3" json:"flaps,omitempty"`
Flaps
uint64
`protobuf:"varint,
3
,opt,name=flaps,proto3" json:"flaps,omitempty"`
RoutesReceived
uint64
`protobuf:"varint,
9
,opt,name=routes_received,json=routesReceived,proto3" json:"routes_received,omitempty"`
RoutesReceived
uint64
`protobuf:"varint,
4
,opt,name=routes_received,json=routesReceived,proto3" json:"routes_received,omitempty"`
RoutesImported
uint64
`protobuf:"varint,
10
,opt,name=routes_imported,json=routesImported,proto3" json:"routes_imported,omitempty"`
RoutesImported
uint64
`protobuf:"varint,
5
,opt,name=routes_imported,json=routesImported,proto3" json:"routes_imported,omitempty"`
RoutesExported
uint64
`protobuf:"varint,
11
,opt,name=routes_exported,json=routesExported,proto3" json:"routes_exported,omitempty"`
RoutesExported
uint64
`protobuf:"varint,
6
,opt,name=routes_exported,json=routesExported,proto3" json:"routes_exported,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
@@ -188,16 +188,16 @@ func (m *SessionStats) XXX_DiscardUnknown() {
...
@@ -188,16 +188,16 @@ func (m *SessionStats) XXX_DiscardUnknown() {
var
xxx_messageInfo_SessionStats
proto
.
InternalMessageInfo
var
xxx_messageInfo_SessionStats
proto
.
InternalMessageInfo
func
(
m
*
SessionStats
)
Get
Pack
agesIn
()
uint64
{
func
(
m
*
SessionStats
)
Get
Mess
agesIn
()
uint64
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Pack
agesIn
return
m
.
Mess
agesIn
}
}
return
0
return
0
}
}
func
(
m
*
SessionStats
)
Get
Pack
agesOut
()
uint64
{
func
(
m
*
SessionStats
)
Get
Mess
agesOut
()
uint64
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Pack
agesOut
return
m
.
Mess
agesOut
}
}
return
0
return
0
}
}
...
@@ -241,35 +241,35 @@ func init() {
...
@@ -241,35 +241,35 @@ func init() {
}
}
var
fileDescriptor_5b53032c0bb76d75
=
[]
byte
{
var
fileDescriptor_5b53032c0bb76d75
=
[]
byte
{
// 47
1
bytes of a gzipped FileDescriptorProto
// 47
3
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x94
,
0x93
,
0xc
f
,
0x
6
e
,
0xd3
,
0x
4
0
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x94
,
0x93
,
0xc
1
,
0x
8
e
,
0xd3
,
0x
3
0
,
0x10
,
0x
c
6
,
0x
71
,
0x
9b
,
0x
c
4
,
0x
e9
,
0x
38
,
0x
69
,
0x
dc
,
0x
15
,
0x
2
0
,
0x0
3
,
0x0
7
,
0x4
2
,
0x
2
e
,
0x
44
,
0x10
,
0x
8
6
,
0x
c9
,
0x
36
,
0x4
d
,
0x
ca
,
0x
b4
,
0x
dd
,
0x
66
,
0x
2d
,
0x
4
0
,
0x0
5
,
0x0
e
,
0x
9
4
,
0x
5
e
,
0x
a8
,
0x
aa
,
0x
b0
,
0x
a
1
,
0x4
8
,
0x
dc
,
0x
38
,
0x
94
,
0x
d0
,
0x
43
,
0x
4
e
,
0x
45
,
0x
ce
,
0x
8d
,
0x
4b
,
0x
b4
,
0x
f6
,
0x
b4
,
0x
22
,
0x
8
1
,
0x4
5
,
0x
e2
,
0x
c6
,
0x
61
,
0x
29
,
0x
7b
,
0xe
8
,
0x
69
,
0x
91
,
0x
7b
,
0x
e3
,
0x
52
,
0x
39
,
0x
4e
,
0x
9d
,
0x
15
,
0x
ce
,
0x
ae
,
0xe
5
,
0x
59
,
0x
47
,
0xb
c
,
0x1
4
,
0x
4f
,
0x
c
5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
1
,
0x
39
,
0x7
8
,
0x
d
7
,
0x
a9
,
0x
35
,
0x
f9
,
0xcf
,
0x
1
f
,
0x
22
,
0x
1b
,
0x3
9
,
0x
e9
,
0x
f
d
,
0x
a
f
,
0x
00
,
0x00
,
0x00
,
0xff
,
0xff
,
0xe9
,
0x
9f
,
0x
df
,
0x7f
,
0xcb
,
0xfe
,
0xf
3
,
0x
87
,
0x
c8
,
0x
2
3
,
0x
2f
,
0x
7
d
,
0xf
8
,
0x
15
,
0x00
,
0x00
,
0xff
,
0x
41
,
0x
75
,
0x
2f
,
0x4a
,
0x03
,
0x00
,
0x00
,
0x
ff
,
0x
d4
,
0x
6f
,
0x19
,
0xed
,
0x4a
,
0x03
,
0x00
,
0x00
,
}
}
This diff is collapsed.
Click to expand it.
protocols/bgp/api/session.proto
+
6
−
6
View file @
49f0f467
...
@@ -26,10 +26,10 @@ message Session {
...
@@ -26,10 +26,10 @@ message Session {
}
}
message
SessionStats
{
message
SessionStats
{
uint64
pack
ages_in
=
6
;
uint64
mess
ages_in
=
1
;
uint64
pack
ages_out
=
7
;
uint64
mess
ages_out
=
2
;
uint64
flaps
=
8
;
uint64
flaps
=
3
;
uint64
routes_received
=
9
;
uint64
routes_received
=
4
;
uint64
routes_imported
=
10
;
uint64
routes_imported
=
5
;
uint64
routes_exported
=
11
;
uint64
routes_exported
=
6
;
}
}
\ No newline at end of file
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