This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
forked from ligato/vpp-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
route.pb.go
161 lines (140 loc) · 5.62 KB
/
route.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: models/linux/l3/route.proto
package linux_l3
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type Route_Scope int32
const (
Route_UNDEFINED Route_Scope = 0
Route_GLOBAL Route_Scope = 1
Route_SITE Route_Scope = 2
Route_LINK Route_Scope = 3
Route_HOST Route_Scope = 4
)
var Route_Scope_name = map[int32]string{
0: "UNDEFINED",
1: "GLOBAL",
2: "SITE",
3: "LINK",
4: "HOST",
}
var Route_Scope_value = map[string]int32{
"UNDEFINED": 0,
"GLOBAL": 1,
"SITE": 2,
"LINK": 3,
"HOST": 4,
}
func (x Route_Scope) String() string {
return proto.EnumName(Route_Scope_name, int32(x))
}
func (Route_Scope) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_ebf8500d01fc3585, []int{0, 0}
}
type Route struct {
OutgoingInterface string `protobuf:"bytes,1,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"`
Scope Route_Scope `protobuf:"varint,2,opt,name=scope,proto3,enum=linux.l3.Route_Scope" json:"scope,omitempty"`
DstNetwork string `protobuf:"bytes,3,opt,name=dst_network,json=dstNetwork,proto3" json:"dst_network,omitempty"`
GwAddr string `protobuf:"bytes,4,opt,name=gw_addr,json=gwAddr,proto3" json:"gw_addr,omitempty"`
Metric uint32 `protobuf:"varint,5,opt,name=metric,proto3" json:"metric,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Route) Reset() { *m = Route{} }
func (m *Route) String() string { return proto.CompactTextString(m) }
func (*Route) ProtoMessage() {}
func (*Route) Descriptor() ([]byte, []int) {
return fileDescriptor_ebf8500d01fc3585, []int{0}
}
func (m *Route) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Route.Unmarshal(m, b)
}
func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Route.Marshal(b, m, deterministic)
}
func (m *Route) XXX_Merge(src proto.Message) {
xxx_messageInfo_Route.Merge(m, src)
}
func (m *Route) XXX_Size() int {
return xxx_messageInfo_Route.Size(m)
}
func (m *Route) XXX_DiscardUnknown() {
xxx_messageInfo_Route.DiscardUnknown(m)
}
var xxx_messageInfo_Route proto.InternalMessageInfo
func (m *Route) GetOutgoingInterface() string {
if m != nil {
return m.OutgoingInterface
}
return ""
}
func (m *Route) GetScope() Route_Scope {
if m != nil {
return m.Scope
}
return Route_UNDEFINED
}
func (m *Route) GetDstNetwork() string {
if m != nil {
return m.DstNetwork
}
return ""
}
func (m *Route) GetGwAddr() string {
if m != nil {
return m.GwAddr
}
return ""
}
func (m *Route) GetMetric() uint32 {
if m != nil {
return m.Metric
}
return 0
}
func (*Route) XXX_MessageName() string {
return "linux.l3.Route"
}
func init() {
proto.RegisterEnum("linux.l3.Route_Scope", Route_Scope_name, Route_Scope_value)
proto.RegisterType((*Route)(nil), "linux.l3.Route")
}
func init() { proto.RegisterFile("models/linux/l3/route.proto", fileDescriptor_ebf8500d01fc3585) }
var fileDescriptor_ebf8500d01fc3585 = []byte{
// 326 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x41, 0x4b, 0xeb, 0x40,
0x14, 0x85, 0xdf, 0xb4, 0x4d, 0x5e, 0x7b, 0x1f, 0x7d, 0xe4, 0x0d, 0x3c, 0x0d, 0x0a, 0x5a, 0xba,
0x2a, 0x48, 0x33, 0x60, 0x36, 0x82, 0x20, 0xb6, 0xb4, 0x6a, 0xb0, 0xa4, 0x90, 0xd6, 0x8d, 0x9b,
0x90, 0x66, 0xa6, 0xe3, 0x60, 0x9a, 0x09, 0x93, 0x89, 0xf5, 0x27, 0xfa, 0x3f, 0xfc, 0x11, 0x6e,
0x25, 0x53, 0x0b, 0xe2, 0xee, 0x9c, 0xfb, 0xdd, 0x39, 0x73, 0x39, 0x70, 0xbc, 0x91, 0x94, 0x65,
0x25, 0xc9, 0x44, 0x5e, 0xbd, 0x92, 0xcc, 0x27, 0x4a, 0x56, 0x9a, 0x79, 0x85, 0x92, 0x5a, 0xe2,
0xb6, 0x99, 0x7a, 0x99, 0x7f, 0x34, 0xe4, 0x42, 0x3f, 0x55, 0x2b, 0x2f, 0x95, 0x1b, 0xc2, 0x25,
0x97, 0xc4, 0x2c, 0xac, 0xaa, 0xb5, 0x71, 0xc6, 0x18, 0xb5, 0x7b, 0xd8, 0xff, 0x40, 0x60, 0x45,
0x75, 0x10, 0x1e, 0x02, 0x96, 0x95, 0xe6, 0x52, 0xe4, 0x3c, 0x16, 0xb9, 0x66, 0x6a, 0x9d, 0xa4,
0xcc, 0x45, 0x3d, 0x34, 0xe8, 0x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