@Name : __deployDC @Desc : Deploy the DataCenter and returns accordingly. @Output: SUCCESS or FAILED
(self)
| 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 |
no test coverage detected