From: is005q Date: Sun, 25 Aug 2019 11:19:31 +0000 (+0300) Subject: [RICPLT-1853] Update NodebInfo proto X-Git-Tag: common/v1.0.19~1 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=d51567df6a3be905b6192d5571e04a966aa72ea5;p=ric-plt%2Fnodeb-rnib.git [RICPLT-1853] Update NodebInfo proto Change-Id: I638458798f984ea526ee246e4045429170ca4c73 Signed-off-by: is005q --- diff --git a/entities/nodeb_info.pb.go b/entities/nodeb_info.pb.go index 1fac9f3..791ffc6 100644 --- a/entities/nodeb_info.pb.go +++ b/entities/nodeb_info.pb.go @@ -20,12 +20,40 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type E2ApplicationProtocol int32 + +const ( + E2ApplicationProtocol_UNKNOWN_ASN1_MESSAGE_TYPE E2ApplicationProtocol = 0 + E2ApplicationProtocol_X2_SETUP_REQUEST E2ApplicationProtocol = 1 + E2ApplicationProtocol_ENDC_X2_SETUP_REQUEST E2ApplicationProtocol = 2 +) + +var E2ApplicationProtocol_name = map[int32]string{ + 0: "UNKNOWN_ASN1_MESSAGE_TYPE", + 1: "X2_SETUP_REQUEST", + 2: "ENDC_X2_SETUP_REQUEST", +} + +var E2ApplicationProtocol_value = map[string]int32{ + "UNKNOWN_ASN1_MESSAGE_TYPE": 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_DISCONNECTED ConnectionStatus = 2 + ConnectionStatus_DISCONNECTED ConnectionStatus = 2 ConnectionStatus_CONNECTED_SETUP_FAILED ConnectionStatus = 3 ConnectionStatus_CONNECTING ConnectionStatus = 4 ConnectionStatus_SHUTTING_DOWN ConnectionStatus = 5 @@ -57,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 @@ -117,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:"-"` @@ -180,6 +210,13 @@ func (m *NodebInfo) GetPort() uint32 { return 0 } +func (m *NodebInfo) GetE2ApplicationProtocol() E2ApplicationProtocol { + if m != nil { + return m.E2ApplicationProtocol + } + return E2ApplicationProtocol_UNKNOWN_ASN1_MESSAGE_TYPE +} + func (m *NodebInfo) GetConnectionStatus() ConnectionStatus { if m != nil { return m.ConnectionStatus @@ -187,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 @@ -206,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() {} @@ -323,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) @@ -334,38 +379,44 @@ func init() { func init() { proto.RegisterFile("nodeb_info.proto", fileDescriptor_04b920976079e56c) } var fileDescriptor_04b920976079e56c = []byte{ - // 524 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x61, 0x8b, 0xda, 0x4c, - 0x10, 0x36, 0xd1, 0x53, 0x33, 0x1a, 0xdf, 0x75, 0xdf, 0xeb, 0x11, 0x85, 0x52, 0x2b, 0x14, 0xa4, - 0x50, 0x29, 0x16, 0x0a, 0xa5, 0x9f, 0x4e, 0xcd, 0x79, 0xd2, 0xb2, 0x1e, 0x49, 0xa4, 0xed, 0xa7, - 0x25, 0xd1, 0x35, 0x04, 0xbc, 0xdd, 0x90, 0x44, 0xa8, 0x3f, 0xa7, 0xff, 0xa7, 0x3f, 0xaa, 0xec, - 0x26, 0x1a, 0x6b, 0xbf, 0xcd, 0x3c, 0xf3, 0xcc, 0xf3, 0xcc, 0xcc, 0x2e, 0x20, 0x2e, 0xb6, 0x2c, - 0xa0, 0x11, 0xdf, 0x89, 0x71, 0x9c, 0x88, 0x4c, 0xe0, 0x26, 0xe3, 0x59, 0x94, 0x45, 0x2c, 0xed, - 0x1b, 0x21, 0x0f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 0x8e, 0x34, - 0xdc, 0x05, 0x93, 0xac, 0x3c, 0x5a, 0x42, 0x3a, 0xee, 0xc3, 0xdd, 0x39, 0xbd, 0xb0, 0xb4, 0xe7, - 0xa8, 0x8a, 0x3b, 0x00, 0x27, 0x51, 0xb2, 0x40, 0x35, 0xd9, 0xee, 0x3e, 0xae, 0x3d, 0x99, 0xd1, - 0xb9, 0x5c, 0xfe, 0x46, 0x1a, 0x48, 0x28, 0x4f, 0xeb, 0x41, 0x5d, 0x7d, 0xff, 0x0f, 0x7f, 0x02, - 0x00, 0x00, 0xff, 0xff, 0x8f, 0xc0, 0x7c, 0xcd, 0x66, 0x03, 0x00, 0x00, + // 613 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, 0x90, 0x26, + 0xa1, 0x4a, 0x63, 0x1b, 0x93, 0x26, 0x4d, 0xfb, 0x44, 0xc1, 0xa5, 0x68, 0x9b, 0xdb, 0x25, 0x41, + 0xdd, 0x3e, 0x59, 0x09, 0x35, 0x51, 0x24, 0xea, 0x44, 0x89, 0x91, 0xd6, 0xb7, 0xd9, 0x53, 0xed, + 0x79, 0x26, 0x9b, 0x40, 0x18, 0xe3, 0xdb, 0xf5, 0x39, 0xe7, 0x9e, 0x93, 0x7b, 0xed, 0x00, 0x12, + 0xf1, 0x23, 0x0f, 0x58, 0x24, 0xe6, 0x71, 0x2f, 0x49, 0x63, 0x19, 0xe3, 0x1a, 0x17, 0x32, 0x92, + 0x11, 0xcf, 0x5a, 0x56, 0x28, 0x82, 0x15, 0xd8, 0xb2, 0xf8, 0xa6, 0xbc, 0xfc, 0xd9, 0x67, 0x19, + 0x97, 0xcb, 0x84, 0xcd, 0xfd, 0x68, 0xb1,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, + 0x70, 0x46, 0xe8, 0x68, 0xc8, 0xfe, 0xa1, 0xcc, 0xab, 0x10, 0xce, 0xf6, 0xbe, 0x33, 0xfc, 0x02, + 0x2e, 0xd6, 0xde, 0x03, 0x97, 0xbe, 0x63, 0x5f, 0x89, 0xeb, 0x0e, 0xc6, 0x64, 0x5f, 0x90, 0x43, + 0xbe, 0x4d, 0x89, 0xeb, 0xed, 0x0b, 0x5a, 0x53, 0xe6, 0xd5, 0x2f, 0x03, 0xd0, 0xee, 0xf3, 0xdb, + 0x0e, 0x19, 0xde, 0x51, 0x4a, 0x86, 0xde, 0xe4, 0x8e, 0x32, 0xd7, 0x1b, 0x78, 0x53, 0x17, 0x95, + 0x70, 0x13, 0xac, 0x1c, 0x26, 0x23, 0x64, 0xa8, 0x71, 0x47, 0x13, 0xb7, 0x40, 0x4c, 0xdc, 0x82, + 0xf3, 0xcd, 0x71, 0x6b, 0x34, 0x32, 0x42, 0x65, 0x7c, 0x04, 0xb0, 0xf6, 0xa4, 0x63, 0x54, 0xc1, + 0xc7, 0xd0, 0x74, 0x6f, 0xa7, 0x9e, 0x3a, 0xb1, 0x91, 0x5a, 0xf2, 0x81, 0xf2, 0x57, 0xd0, 0xea, + 0x78, 0x18, 0x1c, 0xea, 0x7f, 0xf1, 0xfd, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xee, 0xb5, + 0x94, 0x58, 0x04, 0x00, 0x00, } diff --git a/entities/nodeb_info.proto b/entities/nodeb_info.proto index 8cc5af2..192cc64 100644 --- a/entities/nodeb_info.proto +++ b/entities/nodeb_info.proto @@ -5,22 +5,30 @@ import "enb.proto"; import "x2_setup_failure_response.proto"; import "nb_identity.proto"; -message NodebInfo{ +message NodebInfo { string ran_name = 1; string ip = 2; uint32 port = 3; - ConnectionStatus connection_status = 4; - GlobalNbId global_nb_id = 5; - Node.Type node_type = 6; - oneof configuration{ - Enb enb = 7; - Gnb gnb = 8; + E2ApplicationProtocol e2_application_protocol = 4; + ConnectionStatus connection_status = 5; + uint32 connection_attempts = 6; + GlobalNbId global_nb_id = 7; + Node.Type node_type = 8; + oneof configuration { + Enb enb = 9; + Gnb gnb = 10; } - Failure.Type failure_type = 9; - SetupFailure setup_failure = 10; + Failure.Type failure_type = 11; + SetupFailure setup_failure = 12; } -enum ConnectionStatus{ +enum E2ApplicationProtocol { + UNKNOWN_ASN1_MESSAGE_TYPE = 0; + X2_SETUP_REQUEST = 1; + ENDC_X2_SETUP_REQUEST = 2; +} + +enum ConnectionStatus { UNKNOWN_CONNECTION_STATUS = 0; CONNECTED = 1; DISCONNECTED = 2; @@ -30,16 +38,16 @@ enum ConnectionStatus{ SHUT_DOWN = 6; } -message Node{ - enum Type{ +message Node { + enum Type { UNKNOWN = 0; ENB = 1; GNB = 2; } } -message Failure{ - enum Type{ +message Failure { + enum Type { UNKNOWN_TYPE = 0; X2_SETUP_FAILURE = 1; ENDC_X2_SETUP_FAILURE = 2; diff --git a/reader/go.mod b/reader/go.mod index 738b7bb..70bfe5e 100644 --- a/reader/go.mod +++ b/reader/go.mod @@ -3,8 +3,8 @@ module gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/reader go 1.12 require ( - gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common v1.0.17 - gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities v1.0.17 + gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common v1.0.19 + gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities v1.0.19 gerrit.o-ran-sc.org/r/ric-plt/sdlgo v0.2.0 github.com/golang/protobuf v1.3.1 github.com/pkg/errors v0.8.1