@@ -962,8 +962,8 @@ abstract class ApiHelper {
962962 }
963963
964964
965- def addBareMetal2Gateway (@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.AddBareMetal2GatewayAction .class) Closure c) {
966- def a = new org.zstack.sdk.AddBareMetal2GatewayAction ()
965+ def addBareMetal2DpuChassis (@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.AddBareMetal2DpuChassisAction .class) Closure c) {
966+ def a = new org.zstack.sdk.AddBareMetal2DpuChassisAction ()
967967 a.sessionId = Test.currentEnvSpec?.session?.uuid
968968 c.resolveStrategy = Closure.OWNER_FIRST
969969 c.delegate = a
@@ -989,8 +989,8 @@ abstract class ApiHelper {
989989 }
990990
991991
992- def addBareMetal2IpmiChassis (@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.AddBareMetal2IpmiChassisAction .class) Closure c) {
993- def a = new org.zstack.sdk.AddBareMetal2IpmiChassisAction ()
992+ def addBareMetal2Gateway (@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.AddBareMetal2GatewayAction .class) Closure c) {
993+ def a = new org.zstack.sdk.AddBareMetal2GatewayAction ()
994994 a.sessionId = Test.currentEnvSpec?.session?.uuid
995995 c.resolveStrategy = Closure.OWNER_FIRST
996996 c.delegate = a
@@ -1016,26 +1016,26 @@ abstract class ApiHelper {
10161016 }
10171017
10181018
1019- def addBareMetal2DpuChassis (@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.AddBareMetal2DpuChassisAction .class) Closure c) {
1020- def a = new org.zstack.sdk.AddBareMetal2DpuChassisAction ()
1019+ def addBareMetal2IpmiChassis (@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.AddBareMetal2IpmiChassisAction .class) Closure c) {
1020+ def a = new org.zstack.sdk.AddBareMetal2IpmiChassisAction ()
10211021 a.sessionId = Test.currentEnvSpec?.session?.uuid
10221022 c.resolveStrategy = Closure.OWNER_FIRST
10231023 c.delegate = a
10241024 c()
1025-
1025+
10261026
10271027 if (System.getProperty("apipath") != null) {
10281028 if (a.apiId == null) {
10291029 a.apiId = Platform.uuid
10301030 }
1031-
1031+
10321032 def tracker = new ApiPathTracker(a.apiId)
10331033 def out = errorOut(a.call())
10341034 def path = tracker.getApiPath()
10351035 if (!path.isEmpty()) {
10361036 Test.apiPaths[a.class.name] = path.join(" --->\n")
10371037 }
1038-
1038+
10391039 return out
10401040 } else {
10411041 return errorOut(a.call())
@@ -47342,6 +47342,33 @@ abstract class ApiHelper {
4734247342 }
4734347343
4734447344
47345+ def updateVmInstancePciDeviceSpecRef(@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.UpdateVmInstancePciDeviceSpecRefAction.class) Closure c) {
47346+ def a = new org.zstack.sdk.UpdateVmInstancePciDeviceSpecRefAction()
47347+ a.sessionId = Test.currentEnvSpec?.session?.uuid
47348+ c.resolveStrategy = Closure.OWNER_FIRST
47349+ c.delegate = a
47350+ c()
47351+
47352+
47353+ if (System.getProperty("apipath") != null) {
47354+ if (a.apiId == null) {
47355+ a.apiId = Platform.uuid
47356+ }
47357+
47358+ def tracker = new ApiPathTracker(a.apiId)
47359+ def out = errorOut(a.call())
47360+ def path = tracker.getApiPath()
47361+ if (!path.isEmpty()) {
47362+ Test.apiPaths[a.class.name] = path.join(" --->\n")
47363+ }
47364+
47365+ return out
47366+ } else {
47367+ return errorOut(a.call())
47368+ }
47369+ }
47370+
47371+
4734547372 def updateVmNetworkConfig(@DelegatesTo(strategy = Closure.OWNER_FIRST, value = org.zstack.sdk.UpdateVmNetworkConfigAction.class) Closure c) {
4734647373 def a = new org.zstack.sdk.UpdateVmNetworkConfigAction()
4734747374 a.sessionId = Test.currentEnvSpec?.session?.uuid
0 commit comments