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 SyncInfoResp = pcmCore.SyncInfoResp
TenantInfo = pcmCore.TenantInfo TenantInfo = pcmCore.TenantInfo
TenantResp = pcmCore.TenantResp TenantResp = pcmCore.TenantResp
VmInfo = pcmCore.VmInfo
ParticipantService interface { ParticipantService interface {
// registerParticipant Participant注册接口 // registerParticipant Participant注册接口

View File

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

View File

@ -8,6 +8,7 @@ message SyncInfoReq {
repeated HpcInfo HpcInfoList = 2; repeated HpcInfo HpcInfoList = 2;
repeated CloudInfo CloudInfoList = 3; repeated CloudInfo CloudInfoList = 3;
repeated AiInfo AiInfoList = 4; repeated AiInfo AiInfoList = 4;
repeated VmInfo VmInfoList = 5;
} }
message AiInfo { message AiInfo {
@ -42,6 +43,19 @@ message CloudInfo {
string yamlString = 11; 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 { message HpcInfo {
int64 participantId = 1; int64 participantId = 1;
int64 taskId = 2; int64 taskId = 2;

File diff suppressed because it is too large Load Diff