MCPcopy Create free account
hub / github.com/apache/cloudstack / __deployDC

Method __deployDC

tools/marvin/marvin/marvinInit.py:234–253  ·  view source on GitHub ↗

@Name : __deployDC @Desc : Deploy the DataCenter and returns accordingly. @Output: SUCCESS or FAILED

(self)

Source from the content-addressed store, hash-verified

232 return FAILED
233
234 def __deployDC(self):
235 '''
236 @Name : __deployDC
237 @Desc : Deploy the DataCenter and returns accordingly.
238 @Output: SUCCESS or FAILED
239 '''
240 try:
241 ret = SUCCESS
242 if self.__deployFlag:
243 deploy_obj = DeployDataCenters(self.__testClient,
244 self.__parsedConfig,
245 self.__tcRunLogger)
246 ret = deploy_obj.deploy()
247 if ret != SUCCESS:
248 print("==== Deploy DC Failed ====")
249 return ret
250 except Exception as e:
251 print("\n Exception Occurred Under __deployDC : %s" % \
252 GetDetailExceptionInfo(e))
253 return FAILED

Callers 1

initMethod · 0.95

Calls 3

deployMethod · 0.95
DeployDataCentersClass · 0.90
GetDetailExceptionInfoFunction · 0.90

Tested by

no test coverage detected