fix:增加VmInfoList

Former-commit-id: 660eae566cdca33bd3dffb626793617f13373923
This commit is contained in:
qiwang 2023-11-14 17:59:49 +08:00
parent 4de9d1f14b
commit 529ebbbd1f
4 changed files with 695 additions and 524 deletions

View File

@ -38,6 +38,7 @@ type (
SyncInfoResp = pcmCore.SyncInfoResp
TenantInfo = pcmCore.TenantInfo
TenantResp = pcmCore.TenantResp
VmInfo = pcmCore.VmInfo
ParticipantService interface {
// registerParticipant Participant注册接口

View File

@ -38,6 +38,7 @@ type (
SyncInfoResp = pcmCore.SyncInfoResp
TenantInfo = pcmCore.TenantInfo
TenantResp = pcmCore.TenantResp
VmInfo = pcmCore.VmInfo
PcmCore interface {
// SyncInfo Synchronous data information

View File

@ -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