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

Method configureS3

tools/marvin/marvin/deployDataCenter.py:891–903  ·  view source on GitHub ↗
(self, s3)

Source from the content-addressed store, hash-verified

889 ["required", "isAsync"]]))
890
891 def configureS3(self, s3):
892 try:
893 if s3 is None:
894 return
895 command = addS3.addS3Cmd()
896 self.copyAttributesToCommand(s3, command)
897 ret = self.__apiClient.addS3(command)
898 if ret.id:
899 self.__tcRunLogger.debug("===AddS3 Successfull===")
900 self.__addToCleanUp("s3", ret.id)
901 except Exception as e:
902 self.__tcRunLogger.exception("====AddS3 Failed===")
903 self.__cleanAndExit()
904
905 def deploy(self):
906 try:

Callers 1

deployMethod · 0.95

Calls 4

__addToCleanUpMethod · 0.95
__cleanAndExitMethod · 0.95
debugMethod · 0.80

Tested by

no test coverage detected