/
fib.pb.go
160 lines (138 loc) · 6.02 KB
/
fib.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: models/vpp/l2/fib.proto
package vpp_l2
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 FIBEntry_Action int32
const (
FIBEntry_FORWARD FIBEntry_Action = 0
FIBEntry_DROP FIBEntry_Action = 1
)
var FIBEntry_Action_name = map[int32]string{
0: "FORWARD",
1: "DROP",
}
var FIBEntry_Action_value = map[string]int32{
"FORWARD": 0,
"DROP": 1,
}
func (x FIBEntry_Action) String() string {
return proto.EnumName(FIBEntry_Action_name, int32(x))
}
func (FIBEntry_Action) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_a98c33506306c9f8, []int{0, 0}
}
type FIBEntry struct {
PhysAddress string `protobuf:"bytes,1,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"`
BridgeDomain string `protobuf:"bytes,2,opt,name=bridge_domain,json=bridgeDomain,proto3" json:"bridge_domain,omitempty"`
Action FIBEntry_Action `protobuf:"varint,3,opt,name=action,proto3,enum=vpp.l2.FIBEntry_Action" json:"action,omitempty"`
OutgoingInterface string `protobuf:"bytes,4,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"`
StaticConfig bool `protobuf:"varint,5,opt,name=static_config,json=staticConfig,proto3" json:"static_config,omitempty"`
BridgedVirtualInterface bool `protobuf:"varint,6,opt,name=bridged_virtual_interface,json=bridgedVirtualInterface,proto3" json:"bridged_virtual_interface,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FIBEntry) Reset() { *m = FIBEntry{} }
func (m *FIBEntry) String() string { return proto.CompactTextString(m) }
func (*FIBEntry) ProtoMessage() {}
func (*FIBEntry) Descriptor() ([]byte, []int) {
return fileDescriptor_a98c33506306c9f8, []int{0}
}
func (m *FIBEntry) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FIBEntry.Unmarshal(m, b)
}
func (m *FIBEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FIBEntry.Marshal(b, m, deterministic)
}
func (m *FIBEntry) XXX_Merge(src proto.Message) {
xxx_messageInfo_FIBEntry.Merge(m, src)
}
func (m *FIBEntry) XXX_Size() int {
return xxx_messageInfo_FIBEntry.Size(m)
}
func (m *FIBEntry) XXX_DiscardUnknown() {
xxx_messageInfo_FIBEntry.DiscardUnknown(m)
}
var xxx_messageInfo_FIBEntry proto.InternalMessageInfo
func (m *FIBEntry) GetPhysAddress() string {
if m != nil {
return m.PhysAddress
}
return ""
}
func (m *FIBEntry) GetBridgeDomain() string {
if m != nil {
return m.BridgeDomain
}
return ""
}
func (m *FIBEntry) GetAction() FIBEntry_Action {
if m != nil {
return m.Action
}
return FIBEntry_FORWARD
}
func (m *FIBEntry) GetOutgoingInterface() string {
if m != nil {
return m.OutgoingInterface
}
return ""
}
func (m *FIBEntry) GetStaticConfig() bool {
if m != nil {
return m.StaticConfig
}
return false
}
func (m *FIBEntry) GetBridgedVirtualInterface() bool {
if m != nil {
return m.BridgedVirtualInterface
}
return false
}
func (*FIBEntry) XXX_MessageName() string {
return "vpp.l2.FIBEntry"
}
func init() {
proto.RegisterEnum("vpp.l2.FIBEntry_Action", FIBEntry_Action_name, FIBEntry_Action_value)
proto.RegisterType((*FIBEntry)(nil), "vpp.l2.FIBEntry")
}
func init() { proto.RegisterFile("models/vpp/l2/fib.proto", fileDescriptor_a98c33506306c9f8) }
var fileDescriptor_a98c33506306c9f8 = []byte{
// 334 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xcf, 0x4e, 0x32, 0x31,
0x14, 0xc5, 0xbf, 0xe1, 0xc3, 0x11, 0x0b, 0x1a, 0xec, 0x86, 0xd1, 0x85, 0x22, 0x6e, 0xd8, 0x30,
0x4d, 0x46, 0x57, 0xb8, 0x02, 0x91, 0x84, 0x15, 0x66, 0x16, 0x9a, 0xb8, 0x99, 0x74, 0xfe, 0x95,
0x26, 0x43, 0x6f, 0xd3, 0xe9, 0x4c, 0xc2, 0x7b, 0xf9, 0x10, 0xbe, 0x87, 0x2f, 0x62, 0x68, 0x19,
0x83, 0xbb, 0xf6, 0x77, 0xce, 0xbd, 0xf7, 0xe4, 0x5e, 0x34, 0xd8, 0x42, 0x9a, 0x15, 0x25, 0xa9,
0xa5, 0x24, 0x45, 0x40, 0x72, 0x1e, 0xfb, 0x52, 0x81, 0x06, 0xec, 0xd6, 0x52, 0xfa, 0x45, 0x70,
0x3d, 0x61, 0x5c, 0x6f, 0xaa, 0xd8, 0x4f, 0x60, 0x4b, 0x18, 0x30, 0x20, 0x46, 0x8e, 0xab, 0xdc,
0xfc, 0xcc, 0xc7, 0xbc, 0x6c, 0xd9, 0xe8, 0xb3, 0x85, 0x3a, 0xcb, 0xd5, 0xfc, 0x45,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