fix:增加VmInfoList
Former-commit-id: 660eae566cdca33bd3dffb626793617f13373923
This commit is contained in:
parent
4de9d1f14b
commit
529ebbbd1f
|
@ -38,6 +38,7 @@ type (
|
|||
SyncInfoResp = pcmCore.SyncInfoResp
|
||||
TenantInfo = pcmCore.TenantInfo
|
||||
TenantResp = pcmCore.TenantResp
|
||||
VmInfo = pcmCore.VmInfo
|
||||
|
||||
ParticipantService interface {
|
||||
// registerParticipant Participant注册接口
|
||||
|
|
|
@ -38,6 +38,7 @@ type (
|
|||
SyncInfoResp = pcmCore.SyncInfoResp
|
||||
TenantInfo = pcmCore.TenantInfo
|
||||
TenantResp = pcmCore.TenantResp
|
||||
VmInfo = pcmCore.VmInfo
|
||||
|
||||
PcmCore interface {
|
||||
// SyncInfo Synchronous data information
|
||||
|
|
|
@ -8,6 +8,7 @@ message SyncInfoReq {
|
|||
repeated HpcInfo HpcInfoList = 2;
|
||||
repeated CloudInfo CloudInfoList = 3;
|
||||
repeated AiInfo AiInfoList = 4;
|
||||
repeated VmInfo VmInfoList = 5;
|
||||
}
|
||||
|
||||
message AiInfo {
|
||||
|
@ -42,6 +43,19 @@ message CloudInfo {
|
|||
string yamlString = 11;
|
||||
}
|
||||
|
||||
message VmInfo {
|
||||
int64 participantId = 1;
|
||||
int64 taskId = 2;
|
||||
string name = 3;
|
||||
string flavor_ref =4;
|
||||
string image_ref =5;
|
||||
string network_uuid=6;
|
||||
string block_uuid=7;
|
||||
string source_type=8;
|
||||
bool delete_on_termination=9;
|
||||
string state = 10;
|
||||
}
|
||||
|
||||
message HpcInfo {
|
||||
int64 participantId = 1;
|
||||
int64 taskId = 2;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue