File tree Expand file tree Collapse file tree
header/src/main/java/org/zstack/header/host
sdk/src/main/java/org/zstack/sdk
utils/src/main/java/org/zstack/utils/clouderrorcode Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package org .zstack .header .host ;
22
3+ import org .zstack .header .log .MaskSensitiveInfo ;
34import org .zstack .header .query .APIQueryReply ;
45import org .zstack .header .rest .RestResponse ;
56
910import java .util .List ;
1011
1112@ RestResponse (allTo = "inventories" )
13+ @ MaskSensitiveInfo
1214public class APIQueryHostReply extends APIQueryReply {
1315 private List <HostInventory > inventories ;
1416
Original file line number Diff line number Diff line change 11package org .zstack .sdk ;
22
3-
3+ import org . zstack . sdk . BareMetal2DpuHostInventory ;
44
55public class BareMetal2DpuChassisInventory extends org .zstack .sdk .BareMetal2ChassisInventory {
66
7- public java .lang . String config ;
8- public void setConfig (java .lang . String config ) {
7+ public java .util . LinkedHashMap config ;
8+ public void setConfig (java .util . LinkedHashMap config ) {
99 this .config = config ;
1010 }
11- public java .lang . String getConfig () {
11+ public java .util . LinkedHashMap getConfig () {
1212 return this .config ;
1313 }
1414
15- public java . lang . String hostUuid ;
16- public void setHostUuid ( java . lang . String hostUuid ) {
17- this .hostUuid = hostUuid ;
15+ public BareMetal2DpuHostInventory dpuHost ;
16+ public void setDpuHost ( BareMetal2DpuHostInventory dpuHost ) {
17+ this .dpuHost = dpuHost ;
1818 }
19- public java . lang . String getHostUuid () {
20- return this .hostUuid ;
19+ public BareMetal2DpuHostInventory getDpuHost () {
20+ return this .dpuHost ;
2121 }
2222
2323}
Original file line number Diff line number Diff line change @@ -5490,6 +5490,8 @@ public class CloudOperationsErrorCode {
54905490
54915491 public static final String ORG_ZSTACK_BAREMETAL2_DPU_10001 = "ORG_ZSTACK_BAREMETAL2_DPU_10001";
54925492
5493+ public static final String ORG_ZSTACK_BAREMETAL2_DPU_10002 = "ORG_ZSTACK_BAREMETAL2_DPU_10002";
5494+
54935495 public static final String ORG_ZSTACK_STORAGE_PRIMARY_SHAREDBLOCK_10000 = "ORG_ZSTACK_STORAGE_PRIMARY_SHAREDBLOCK_10000";
54945496
54955497 public static final String ORG_ZSTACK_STORAGE_PRIMARY_SHAREDBLOCK_10001 = "ORG_ZSTACK_STORAGE_PRIMARY_SHAREDBLOCK_10001";
You can’t perform that action at this time.
0 commit comments