/
idallocation.pb.go
208 lines (184 loc) · 8.3 KB
/
idallocation.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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: idallocation.proto
package idallocation
import (
fmt "fmt"
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
// IDAllocation represents a VXLAN VNI allocation made for the specified unique VXLAN name
type AllocationPool struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Range *AllocationPool_Range `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"`
// map of all allocations, key is the allocation "label"
// describing its purpose (e.g. network name for vrf pool, etc.)
IdAllocations map[string]*AllocationPool_Allocation `protobuf:"bytes,3,rep,name=id_allocations,json=idAllocations,proto3" json:"id_allocations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AllocationPool) Reset() { *m = AllocationPool{} }
func (m *AllocationPool) String() string { return proto.CompactTextString(m) }
func (*AllocationPool) ProtoMessage() {}
func (*AllocationPool) Descriptor() ([]byte, []int) {
return fileDescriptor_4826bf6deca43300, []int{0}
}
func (m *AllocationPool) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AllocationPool.Unmarshal(m, b)
}
func (m *AllocationPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AllocationPool.Marshal(b, m, deterministic)
}
func (m *AllocationPool) XXX_Merge(src proto.Message) {
xxx_messageInfo_AllocationPool.Merge(m, src)
}
func (m *AllocationPool) XXX_Size() int {
return xxx_messageInfo_AllocationPool.Size(m)
}
func (m *AllocationPool) XXX_DiscardUnknown() {
xxx_messageInfo_AllocationPool.DiscardUnknown(m)
}
var xxx_messageInfo_AllocationPool proto.InternalMessageInfo
func (m *AllocationPool) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AllocationPool) GetRange() *AllocationPool_Range {
if m != nil {
return m.Range
}
return nil
}
func (m *AllocationPool) GetIdAllocations() map[string]*AllocationPool_Allocation {
if m != nil {
return m.IdAllocations
}
return nil
}
type AllocationPool_Range struct {
MinId uint32 `protobuf:"varint,1,opt,name=min_id,json=minId,proto3" json:"min_id,omitempty"`
MaxId uint32 `protobuf:"varint,2,opt,name=max_id,json=maxId,proto3" json:"max_id,omitempty"`
Reserved []uint32 `protobuf:"varint,3,rep,packed,name=reserved,proto3" json:"reserved,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AllocationPool_Range) Reset() { *m = AllocationPool_Range{} }
func (m *AllocationPool_Range) String() string { return proto.CompactTextString(m) }
func (*AllocationPool_Range) ProtoMessage() {}
func (*AllocationPool_Range) Descriptor() ([]byte, []int) {
return fileDescriptor_4826bf6deca43300, []int{0, 0}
}
func (m *AllocationPool_Range) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AllocationPool_Range.Unmarshal(m, b)
}
func (m *AllocationPool_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AllocationPool_Range.Marshal(b, m, deterministic)
}
func (m *AllocationPool_Range) XXX_Merge(src proto.Message) {
xxx_messageInfo_AllocationPool_Range.Merge(m, src)
}
func (m *AllocationPool_Range) XXX_Size() int {
return xxx_messageInfo_AllocationPool_Range.Size(m)
}
func (m *AllocationPool_Range) XXX_DiscardUnknown() {
xxx_messageInfo_AllocationPool_Range.DiscardUnknown(m)
}
var xxx_messageInfo_AllocationPool_Range proto.InternalMessageInfo
func (m *AllocationPool_Range) GetMinId() uint32 {
if m != nil {
return m.MinId
}
return 0
}
func (m *AllocationPool_Range) GetMaxId() uint32 {
if m != nil {
return m.MaxId
}
return 0
}
func (m *AllocationPool_Range) GetReserved() []uint32 {
if m != nil {
return m.Reserved
}
return nil
}
type AllocationPool_Allocation struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AllocationPool_Allocation) Reset() { *m = AllocationPool_Allocation{} }
func (m *AllocationPool_Allocation) String() string { return proto.CompactTextString(m) }
func (*AllocationPool_Allocation) ProtoMessage() {}
func (*AllocationPool_Allocation) Descriptor() ([]byte, []int) {
return fileDescriptor_4826bf6deca43300, []int{0, 1}
}
func (m *AllocationPool_Allocation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AllocationPool_Allocation.Unmarshal(m, b)
}
func (m *AllocationPool_Allocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AllocationPool_Allocation.Marshal(b, m, deterministic)
}
func (m *AllocationPool_Allocation) XXX_Merge(src proto.Message) {
xxx_messageInfo_AllocationPool_Allocation.Merge(m, src)
}
func (m *AllocationPool_Allocation) XXX_Size() int {
return xxx_messageInfo_AllocationPool_Allocation.Size(m)
}
func (m *AllocationPool_Allocation) XXX_DiscardUnknown() {
xxx_messageInfo_AllocationPool_Allocation.DiscardUnknown(m)
}
var xxx_messageInfo_AllocationPool_Allocation proto.InternalMessageInfo
func (m *AllocationPool_Allocation) GetId() uint32 {
if m != nil {
return m.Id
}
return 0
}
func (m *AllocationPool_Allocation) GetOwner() string {
if m != nil {
return m.Owner
}
return ""
}
func init() {
proto.RegisterType((*AllocationPool)(nil), "idallocation.AllocationPool")
proto.RegisterMapType((map[string]*AllocationPool_Allocation)(nil), "idallocation.AllocationPool.IdAllocationsEntry")
proto.RegisterType((*AllocationPool_Range)(nil), "idallocation.AllocationPool.Range")
proto.RegisterType((*AllocationPool_Allocation)(nil), "idallocation.AllocationPool.Allocation")
}
func init() { proto.RegisterFile("idallocation.proto", fileDescriptor_4826bf6deca43300) }
var fileDescriptor_4826bf6deca43300 = []byte{
// 269 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0xfb, 0x40,
0x10, 0xc5, 0xc9, 0xe6, 0xbf, 0xe5, 0xdf, 0xa9, 0x09, 0x32, 0x28, 0x84, 0x9c, 0x42, 0x2f, 0xe6,
0x14, 0x21, 0x5e, 0x8a, 0xe0, 0xc1, 0x83, 0x87, 0xdc, 0x74, 0x0f, 0x5e, 0xcb, 0xea, 0x2e, 0x32,
0x98, 0xec, 0xca, 0x26, 0xd6, 0xf6, 0x1b, 0xf9, 0x31, 0x25, 0x9b, 0x9a, 0xb4, 0x08, 0xbd, 0xcd,
0xfb, 0x31, 0xf3, 0xe6, 0xed, 0x2c, 0x20, 0x29, 0x59, 0xd7, 0xf6, 0x55, 0x76,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