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
/
fib.pb.go
135 lines (117 loc) · 4.96 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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: fib.proto
package mock_l2
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gogo/protobuf/gogoproto"
// 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_fib_6540ddfd787fcc35, []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=mock.l2.FIBEntry_Action" json:"action,omitempty"`
OutgoingInterface string `protobuf:"bytes,4,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_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_fib_6540ddfd787fcc35, []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 (dst *FIBEntry) XXX_Merge(src proto.Message) {
xxx_messageInfo_FIBEntry.Merge(dst, 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 (*FIBEntry) XXX_MessageName() string {
return "mock.l2.FIBEntry"
}
func init() {
proto.RegisterType((*FIBEntry)(nil), "mock.l2.FIBEntry")
proto.RegisterEnum("mock.l2.FIBEntry_Action", FIBEntry_Action_name, FIBEntry_Action_value)
}
func init() { proto.RegisterFile("fib.proto", fileDescriptor_fib_6540ddfd787fcc35) }
var fileDescriptor_fib_6540ddfd787fcc35 = []byte{
// 246 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8f, 0x4d, 0x4e, 0xc3, 0x30,
0x10, 0x85, 0x31, 0x44, 0x69, 0x3b, 0x2d, 0xa8, 0x78, 0x15, 0xb1, 0x80, 0x52, 0x36, 0xdd, 0xd4,
0x45, 0xe5, 0x04, 0xa9, 0x42, 0xa5, 0xae, 0x8a, 0xbc, 0x61, 0x19, 0xc5, 0xf9, 0x71, 0x2d, 0x88,
0xa7, 0x72, 0x9c, 0x45, 0x6f, 0xc8, 0x01, 0xb8, 0x01, 0x17, 0x41, 0x9d, 0x34, 0x3b, 0xcf, 0xf7,
0x3d, 0x3f, 0x7b, 0x60, 0x54, 0x19, 0x25, 0x8e, 0x0e, 0x3d, 0xf2, 0x41, 0x8d, 0xf9, 0x97, 0xf8,
0x5e, 0x3f, 0x2c, 0xb5, 0xf1, 0x87, 0x56, 0x89, 0x1c, 0xeb, 0x95, 0x46, 0x8d, 0x2b, 0xf2, 0xaa,
0xad, 0x68, 0xa2, 0x81, 0x4e, 0xdd, 0xbd, 0xf9, 0x2f, 0x83, 0xe1, 0x76, 0xb7, 0x79, 0xb7, 0xde,
0x9d, 0xf8, 0x33, 0x4c, 0x8e, 0x87, 0x53, 0x93, 0x66, 0x45, 0xe1, 0xca, 0xa6, 0x89, 0xd8, 0x8c,
0x2d, 0x46, 0x72, 0x7c, 0x66, 0x71, 0x87, 0xf8, 0x0b, 0xdc, 0x2a, 0x67, 0x0a, 0x5d, 0xa6, 0x05,
0xd6, 0x99, 0xb1, 0xd1, 0x35, 0x65, 0x26, 0x1d, 0x4c, 0x88, 0xf1, 0x57, 0x08, 0xb3, 0xdc, 0x1b,
0xb4, 0xd1, 0xcd, 0x8c, 0x2d, 0xee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