go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/l2/fib.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: ligato/vpp/l2/fib.proto 6 7 package vpp_l2 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type FIBEntry_Action int32 24 25 const ( 26 FIBEntry_FORWARD FIBEntry_Action = 0 // forward the matching frame 27 FIBEntry_DROP FIBEntry_Action = 1 // drop the matching frame 28 ) 29 30 // Enum value maps for FIBEntry_Action. 31 var ( 32 FIBEntry_Action_name = map[int32]string{ 33 0: "FORWARD", 34 1: "DROP", 35 } 36 FIBEntry_Action_value = map[string]int32{ 37 "FORWARD": 0, 38 "DROP": 1, 39 } 40 ) 41 42 func (x FIBEntry_Action) Enum() *FIBEntry_Action { 43 p := new(FIBEntry_Action) 44 *p = x 45 return p 46 } 47 48 func (x FIBEntry_Action) String() string { 49 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 50 } 51 52 func (FIBEntry_Action) Descriptor() protoreflect.EnumDescriptor { 53 return file_ligato_vpp_l2_fib_proto_enumTypes[0].Descriptor() 54 } 55 56 func (FIBEntry_Action) Type() protoreflect.EnumType { 57 return &file_ligato_vpp_l2_fib_proto_enumTypes[0] 58 } 59 60 func (x FIBEntry_Action) Number() protoreflect.EnumNumber { 61 return protoreflect.EnumNumber(x) 62 } 63 64 // Deprecated: Use FIBEntry_Action.Descriptor instead. 65 func (FIBEntry_Action) EnumDescriptor() ([]byte, []int) { 66 return file_ligato_vpp_l2_fib_proto_rawDescGZIP(), []int{0, 0} 67 } 68 69 type FIBEntry struct { 70 state protoimpl.MessageState 71 sizeCache protoimpl.SizeCache 72 unknownFields protoimpl.UnknownFields 73 74 PhysAddress string `protobuf:"bytes,1,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` // unique destination MAC address 75 BridgeDomain string `protobuf:"bytes,2,opt,name=bridge_domain,json=bridgeDomain,proto3" json:"bridge_domain,omitempty"` // name of bridge domain this FIB table entry belongs to 76 Action FIBEntry_Action `protobuf:"varint,3,opt,name=action,proto3,enum=ligato.vpp.l2.FIBEntry_Action" json:"action,omitempty"` // action to tke on matching frames 77 OutgoingInterface string `protobuf:"bytes,4,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"` // outgoing interface for matching frames 78 StaticConfig bool `protobuf:"varint,5,opt,name=static_config,json=staticConfig,proto3" json:"static_config,omitempty"` // true if this is a statically configured FIB entry 79 BridgedVirtualInterface bool `protobuf:"varint,6,opt,name=bridged_virtual_interface,json=bridgedVirtualInterface,proto3" json:"bridged_virtual_interface,omitempty"` // the MAC address is a bridge virtual interface MAC 80 } 81 82 func (x *FIBEntry) Reset() { 83 *x = FIBEntry{} 84 if protoimpl.UnsafeEnabled { 85 mi := &file_ligato_vpp_l2_fib_proto_msgTypes[0] 86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 87 ms.StoreMessageInfo(mi) 88 } 89 } 90 91 func (x *FIBEntry) String() string { 92 return protoimpl.X.MessageStringOf(x) 93 } 94 95 func (*FIBEntry) ProtoMessage() {} 96 97 func (x *FIBEntry) ProtoReflect() protoreflect.Message { 98 mi := &file_ligato_vpp_l2_fib_proto_msgTypes[0] 99 if protoimpl.UnsafeEnabled && x != nil { 100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 101 if ms.LoadMessageInfo() == nil { 102 ms.StoreMessageInfo(mi) 103 } 104 return ms 105 } 106 return mi.MessageOf(x) 107 } 108 109 // Deprecated: Use FIBEntry.ProtoReflect.Descriptor instead. 110 func (*FIBEntry) Descriptor() ([]byte, []int) { 111 return file_ligato_vpp_l2_fib_proto_rawDescGZIP(), []int{0} 112 } 113 114 func (x *FIBEntry) GetPhysAddress() string { 115 if x != nil { 116 return x.PhysAddress 117 } 118 return "" 119 } 120 121 func (x *FIBEntry) GetBridgeDomain() string { 122 if x != nil { 123 return x.BridgeDomain 124 } 125 return "" 126 } 127 128 func (x *FIBEntry) GetAction() FIBEntry_Action { 129 if x != nil { 130 return x.Action 131 } 132 return FIBEntry_FORWARD 133 } 134 135 func (x *FIBEntry) GetOutgoingInterface() string { 136 if x != nil { 137 return x.OutgoingInterface 138 } 139 return "" 140 } 141 142 func (x *FIBEntry) GetStaticConfig() bool { 143 if x != nil { 144 return x.StaticConfig 145 } 146 return false 147 } 148 149 func (x *FIBEntry) GetBridgedVirtualInterface() bool { 150 if x != nil { 151 return x.BridgedVirtualInterface 152 } 153 return false 154 } 155 156 var File_ligato_vpp_l2_fib_proto protoreflect.FileDescriptor 157 158 var file_ligato_vpp_l2_fib_proto_rawDesc = []byte{ 159 0x0a, 0x17, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x6c, 0x32, 0x2f, 160 0x66, 0x69, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6c, 0x69, 0x67, 0x61, 0x74, 161 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x6c, 0x32, 0x22, 0xbb, 0x02, 0x0a, 0x08, 0x46, 0x49, 0x42, 162 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x79, 0x73, 0x5f, 0x61, 0x64, 163 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x79, 164 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x72, 0x69, 0x64, 165 0x67, 0x65, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 166 0x0c, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x36, 0x0a, 167 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 168 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x6c, 0x32, 0x2e, 0x46, 0x49, 169 0x42, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 170 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 171 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 172 0x09, 0x52, 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 173 0x66, 0x61, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x63, 174 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x73, 0x74, 0x61, 175 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x19, 0x62, 0x72, 0x69, 176 0x64, 0x67, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 177 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x62, 0x72, 178 0x69, 0x64, 0x67, 0x65, 0x64, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 179 0x72, 0x66, 0x61, 0x63, 0x65, 0x22, 0x1f, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 180 0x0b, 0x0a, 0x07, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 181 0x44, 0x52, 0x4f, 0x50, 0x10, 0x01, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 182 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 183 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 184 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x6c, 0x32, 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x6c, 0x32, 0x62, 0x06, 185 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 186 } 187 188 var ( 189 file_ligato_vpp_l2_fib_proto_rawDescOnce sync.Once 190 file_ligato_vpp_l2_fib_proto_rawDescData = file_ligato_vpp_l2_fib_proto_rawDesc 191 ) 192 193 func file_ligato_vpp_l2_fib_proto_rawDescGZIP() []byte { 194 file_ligato_vpp_l2_fib_proto_rawDescOnce.Do(func() { 195 file_ligato_vpp_l2_fib_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_l2_fib_proto_rawDescData) 196 }) 197 return file_ligato_vpp_l2_fib_proto_rawDescData 198 } 199 200 var file_ligato_vpp_l2_fib_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 201 var file_ligato_vpp_l2_fib_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 202 var file_ligato_vpp_l2_fib_proto_goTypes = []interface{}{ 203 (FIBEntry_Action)(0), // 0: ligato.vpp.l2.FIBEntry.Action 204 (*FIBEntry)(nil), // 1: ligato.vpp.l2.FIBEntry 205 } 206 var file_ligato_vpp_l2_fib_proto_depIdxs = []int32{ 207 0, // 0: ligato.vpp.l2.FIBEntry.action:type_name -> ligato.vpp.l2.FIBEntry.Action 208 1, // [1:1] is the sub-list for method output_type 209 1, // [1:1] is the sub-list for method input_type 210 1, // [1:1] is the sub-list for extension type_name 211 1, // [1:1] is the sub-list for extension extendee 212 0, // [0:1] is the sub-list for field type_name 213 } 214 215 func init() { file_ligato_vpp_l2_fib_proto_init() } 216 func file_ligato_vpp_l2_fib_proto_init() { 217 if File_ligato_vpp_l2_fib_proto != nil { 218 return 219 } 220 if !protoimpl.UnsafeEnabled { 221 file_ligato_vpp_l2_fib_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 222 switch v := v.(*FIBEntry); i { 223 case 0: 224 return &v.state 225 case 1: 226 return &v.sizeCache 227 case 2: 228 return &v.unknownFields 229 default: 230 return nil 231 } 232 } 233 } 234 type x struct{} 235 out := protoimpl.TypeBuilder{ 236 File: protoimpl.DescBuilder{ 237 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 238 RawDescriptor: file_ligato_vpp_l2_fib_proto_rawDesc, 239 NumEnums: 1, 240 NumMessages: 1, 241 NumExtensions: 0, 242 NumServices: 0, 243 }, 244 GoTypes: file_ligato_vpp_l2_fib_proto_goTypes, 245 DependencyIndexes: file_ligato_vpp_l2_fib_proto_depIdxs, 246 EnumInfos: file_ligato_vpp_l2_fib_proto_enumTypes, 247 MessageInfos: file_ligato_vpp_l2_fib_proto_msgTypes, 248 }.Build() 249 File_ligato_vpp_l2_fib_proto = out.File 250 file_ligato_vpp_l2_fib_proto_rawDesc = nil 251 file_ligato_vpp_l2_fib_proto_goTypes = nil 252 file_ligato_vpp_l2_fib_proto_depIdxs = nil 253 }