зеркало из https://github.com/microsoft/moc.git
code changes
This commit is contained in:
Родитель
1bf2b4891e
Коммит
403e5e030e
|
@ -20,6 +20,70 @@ var _ = math.Inf
|
|||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
type OsRegistrationState int32
|
||||
|
||||
const (
|
||||
OsRegistrationState_notRegistered OsRegistrationState = 0
|
||||
OsRegistrationState_registered OsRegistrationState = 1
|
||||
)
|
||||
|
||||
var OsRegistrationState_name = map[int32]string{
|
||||
0: "notRegistered",
|
||||
1: "registered",
|
||||
}
|
||||
|
||||
var OsRegistrationState_value = map[string]int32{
|
||||
"notRegistered": 0,
|
||||
"registered": 1,
|
||||
}
|
||||
|
||||
func (x OsRegistrationState) String() string {
|
||||
return proto.EnumName(OsRegistrationState_name, int32(x))
|
||||
}
|
||||
|
||||
func (OsRegistrationState) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{0}
|
||||
}
|
||||
|
||||
type OsRegistrationStatus struct {
|
||||
Status OsRegistrationState `protobuf:"varint,1,opt,name=status,proto3,enum=moc.common.OsRegistrationState" json:"status,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OsRegistrationStatus) Reset() { *m = OsRegistrationStatus{} }
|
||||
func (m *OsRegistrationStatus) String() string { return proto.CompactTextString(m) }
|
||||
func (*OsRegistrationStatus) ProtoMessage() {}
|
||||
func (*OsRegistrationStatus) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{0}
|
||||
}
|
||||
|
||||
func (m *OsRegistrationStatus) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OsRegistrationStatus.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OsRegistrationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OsRegistrationStatus.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *OsRegistrationStatus) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OsRegistrationStatus.Merge(m, src)
|
||||
}
|
||||
func (m *OsRegistrationStatus) XXX_Size() int {
|
||||
return xxx_messageInfo_OsRegistrationStatus.Size(m)
|
||||
}
|
||||
func (m *OsRegistrationStatus) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OsRegistrationStatus.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OsRegistrationStatus proto.InternalMessageInfo
|
||||
|
||||
func (m *OsRegistrationStatus) GetStatus() OsRegistrationState {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return OsRegistrationState_notRegistered
|
||||
}
|
||||
|
||||
type Processor struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Cores uint32 `protobuf:"varint,2,opt,name=cores,proto3" json:"cores,omitempty"`
|
||||
|
@ -39,7 +103,7 @@ func (m *Processor) Reset() { *m = Processor{} }
|
|||
func (m *Processor) String() string { return proto.CompactTextString(m) }
|
||||
func (*Processor) ProtoMessage() {}
|
||||
func (*Processor) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{0}
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{1}
|
||||
}
|
||||
|
||||
func (m *Processor) XXX_Unmarshal(b []byte) error {
|
||||
|
@ -134,7 +198,7 @@ func (m *PhysicalMemory) Reset() { *m = PhysicalMemory{} }
|
|||
func (m *PhysicalMemory) String() string { return proto.CompactTextString(m) }
|
||||
func (*PhysicalMemory) ProtoMessage() {}
|
||||
func (*PhysicalMemory) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{1}
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{2}
|
||||
}
|
||||
|
||||
func (m *PhysicalMemory) XXX_Unmarshal(b []byte) error {
|
||||
|
@ -175,7 +239,7 @@ func (m *GPU) Reset() { *m = GPU{} }
|
|||
func (m *GPU) String() string { return proto.CompactTextString(m) }
|
||||
func (*GPU) ProtoMessage() {}
|
||||
func (*GPU) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{2}
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{3}
|
||||
}
|
||||
|
||||
func (m *GPU) XXX_Unmarshal(b []byte) error {
|
||||
|
@ -218,19 +282,20 @@ func (m *GPU) GetCount() uint32 {
|
|||
}
|
||||
|
||||
type OperatingSystem struct {
|
||||
Operatingsystemsku uint64 `protobuf:"varint,1,opt,name=operatingsystemsku,proto3" json:"operatingsystemsku,omitempty"`
|
||||
Ostype OperatingSystemType `protobuf:"varint,2,opt,name=ostype,proto3,enum=moc.OperatingSystemType" json:"ostype,omitempty"`
|
||||
Osversion string `protobuf:"bytes,3,opt,name=osversion,proto3" json:"osversion,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
Operatingsystemsku uint64 `protobuf:"varint,1,opt,name=operatingsystemsku,proto3" json:"operatingsystemsku,omitempty"`
|
||||
Ostype OperatingSystemType `protobuf:"varint,2,opt,name=ostype,proto3,enum=moc.OperatingSystemType" json:"ostype,omitempty"`
|
||||
Osversion string `protobuf:"bytes,3,opt,name=osversion,proto3" json:"osversion,omitempty"`
|
||||
OsRegistrationStatus *OsRegistrationStatus `protobuf:"bytes,4,opt,name=osRegistrationStatus,proto3" json:"osRegistrationStatus,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OperatingSystem) Reset() { *m = OperatingSystem{} }
|
||||
func (m *OperatingSystem) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperatingSystem) ProtoMessage() {}
|
||||
func (*OperatingSystem) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{3}
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{4}
|
||||
}
|
||||
|
||||
func (m *OperatingSystem) XXX_Unmarshal(b []byte) error {
|
||||
|
@ -272,6 +337,13 @@ func (m *OperatingSystem) GetOsversion() string {
|
|||
return ""
|
||||
}
|
||||
|
||||
func (m *OperatingSystem) GetOsRegistrationStatus() *OsRegistrationStatus {
|
||||
if m != nil {
|
||||
return m.OsRegistrationStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type NodeInfo struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
|
@ -280,6 +352,7 @@ type NodeInfo struct {
|
|||
Ostype OperatingSystemType `protobuf:"varint,6,opt,name=ostype,proto3,enum=moc.OperatingSystemType" json:"ostype,omitempty"`
|
||||
Status *Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
||||
Uptime int64 `protobuf:"varint,8,opt,name=uptime,proto3" json:"uptime,omitempty"`
|
||||
OsInfo *OperatingSystem `protobuf:"bytes,9,opt,name=osInfo,proto3" json:"osInfo,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
|
@ -289,7 +362,7 @@ func (m *NodeInfo) Reset() { *m = NodeInfo{} }
|
|||
func (m *NodeInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*NodeInfo) ProtoMessage() {}
|
||||
func (*NodeInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{4}
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{5}
|
||||
}
|
||||
|
||||
func (m *NodeInfo) XXX_Unmarshal(b []byte) error {
|
||||
|
@ -359,12 +432,18 @@ func (m *NodeInfo) GetUptime() int64 {
|
|||
return 0
|
||||
}
|
||||
|
||||
func (m *NodeInfo) GetOsInfo() *OperatingSystem {
|
||||
if m != nil {
|
||||
return m.OsInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type Resources struct {
|
||||
Processor *Processor `protobuf:"bytes,1,opt,name=processor,proto3" json:"processor,omitempty"`
|
||||
Memory *PhysicalMemory `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
|
||||
Gpu *GPU `protobuf:"bytes,3,opt,name=gpu,proto3" json:"gpu,omitempty"`
|
||||
OsInfo *OperatingSystem `protobuf:"bytes,4,opt,name=osInfo,proto3" json:"osInfo,omitempty"`
|
||||
VmCapabilities *VirtualMachineCapabilities `protobuf:"bytes,5,opt,name=vmCapabilities,proto3" json:"vmCapabilities,omitempty"`
|
||||
VmCapabilities *VirtualMachineCapabilities `protobuf:"bytes,4,opt,name=vmCapabilities,proto3" json:"vmCapabilities,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
|
@ -374,7 +453,7 @@ func (m *Resources) Reset() { *m = Resources{} }
|
|||
func (m *Resources) String() string { return proto.CompactTextString(m) }
|
||||
func (*Resources) ProtoMessage() {}
|
||||
func (*Resources) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{5}
|
||||
return fileDescriptor_7c83f03f7e6831a3, []int{6}
|
||||
}
|
||||
|
||||
func (m *Resources) XXX_Unmarshal(b []byte) error {
|
||||
|
@ -416,13 +495,6 @@ func (m *Resources) GetGpu() *GPU {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (m *Resources) GetOsInfo() *OperatingSystem {
|
||||
if m != nil {
|
||||
return m.OsInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Resources) GetVmCapabilities() *VirtualMachineCapabilities {
|
||||
if m != nil {
|
||||
return m.VmCapabilities
|
||||
|
@ -431,6 +503,8 @@ func (m *Resources) GetVmCapabilities() *VirtualMachineCapabilities {
|
|||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("moc.common.OsRegistrationState", OsRegistrationState_name, OsRegistrationState_value)
|
||||
proto.RegisterType((*OsRegistrationStatus)(nil), "moc.common.OsRegistrationStatus")
|
||||
proto.RegisterType((*Processor)(nil), "moc.common.Processor")
|
||||
proto.RegisterType((*PhysicalMemory)(nil), "moc.common.PhysicalMemory")
|
||||
proto.RegisterType((*GPU)(nil), "moc.common.GPU")
|
||||
|
@ -442,45 +516,49 @@ func init() {
|
|||
func init() { proto.RegisterFile("moc_common_nodeinfo.proto", fileDescriptor_7c83f03f7e6831a3) }
|
||||
|
||||
var fileDescriptor_7c83f03f7e6831a3 = []byte{
|
||||
// 627 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x4d, 0x6f, 0xd3, 0x40,
|
||||
0x10, 0x55, 0x9c, 0xd4, 0xd4, 0x93, 0x92, 0xaa, 0x2b, 0x3e, 0x4c, 0x41, 0x10, 0x5c, 0x51, 0xe5,
|
||||
0x80, 0x1c, 0x94, 0xaa, 0x07, 0x8e, 0x94, 0x43, 0xc5, 0xa1, 0x10, 0x6d, 0x29, 0x07, 0x2e, 0xd5,
|
||||
0x76, 0xb3, 0x49, 0x56, 0xc4, 0xde, 0xd5, 0xee, 0x3a, 0x92, 0xfb, 0x27, 0x10, 0x07, 0xfe, 0x18,
|
||||
0xbf, 0x08, 0x79, 0xec, 0x24, 0x76, 0x5a, 0x21, 0x4e, 0xc9, 0xbe, 0xf7, 0x66, 0x76, 0x66, 0xde,
|
||||
0xac, 0xe1, 0x59, 0xa2, 0xf8, 0x35, 0x57, 0x49, 0xa2, 0xd2, 0xeb, 0x54, 0x4d, 0x84, 0x4c, 0xa7,
|
||||
0x2a, 0xd6, 0x46, 0x39, 0x45, 0x20, 0x51, 0x3c, 0x2e, 0xa9, 0xc3, 0xa7, 0x35, 0x59, 0xf9, 0x53,
|
||||
0x8a, 0x0e, 0x5f, 0x36, 0x09, 0x9d, 0x39, 0x51, 0xe7, 0xa3, 0x3f, 0x1e, 0x04, 0x63, 0xa3, 0xb8,
|
||||
0xb0, 0x56, 0x19, 0x42, 0xa0, 0x93, 0xb2, 0x44, 0x84, 0xad, 0x7e, 0x6b, 0x10, 0x50, 0xfc, 0x4f,
|
||||
0x1e, 0xc1, 0x0e, 0x57, 0x46, 0xd8, 0xd0, 0xeb, 0xb7, 0x06, 0x0f, 0x69, 0x79, 0x28, 0x50, 0xab,
|
||||
0x85, 0x98, 0x84, 0x6d, 0x94, 0x96, 0x07, 0x72, 0x0c, 0x1d, 0x97, 0x6b, 0x11, 0x76, 0xfa, 0xad,
|
||||
0x41, 0x6f, 0x44, 0xe2, 0xa2, 0xc2, 0x75, 0xf6, 0xaf, 0xb9, 0x16, 0x14, 0x79, 0x72, 0x0c, 0xbd,
|
||||
0xa5, 0x34, 0x2e, 0x63, 0x0b, 0x79, 0xcb, 0x9c, 0x54, 0x69, 0xb8, 0xd3, 0x6f, 0x0d, 0x76, 0xe9,
|
||||
0x16, 0x4a, 0xde, 0xc2, 0xc1, 0x42, 0xcd, 0x24, 0x67, 0x0b, 0xbd, 0xca, 0x62, 0x43, 0x1f, 0xeb,
|
||||
0xb8, 0x4b, 0x14, 0xea, 0x79, 0xae, 0x85, 0x59, 0x4a, 0xab, 0x8c, 0x36, 0xc2, 0x8a, 0xd4, 0x85,
|
||||
0x0f, 0x30, 0xf1, 0x5d, 0x82, 0x44, 0xb0, 0x97, 0xb0, 0x34, 0x9b, 0x32, 0xee, 0x32, 0x23, 0x4c,
|
||||
0xb8, 0x8b, 0x8d, 0x34, 0x30, 0x72, 0x0a, 0x7b, 0xcc, 0xf0, 0xb9, 0x74, 0x02, 0x81, 0x30, 0xc0,
|
||||
0xbe, 0x0e, 0xb0, 0xaf, 0x0f, 0x35, 0x82, 0x36, 0x64, 0x51, 0x0c, 0xbd, 0xf1, 0x3c, 0xb7, 0x45,
|
||||
0x79, 0x17, 0x22, 0x51, 0x26, 0x27, 0x2f, 0x20, 0xb0, 0xf2, 0x56, 0x9c, 0xe5, 0x4e, 0x58, 0x9c,
|
||||
0x6e, 0x87, 0x6e, 0x80, 0xe8, 0x02, 0xda, 0xe7, 0xe3, 0xab, 0x7b, 0xa7, 0xdf, 0x08, 0x2c, 0x1d,
|
||||
0xd8, 0x00, 0xa5, 0x37, 0x59, 0xea, 0xd0, 0x05, 0xf4, 0x26, 0x4b, 0x5d, 0xf4, 0xab, 0x05, 0xfb,
|
||||
0x5f, 0xb4, 0x30, 0xcc, 0xc9, 0x74, 0x76, 0x99, 0x5b, 0x27, 0x12, 0x12, 0x03, 0x51, 0x2b, 0xc8,
|
||||
0x22, 0x64, 0x7f, 0x64, 0x55, 0x25, 0xf7, 0x30, 0xe4, 0x1d, 0xf8, 0xca, 0xa2, 0x97, 0x1e, 0xf6,
|
||||
0x1c, 0x62, 0xcf, 0x5b, 0x59, 0xd1, 0xd1, 0x4a, 0x57, 0x54, 0xaa, 0xec, 0x52, 0x18, 0x5b, 0xd8,
|
||||
0x59, 0x6e, 0xc5, 0x06, 0x88, 0x7e, 0x7a, 0xb0, 0xfb, 0x59, 0x4d, 0xc4, 0xa7, 0x74, 0xaa, 0xee,
|
||||
0x6d, 0xb4, 0x07, 0x9e, 0x9c, 0xe0, 0x65, 0x01, 0xf5, 0xe4, 0x84, 0x9c, 0x02, 0x70, 0xa6, 0xd9,
|
||||
0x8d, 0x5c, 0x48, 0x97, 0x63, 0xbe, 0xee, 0xe8, 0x71, 0xbc, 0x59, 0xf9, 0x98, 0x0a, 0xab, 0x32,
|
||||
0xc3, 0x85, 0xa5, 0x35, 0x21, 0x79, 0x0f, 0x7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9d, 0xfc, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x86, 0xbf, 0x7c, 0xf9, 0x21,
|
||||
0x05, 0x00, 0x00,
|
||||
// 695 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
|
||||
0x10, 0x26, 0x3f, 0x4d, 0xeb, 0x49, 0x9b, 0xd2, 0xa5, 0x80, 0x29, 0x08, 0x82, 0x2b, 0xaa, 0x0a,
|
||||
0xa1, 0x04, 0xa5, 0xaa, 0x80, 0x23, 0xe5, 0x50, 0x71, 0x28, 0x8d, 0xb6, 0x2d, 0x07, 0x2e, 0x95,
|
||||
0xbb, 0x99, 0x24, 0x2b, 0x62, 0xaf, 0xb5, 0xbb, 0x8e, 0xe4, 0x3e, 0x1f, 0x4f, 0xc0, 0x13, 0x70,
|
||||
0xe3, 0x35, 0x90, 0xc7, 0x4e, 0x62, 0xa7, 0x51, 0xc5, 0xc9, 0xde, 0xf9, 0xbe, 0xd9, 0xfd, 0x66,
|
||||
0xbe, 0xd9, 0x85, 0x67, 0x81, 0x12, 0xd7, 0x42, 0x05, 0x81, 0x0a, 0xaf, 0x43, 0x35, 0x40, 0x19,
|
||||
0x0e, 0x55, 0x27, 0xd2, 0xca, 0x2a, 0x06, 0x81, 0x12, 0x9d, 0x0c, 0xda, 0x7b, 0x5a, 0xa0, 0x65,
|
||||
0x9f, 0x8c, 0xb4, 0xf7, 0xb2, 0x0c, 0x44, 0xb1, 0xc5, 0x22, 0xee, 0x9d, 0xc3, 0xee, 0xb9, 0xe1,
|
||||
0x38, 0x92, 0xc6, 0x6a, 0xdf, 0x4a, 0x15, 0x5e, 0x58, 0xdf, 0xc6, 0x86, 0x7d, 0x80, 0x86, 0xa1,
|
||||
0x3f, 0xb7, 0xd2, 0xae, 0x1c, 0xb6, 0x7a, 0xaf, 0x3a, 0x8b, 0xd3, 0x3a, 0x77, 0x33, 0x90, 0xe7,
|
||||
0x74, 0xef, 0x77, 0x15, 0x9c, 0xbe, 0x56, 0x02, 0x8d, 0x51, 0x9a, 0x31, 0xa8, 0x87, 0x7e, 0x80,
|
||||
0xb4, 0x89, 0xc3, 0xe9, 0x9f, 0xed, 0xc2, 0x9a, 0x50, 0x1a, 0x8d, 0x5b, 0x6d, 0x57, 0x0e, 0xb7,
|
||||
0x78, 0xb6, 0x48, 0xa3, 0x26, 0x42, 0x1c, 0xb8, 0x35, 0xa2, 0x66, 0x0b, 0x76, 0x00, 0x75, 0x9b,
|
||||
0x44, 0xe8, 0xd6, 0x49, 0x04, 0x23, 0x11, 0xf3, 0xdd, 0x2f, 0x93, 0x08, 0x39, 0xe1, 0xec, 0x00,
|
||||
0x5a, 0x53, 0xa9, 0x6d, 0xec, 0x4f, 0xe4, 0x2d, 0x89, 0x72, 0xd7, 0xda, 0x95, 0xc3, 0x0d, 0xbe,
|
||||
0x14, 0x65, 0xef, 0x60, 0x67, 0xa2, 0x46, 0x52, 0xf8, 0x93, 0x68, 0xb6, 0x8b, 0x71, 0x1b, 0xa4,
|
||||
0xe3, 0x2e, 0x90, 0xb2, 0xc7, 0x49, 0x84, 0x7a, 0x2a, 0x8d, 0xd2, 0x91, 0x46, 0x83, 0xa1, 0x75,
|
||||
0xd7, 0x69, 0xe3, 0xbb, 0x00, 0xf3, 0x60, 0x33, 0xf0, 0xc3, 0x78, 0xe8, 0x0b, 0x1b, 0x6b, 0xd4,
|
||||
0xee, 0x06, 0x15, 0x52, 0x8a, 0xb1, 0x63, 0xd8, 0xf4, 0xb5, 0x18, 0x4b, 0x8b, 0x14, 0x70, 0x1d,
|
||||
0xaa, 0x6b, 0x87, 0xea, 0xfa, 0x5c, 0x00, 0x78, 0x89, 0xe6, 0x75, 0xa0, 0xd5, 0x1f, 0x27, 0x26,
|
||||
0x95, 0x77, 0x86, 0x81, 0xd2, 0x09, 0x7b, 0x01, 0x8e, 0x91, 0xb7, 0x78, 0x92, 0x58, 0xcc, 0x2c,
|
||||
0xaa, 0xf3, 0x45, 0xc0, 0x3b, 0x83, 0xda, 0x69, 0xff, 0x6a, 0x65, 0xf7, 0x4b, 0x89, 0x99, 0x03,
|
||||
0x8b, 0x40, 0xe6, 0x4d, 0x1c, 0x5a, 0x72, 0x81, 0xbc, 0x89, 0x43, 0xeb, 0xfd, 0xad, 0xc0, 0xf6,
|
||||
0x79, 0x84, 0xa9, 0xdd, 0xe1, 0xe8, 0x22, 0x31, 0x16, 0x03, 0xd6, 0x01, 0xa6, 0x66, 0x21, 0x43,
|
||||
0x21, 0xf3, 0x33, 0xce, 0x95, 0xac, 0x40, 0xd8, 0x7b, 0x68, 0x28, 0x43, 0x5e, 0x56, 0xa9, 0x66,
|
||||
0x97, 0x6a, 0x5e, 0xda, 0x95, 0x1c, 0xcd, 0x79, 0xa9, 0x52, 0x65, 0xa6, 0xa8, 0x4d, 0x6a, 0x67,
|
||||
0x36, 0x15, 0x8b, 0x00, 0xbb, 0x84, 0x5d, 0xb5, 0x62, 0x70, 0x69, 0x52, 0x9a, 0xbd, 0xf6, 0xfd,
|
||||
0xe3, 0x1a, 0x1b, 0xbe, 0x32, 0xdb, 0xfb, 0x55, 0x85, 0x8d, 0x6f, 0x6a, 0x80, 0x5f, 0xc3, 0xa1,
|
||||
0x5a, 0xd9, 0xbe, 0x16, 0x54, 0xe5, 0x80, 0x4a, 0x70, 0x78, 0x55, 0x0e, 0xd8, 0x31, 0x80, 0xf0,
|
||||
0x23, 0xff, 0x46, 0x4e, 0xa4, 0x4d, 0x48, 0x65, 0xb3, 0xf7, 0xb8, 0x78, 0x38, 0x47, 0xa3, 0x62,
|
||||
0x2d, 0xd0, 0xf0, 0x02, 0x91, 0x7d, 0x82, 0x4d, 0x7f, 0xea, 0xcb, 0xc9, 0x2c, 0xb1, 0x7e, 0x5f,
|
||||
0x62, 0x89, 0x5a, 0x68, 0x64, 0xe3, 0x3f, 0x1b, 0xb9, 0x3f, 0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f4, 0x40, 0x1f, 0xfd, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xe9,
|
||||
0x4b, 0xa7, 0x9f, 0x02, 0x06, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -8,6 +8,15 @@ package moc.common;
|
|||
import "moc_common_common.proto";
|
||||
import "moc_common_computecommon.proto";
|
||||
|
||||
enum OsRegistrationState {
|
||||
notRegistered = 0;
|
||||
registered = 1;
|
||||
}
|
||||
|
||||
message OsRegistrationStatus {
|
||||
OsRegistrationState status = 1;
|
||||
}
|
||||
|
||||
message Processor {
|
||||
string name = 1;
|
||||
uint32 cores = 2;
|
||||
|
@ -34,6 +43,7 @@ message OperatingSystem {
|
|||
uint64 operatingsystemsku = 1;
|
||||
OperatingSystemType ostype = 2;
|
||||
string osversion = 3;
|
||||
OsRegistrationStatus osRegistrationStatus = 4;
|
||||
}
|
||||
|
||||
message NodeInfo {
|
||||
|
@ -44,13 +54,12 @@ message NodeInfo {
|
|||
OperatingSystemType ostype = 6;
|
||||
Status status = 7;
|
||||
int64 uptime = 8;
|
||||
OperatingSystem osInfo = 9;
|
||||
}
|
||||
|
||||
message Resources {
|
||||
message Resources {
|
||||
Processor processor = 1;
|
||||
PhysicalMemory memory = 2;
|
||||
GPU gpu = 3;
|
||||
OperatingSystem osInfo = 4;
|
||||
VirtualMachineCapabilities vmCapabilities = 5;
|
||||
}
|
||||
|
||||
VirtualMachineCapabilities vmCapabilities = 4;
|
||||
}
|
Загрузка…
Ссылка в новой задаче