(self)
Run all checks when a machine manager is initialized.
        @raise CuckooMachineError: if configuration is invalid
Run all checks when a machine manager is initialized.
Run all checks when a machine manager is initialized .
def _initialize_check(self):
        """Run all checks when a machine manager is initialized.
        @raise CuckooMachineError: if configuration is invalid
        """
        if not self.options.esx.dsn:
            raise CuckooMachineError("ESX(i) DSN is missing, please add it to the config file")
        if not self.options.esx.username:
            raise CuckooMachineError("ESX(i) username is missing, please add it to the config file")
        if not self.options.esx.password:
            raise CuckooMachineError("ESX(i) password is missing, please add it to the config file")

        self.dsn = self.options.esx.dsn
        self.global_conn = self._global_connect()
        super(ESX, self)._initialize_check()
def _initialize_check ( self ) : if not self . options . esx . dsn : raise CuckooMachineError ( "ESX(i) DSN is missing, please add it to the config file" ) if not self . options . esx . username : raise CuckooMachineError ( "ESX(i) username is missing, please add it to the config file" ) if not self . options . esx . password : raise CuckooMachineError ( "ESX(i) password is missing, please add it to the config file" ) self . dsn = self . options . esx . dsn self . global_conn = self . _global_connect ( ) super ( ESX , self ) . _initialize_check ( )