X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=entities%2Fnodeb_info.pb.go;h=822a4ad681619dc5956b80edb120f3272f625e1a;hb=refs%2Fchanges%2F83%2F883%2F1;hp=e73361c43745fd447847091f3886d237435bf9d3;hpb=286ce41c7d5049e688a40f68e4c6681a645add3d;p=ric-plt%2Fnodeb-rnib.git diff --git a/entities/nodeb_info.pb.go b/entities/nodeb_info.pb.go index e73361c..822a4ad 100644 --- a/entities/nodeb_info.pb.go +++ b/entities/nodeb_info.pb.go @@ -20,30 +20,64 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type E2ApplicationProtocol int32 + +const ( + E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL E2ApplicationProtocol = 0 + E2ApplicationProtocol_X2_SETUP_REQUEST E2ApplicationProtocol = 1 + E2ApplicationProtocol_ENDC_X2_SETUP_REQUEST E2ApplicationProtocol = 2 +) + +var E2ApplicationProtocol_name = map[int32]string{ + 0: "UNKNOWN_E2_APPLICATION_PROTOCOL", + 1: "X2_SETUP_REQUEST", + 2: "ENDC_X2_SETUP_REQUEST", +} + +var E2ApplicationProtocol_value = map[string]int32{ + "UNKNOWN_E2_APPLICATION_PROTOCOL": 0, + "X2_SETUP_REQUEST": 1, + "ENDC_X2_SETUP_REQUEST": 2, +} + +func (x E2ApplicationProtocol) String() string { + return proto.EnumName(E2ApplicationProtocol_name, int32(x)) +} + +func (E2ApplicationProtocol) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_04b920976079e56c, []int{0} +} + type ConnectionStatus int32 const ( ConnectionStatus_UNKNOWN_CONNECTION_STATUS ConnectionStatus = 0 ConnectionStatus_CONNECTED ConnectionStatus = 1 - ConnectionStatus_NOT_CONNECTED ConnectionStatus = 2 + ConnectionStatus_DISCONNECTED ConnectionStatus = 2 ConnectionStatus_CONNECTED_SETUP_FAILED ConnectionStatus = 3 ConnectionStatus_CONNECTING ConnectionStatus = 4 + ConnectionStatus_SHUTTING_DOWN ConnectionStatus = 5 + ConnectionStatus_SHUT_DOWN ConnectionStatus = 6 ) var ConnectionStatus_name = map[int32]string{ 0: "UNKNOWN_CONNECTION_STATUS", 1: "CONNECTED", - 2: "NOT_CONNECTED", + 2: "DISCONNECTED", 3: "CONNECTED_SETUP_FAILED", 4: "CONNECTING", + 5: "SHUTTING_DOWN", + 6: "SHUT_DOWN", } var ConnectionStatus_value = map[string]int32{ "UNKNOWN_CONNECTION_STATUS": 0, "CONNECTED": 1, - "NOT_CONNECTED": 2, + "DISCONNECTED": 2, "CONNECTED_SETUP_FAILED": 3, "CONNECTING": 4, + "SHUTTING_DOWN": 5, + "SHUT_DOWN": 6, } func (x ConnectionStatus) String() string { @@ -51,7 +85,7 @@ func (x ConnectionStatus) String() string { } func (ConnectionStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_04b920976079e56c, []int{0} + return fileDescriptor_04b920976079e56c, []int{1} } type Node_Type int32 @@ -111,18 +145,20 @@ func (Failure_Type) EnumDescriptor() ([]byte, []int) { } type NodebInfo struct { - RanName string `protobuf:"bytes,1,opt,name=ran_name,json=ranName,proto3" json:"ran_name,omitempty"` - Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` - Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` - ConnectionStatus ConnectionStatus `protobuf:"varint,4,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"` - GlobalNbId *GlobalNbId `protobuf:"bytes,5,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"` - NodeType Node_Type `protobuf:"varint,6,opt,name=node_type,json=nodeType,proto3,enum=entities.Node_Type" json:"node_type,omitempty"` + RanName string `protobuf:"bytes,1,opt,name=ran_name,json=ranName,proto3" json:"ran_name,omitempty"` + Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` + Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` + E2ApplicationProtocol E2ApplicationProtocol `protobuf:"varint,4,opt,name=e2_application_protocol,json=e2ApplicationProtocol,proto3,enum=entities.E2ApplicationProtocol" json:"e2_application_protocol,omitempty"` + ConnectionStatus ConnectionStatus `protobuf:"varint,5,opt,name=connection_status,json=connectionStatus,proto3,enum=entities.ConnectionStatus" json:"connection_status,omitempty"` + ConnectionAttempts uint32 `protobuf:"varint,6,opt,name=connection_attempts,json=connectionAttempts,proto3" json:"connection_attempts,omitempty"` + GlobalNbId *GlobalNbId `protobuf:"bytes,7,opt,name=global_nb_id,json=globalNbId,proto3" json:"global_nb_id,omitempty"` + NodeType Node_Type `protobuf:"varint,8,opt,name=node_type,json=nodeType,proto3,enum=entities.Node_Type" json:"node_type,omitempty"` // Types that are valid to be assigned to Configuration: // *NodebInfo_Enb // *NodebInfo_Gnb Configuration isNodebInfo_Configuration `protobuf_oneof:"configuration"` - FailureType Failure_Type `protobuf:"varint,9,opt,name=failure_type,json=failureType,proto3,enum=entities.Failure_Type" json:"failure_type,omitempty"` - SetupFailure *SetupFailure `protobuf:"bytes,10,opt,name=setup_failure,json=setupFailure,proto3" json:"setup_failure,omitempty"` + FailureType Failure_Type `protobuf:"varint,11,opt,name=failure_type,json=failureType,proto3,enum=entities.Failure_Type" json:"failure_type,omitempty"` + SetupFailure *SetupFailure `protobuf:"bytes,12,opt,name=setup_failure,json=setupFailure,proto3" json:"setup_failure,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -174,6 +210,13 @@ func (m *NodebInfo) GetPort() uint32 { return 0 } +func (m *NodebInfo) GetE2ApplicationProtocol() E2ApplicationProtocol { + if m != nil { + return m.E2ApplicationProtocol + } + return E2ApplicationProtocol_UNKNOWN_E2_APPLICATION_PROTOCOL +} + func (m *NodebInfo) GetConnectionStatus() ConnectionStatus { if m != nil { return m.ConnectionStatus @@ -181,6 +224,13 @@ func (m *NodebInfo) GetConnectionStatus() ConnectionStatus { return ConnectionStatus_UNKNOWN_CONNECTION_STATUS } +func (m *NodebInfo) GetConnectionAttempts() uint32 { + if m != nil { + return m.ConnectionAttempts + } + return 0 +} + func (m *NodebInfo) GetGlobalNbId() *GlobalNbId { if m != nil { return m.GlobalNbId @@ -200,11 +250,11 @@ type isNodebInfo_Configuration interface { } type NodebInfo_Enb struct { - Enb *Enb `protobuf:"bytes,7,opt,name=enb,proto3,oneof"` + Enb *Enb `protobuf:"bytes,9,opt,name=enb,proto3,oneof"` } type NodebInfo_Gnb struct { - Gnb *Gnb `protobuf:"bytes,8,opt,name=gnb,proto3,oneof"` + Gnb *Gnb `protobuf:"bytes,10,opt,name=gnb,proto3,oneof"` } func (*NodebInfo_Enb) isNodebInfo_Configuration() {} @@ -317,6 +367,7 @@ func (m *Failure) XXX_DiscardUnknown() { var xxx_messageInfo_Failure proto.InternalMessageInfo func init() { + proto.RegisterEnum("entities.E2ApplicationProtocol", E2ApplicationProtocol_name, E2ApplicationProtocol_value) proto.RegisterEnum("entities.ConnectionStatus", ConnectionStatus_name, ConnectionStatus_value) proto.RegisterEnum("entities.Node_Type", Node_Type_name, Node_Type_value) proto.RegisterEnum("entities.Failure_Type", Failure_Type_name, Failure_Type_value) @@ -328,37 +379,44 @@ func init() { func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) } var fileDescriptor_04b920976079e56c = []byte{ - // 506 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x51, 0x8b, 0xda, 0x4c, - 0x14, 0x35, 0xd1, 0x6f, 0x35, 0x57, 0xe3, 0x37, 0x4e, 0xb7, 0x4b, 0x14, 0x4a, 0xad, 0x50, 0x90, - 0x42, 0xa5, 0x58, 0x28, 0x94, 0x3e, 0xad, 0x9a, 0xb5, 0xd2, 0x32, 0x2e, 0x31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, 0xd7, 0x8f, 0xf4, 0xe1, 0x7e, 0xf1, 0x75, - 0xed, 0xb9, 0xc8, 0xc0, 0x5d, 0x78, 0xee, 0x92, 0xd9, 0x94, 0xfe, 0x43, 0x99, 0x6f, 0x7e, 0x01, - 0xba, 0x7e, 0x63, 0xfc, 0x02, 0xba, 0x27, 0xdb, 0xe9, 0x92, 0x10, 0x77, 0xea, 0x2f, 0x96, 0x84, - 0xae, 0xfc, 0x7b, 0x7f, 0xbd, 0x42, 0x15, 0x6c, 0x83, 0x55, 0xc0, 0xee, 0x0c, 0x19, 0xb8, 0x03, - 0x36, 0x59, 0xfa, 0xb4, 0x84, 0x4c, 0xdc, 0x83, 0xbb, 0xf3, 0xf1, 0x22, 0xd1, 0x9d, 0xa1, 0x2a, - 0x6e, 0x03, 0x9c, 0x4c, 0xc9, 0x1c, 0xd5, 0xd8, 0x8d, 0xfe, 0xdb, 0xef, 0xff, 0x04, 0x00, 0x00, - 0xff, 0xff, 0x44, 0xa7, 0x9d, 0x8f, 0x43, 0x03, 0x00, 0x00, + // 623 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xef, 0x6e, 0xda, 0x3e, + 0x14, 0x25, 0x81, 0x16, 0x72, 0x81, 0xfe, 0x5c, 0xf7, 0xcf, 0x2f, 0x45, 0x9a, 0xca, 0x98, 0x26, + 0xa1, 0x4a, 0x63, 0x53, 0x26, 0x4d, 0x9a, 0xf6, 0x89, 0x42, 0x4a, 0xa3, 0x55, 0x86, 0x25, 0x41, + 0xdd, 0x3e, 0x59, 0x09, 0x35, 0x28, 0x12, 0x38, 0x51, 0x62, 0xa4, 0xf5, 0x6d, 0xf6, 0x54, 0x7b, + 0x9e, 0xc9, 0x26, 0x10, 0xc6, 0xfa, 0xed, 0xfa, 0x9c, 0x73, 0xcf, 0xc9, 0xbd, 0x76, 0x00, 0xf1, + 0xf8, 0x89, 0x85, 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