bugged
stringlengths
4
228k
fixed
stringlengths
0
96.3M
__index_level_0__
int64
0
481k
def VerifyNodeHostname(self, node): """Verify hostname consistency via SSH.
def VerifyNodeHostname(self, node): """Verify hostname consistency via SSH.
449,900
def HooksCallBack(self, phase, hooks_results, feedback_fn, lu_result): """Analyze the post-hooks' result
def HooksCallBack(self, phase, hooks_results, feedback_fn, lu_result): """Analyze the post-hooks' result
449,901
def useLocking(self): """Check if the request specifies locking.
def useLocking(self): """Check if the request specifies locking.
449,902
def useBulk(self): """Check if the request specifies bulk querying.
def useBulk(self): """Check if the request specifies bulk querying.
449,903
def useForce(self): """Check if the request specifies a forced operation.
def useForce(self): """Check if the request specifies a forced operation.
449,904
def dryRun(self): """Check if the request specifies dry-run mode.
def dryRun(self): """Check if the request specifies dry-run mode.
449,905
def RunPhase(self, phase): """Run all the scripts for a phase.
def RunPhase(self, phase): """Run all the scripts for a phase.
449,906
def Exec(self, feedback_fn): """Dump a representation of the cluster config to the standard output.
def Exec(self, feedback_fn): """Dump a representation of the cluster config to the standard output.
449,907
def Mlockall(): """Lock current process' virtual address space into RAM. This is equivalent to the C call mlockall(MCL_CURRENT|MCL_FUTURE), see mlock(2) for more details. This function requires ctypes module. """ if ctypes is None: logging.warning("Cannot set memory lock, ctypes module not found") return libc = ctyp...
def Mlockall(): """Lock current process' virtual address space into RAM. This is equivalent to the C call mlockall(MCL_CURRENT|MCL_FUTURE), see mlock(2) for more details. This function requires ctypes module. """ if ctypes is None: logging.warning("Cannot set memory lock, ctypes module not found") return libc = ctyp...
449,908
def POST(self): """Migrate all primary instances from a node.
def POST(self): """Migrate all primary instances from a node.
449,909
def testMixedAcquireTimeout(self): sync = threading.Condition()
def testMixedAcquireTimeout(self): sync = threading.Condition()
449,910
def _AcquireShared(ev): if not self.sl.acquire(shared=1, timeout=None): return
def _AcquireShared(ev): if not self.sl.acquire(shared=1, timeout=None): return
449,911
def _AcquireShared(ev): if not self.sl.acquire(shared=1, timeout=None): return
def _AcquireShared(ev): if not self.sl.acquire(shared=1, timeout=None): return
449,912
def _AcquireExclusive(): if not self.sl.acquire(shared=0): return
def _AcquireExclusive(): if not self.sl.acquire(shared=0): return
449,913
def _AcquireExclusive(): if not self.sl.acquire(shared=0): return
def _AcquireExclusive(): if not self.sl.acquire(shared=0): return
449,914
def _AcquireSharedSimple(): if self.sl.acquire(shared=1, timeout=None): self.done.put("shared2") self.sl.release()
def _AcquireSharedSimple(): if self.sl.acquire(shared=1, timeout=None): self.done.put("shared2") self.sl.release()
449,915
def handle_datagram(self, payload, ip, port): self.client.HandleResponse(payload, ip, port)
def handle_datagram(self, payload, ip, port): self.client.HandleResponse(payload, ip, port)
449,916
def SendRequest(self, request, args=None, coverage=None, async=True): """Send a confd request to some MCs
def SendRequest(self, request, args=None, coverage=None, async=True): """Send a confd request to some MCs
449,917
def ListInstances(self): """Get the list of running instances.
def ListInstances(self): """Get the list of running instances.
449,918
def GetInstanceInfo(self, instance_name): """Get instance properties.
def GetInstanceInfo(self, instance_name): """Get instance properties.
449,919
def StartInstance(self, instance, block_devices): """Start an instance.
def StartInstance(self, instance, block_devices): """Start an instance.
449,920
def StartInstance(self, instance, block_devices): """Start an instance.
def StartInstance(self, instance, block_devices): """Start an instance.
449,921
def StopInstance(self, instance, force=False, retry=False, name=None): """Stop an instance.
def StopInstance(self, instance, force=False, retry=False, name=None): """Stop an instance.
449,922
def StopInstance(self, instance, force=False, retry=False, name=None): """Stop an instance.
def StopInstance(self, instance, force=False, retry=False, name=None): """Stop an instance.
449,923
def MigrateInstance(self, instance, target, live): """Migrate an instance.
def MigrateInstance(self, instance, target, live): """Migrate an instance.
449,924
def Exec(self, feedback_fn): """Reinstall the instance.
def Exec(self, feedback_fn): """Reinstall the instance.
449,925
def Exec(self, feedback_fn): """Reinstall the instance.
def Exec(self, feedback_fn): """Reinstall the instance.
449,926
def Exec(self, feedback_fn): """Create and add the instance to the cluster.
def Exec(self, feedback_fn): """Create and add the instance to the cluster.
449,927
def Exec(self, feedback_fn): """Create and add the instance to the cluster.
def Exec(self, feedback_fn): """Create and add the instance to the cluster.
449,928
def Exec(self, feedback_fn): """Export an instance to an image in the cluster.
def Exec(self, feedback_fn): """Export an instance to an image in the cluster.
449,929
def _InitGanetiServerSetup(master_name): """Setup the necessary configuration for the initial node daemon. This creates the nodepass file containing the shared password for the cluster and also generates the SSL certificate. """ GenerateSelfSignedSslCert(constants.SSL_CERT_FILE) # Don't overwrite existing file if no...
def_WaitForNodeDaemon(master_name) def _WaitForNodeDaemon(node_name): """Wait for node daemon to become responsive. """ _InitGanetiServerSetup(master_name):_WaitForNodeDaemon(master_name) def _WaitForNodeDaemon(node_name): """Wait for node daemon to become responsive. """ """Setup_WaitForNodeDaemon(master_name) ...
449,930
def _CheckNodeDaemon(): result = rpc.RpcRunner.call_version([master_name])[master_name] if result.fail_msg: raise utils.RetryAgain()
def _CheckNodeDaemon(): result = rpc.RpcRunner.call_version([node_name])[node_name] if result.fail_msg: raise utils.RetryAgain()
449,931
def _CheckNodeDaemon(): result = rpc.RpcRunner.call_version([master_name])[master_name] if result.fail_msg: raise utils.RetryAgain()
def _CheckNodeDaemon(): result = rpc.RpcRunner.call_version([master_name])[master_name] if result.fail_msg: raise utils.RetryAgain()
449,932
def DeclareLocks(self, level): """Declare locks for this query.
def DeclareLocks(self, lu, level): """Declare locks for this query.
449,933
def DeclareLocks(self, _): pass
def DeclareLocks(self, lu, level): pass
449,934
def testAFewIntegers(self): self.assertEquals(compat.TryToRoman(0), 0) self.assertEquals(compat.TryToRoman(1), "I") self.assertEquals(compat.TryToRoman(4), "IV") self.assertEquals(compat.TryToRoman(5), "V")
def testAFewIntegers(self): self.assertEquals(compat.TryToRoman(0), 0) self.assertEquals(compat.TryToRoman(1), "I") self.assertEquals(compat.TryToRoman(4), "IV") self.assertEquals(compat.TryToRoman(5), "V")
449,935
def __init__(self, pool, worker_id): """Constructor for BaseWorker thread.
def __init__(self, pool, worker_id): """Constructor for BaseWorker thread.
449,936
def SocketOperation(sock, op, arg1, timeout): """Wrapper around socket functions. This function abstracts error handling for socket operations, especially for the complicated interaction with OpenSSL. @type sock: socket @param sock: Socket for the operation @type op: int @param op: Operation to execute (SOCKOP_* cons...
def SocketOperation(sock, op, arg1, timeout): """Wrapper around socket functions. This function abstracts error handling for socket operations, especially for the complicated interaction with OpenSSL. @type sock: socket @param sock: Socket for the operation @type op: int @param op: Operation to execute (SOCKOP_* cons...
449,937
def _ContinueParsing(self, buf, eof): """Main function for HTTP message state machine.
def _ContinueParsing(self, buf, eof): """Main function for HTTP message state machine.
449,938
def __init__(self, hmac_key, peers, callback, port=None, logger=None): """Constructor for ConfdClient
def __init__(self, hmac_key, peers, callback, port=None, logger=None): """Constructor for ConfdClient
449,939
def ExpireRequests(self): """Delete all the expired requests.
def ExpireRequests(self): """Delete all the expired requests.
449,940
def ExpireRequests(self): """Delete all the expired requests.
def ExpireRequests(self): """Delete all the expired requests.
449,941
def ExpireRequests(self): """Delete all the expired requests.
def ExpireRequests(self): """Delete all the expired requests.
449,942
def SendRequest(self, request, args=None, coverage=None, async=True): """Send a confd request to some MCs
def SendRequest(self, request, args=None, coverage=None, async=True): """Send a confd request to some MCs
449,943
def SendRequest(self, request, args=None, coverage=None, async=True): """Send a confd request to some MCs
def SendRequest(self, request, args=None, coverage=None, async=True): """Send a confd request to some MCs
449,944
def HandleResponse(self, payload, ip, port): """Asynchronous handler for a confd reply
def HandleResponse(self, payload, ip, port): """Asynchronous handler for a confd reply
449,945
def HandleResponse(self, payload, ip, port): """Asynchronous handler for a confd reply
def HandleResponse(self, payload, ip, port): """Asynchronous handler for a confd reply
449,946
def HandleResponse(self, payload, ip, port): """Asynchronous handler for a confd reply
def HandleResponse(self, payload, ip, port): """Asynchronous handler for a confd reply
449,947
def Exec(self, feedback_fn): """Execute disk grow.
def Exec(self, feedback_fn): """Execute disk grow.
449,948
def Serialize(self): """Serializes this _QueuedOpCode.
def Serialize(self): """Serializes this _QueuedOpCode.
449,949
def Serialize(self): """Serializes this _QueuedOpCode.
def Serialize(self): """Serializes this _QueuedOpCode.
449,950
def __init__(self, queue, job_id, ops): """Constructor for the _QueuedJob.
def __init__(self, queue, job_id, ops): """Constructor for the _QueuedJob.
449,951
def Restore(cls, queue, state): """Restore a _QueuedJob from serialized state:
def Restore(cls, queue, state): """Restore a _QueuedJob from serialized state:
449,952
def GetInfo(self, fields): """Returns information about a job.
def GetInfo(self, fields): """Returns information about a job.
449,953
def NotifyStart(self): """Mark the opcode as running, not lock-waiting.
def NotifyStart(self): """Mark the opcode as running, not lock-waiting.
449,954
def ReportLocks(self, msg): """Write locking information to the job.
def ReportLocks(self, msg): """Write locking information to the job.
449,955
def RunTask(self, job): # pylint: disable-msg=W0221 """Job executor.
def RunTask(self, job): # pylint: disable-msg=W0221 """Job executor.
449,956
def RunTask(self, job): # pylint: disable-msg=W0221 """Job executor.
def RunTask(self, job): # pylint: disable-msg=W0221 """Job executor.
449,957
def RunTask(self, job): # pylint: disable-msg=W0221 """Job executor.
def RunTask(self, job): # pylint: disable-msg=W0221 """Job executor.
449,958
def CheckPrereq(self): """Check prerequisites.
def CheckPrereq(self): """Check prerequisites.
449,959
def TimeStampNow(): """Returns the current timestamp. @rtype: tuple @return: the current time in the (seconds, microseconds) format """ return utils.SplitTime(time.time())
def TimeStampNow(): """Returns the current timestamp. @rtype: tuple @return: the current time in the (seconds, microseconds) format """ return utils.SplitTime(time.time())
449,960
def __init__(self, items, queryargs, req): """Generic resource constructor.
def __init__(self, items, queryargs, req): """Generic resource constructor.
449,961
def CheckPrereq(self): """Check prerequisites.
def CheckPrereq(self): """Check prerequisites.
449,962
def GenericInstanceCreate(mode, opts, args): """Add an instance to the cluster via either creation or import. @param mode: constants.INSTANCE_CREATE or constants.INSTANCE_IMPORT @param opts: the command line options selected by the user @type args: list @param args: should contain only one element, the new instance na...
def GenericInstanceCreate(mode, opts, args): """Add an instance to the cluster via either creation or import. @param mode: constants.INSTANCE_CREATE or constants.INSTANCE_IMPORT @param opts: the command line options selected by the user @type args: list @param args: should contain only one element, the new instance na...
449,963
def _ShutdownInstanceDisks(lu, instance, disks=None, ignore_primary=False): """Shutdown block devices of an instance. This does the shutdown on all nodes of the instance. If the ignore_primary is false, errors on the primary node are ignored. """ all_result = True disks = _ExpandCheckDisks(instance, disks) for disk...
def _ShutdownInstanceDisks(lu, instance, disks=None, ignore_primary=False): """Shutdown block devices of an instance. This does the shutdown on all nodes of the instance. If the ignore_primary is false, errors on the primary node are ignored. """ all_result = True disks = _ExpandCheckDisks(instance, disks) for disk...
449,964
def Exec(self, feedback_fn): """Modifies an instance.
def Exec(self, feedback_fn): """Modifies an instance.
449,965
def SocketOperation(sock, op, arg1, timeout): """Wrapper around socket functions. This function abstracts error handling for socket operations, especially for the complicated interaction with OpenSSL. @type sock: socket @param sock: Socket for the operation @type op: int @param op: Operation to execute (SOCKOP_* cons...
def SocketOperation(sock, op, arg1, timeout): """Wrapper around socket functions. This function abstracts error handling for socket operations, especially for the complicated interaction with OpenSSL. @type sock: socket @param sock: Socket for the operation @type op: int @param op: Operation to execute (SOCKOP_* cons...
449,966
def _ContinueParsing(self, buf, eof): """Main function for HTTP message state machine.
def _ContinueParsing(self, buf, eof): """Main function for HTTP message state machine.
449,967
def FeedbackFn(ts, log_type, log_msg): # pylint: disable-msg=W0613 """Feedback logging function for http case. We don't have a stdout for printing log messages, so log them to the http log at least. @param ts: the timestamp (unused) """ logging.info("%s: %s", log_type, log_msg)
def FeedbackFn(ts, log_type, log_msg): # pylint: disable-msg=W0613 """Feedback logging function for http case. We don't have a stdout for printing log messages, so log them to the http log at least. @param ts: the timestamp (unused) """ logging.info("%s: %s", log_type, log_msg)
449,968
def FeedbackFn(ts, log_type, log_msg): # pylint: disable-msg=W0613 """Feedback logging function for http case. We don't have a stdout for printing log messages, so log them to the http log at least. @param ts: the timestamp (unused) """ logging.info("%s: %s", log_type, log_msg)
def FeedbackFn(ts, log_type, log_msg): # pylint: disable-msg=W0613 """Feedback logging function for http case. We don't have a stdout for printing log messages, so log them to the http log at least. @param msg: the message """ (_, log_type, log_msg) = msg logging.info("%s: %s", log_type, log_msg)
449,969
def _DoTests(uris): results = [] for uri, verify, method, body in uris: assert uri.startswith("/") data = _rapi_client._SendRequest(method, uri, None, body) if verify is not None: if callable(verify): verify(data) else: AssertEqual(data, verify) results.append(data) return results
def _DoTests(uris): results = [] for uri, verify, method, body in uris: assert uri.startswith("/") data = _rapi_client._SendRequest(method, uri, None, body) if verify is not None: if callable(verify): verify(data) else: AssertEqual(data, verify) results.append(data) return results
449,970
def CheckPrereq(self): """Check prerequisites.
def CheckPrereq(self): """Check prerequisites.
449,971
def CheckPrereq(self): """Check prerequisites.
def CheckPrereq(self): """Check prerequisites.
449,972
def _GetWantedNodes(lu, nodes): """Returns list of checked and expanded node names. @type lu: L{LogicalUnit} @param lu: the logical unit on whose behalf we execute @type nodes: list @param nodes: list of node names or None for all nodes @rtype: list @return: the list of nodes, sorted @raise errors.OpProgrammerError: i...
def _GetWantedNodes(lu, nodes): """Returns list of checked and expanded node names. @type lu: L{LogicalUnit} @param lu: the logical unit on whose behalf we execute @type nodes: list @param nodes: list of node names or None for all nodes @rtype: list @return: the list of nodes, sorted @raise errors.ProgrammerError: if ...
449,973
def NotifyStart(self): """Mark the opcode as running, not lock-waiting.
def NotifyStart(self): """Mark the opcode as running, not lock-waiting.
449,974
def _ReportLocks(self, level, names, shared, timeout, acquired, result): """Reports lock operations.
def _ReportLocks(self, level, names, shared, timeout, acquired, result): """Reports lock operations.
449,975
def Raise(self, msg, prereq=False, ecode=None): """If the result has failed, raise an OpExecError.
def Raise(self, msg, prereq=False, ecode=None): """If the result has failed, raise an OpExecError.
449,976
def Exec(self, feedback_fn): """Rename the cluster.
def Exec(self, feedback_fn): """Rename the cluster.
449,977
def CheckPrereq(self): """Check prerequisites.
def CheckPrereq(self): """Check prerequisites.
449,978
def RunCommonInstanceTests(instance): """Runs a few tests that are common to all disk types. """ if qa_config.TestEnabled('instance-shutdown'): RunTest(qa_instance.TestInstanceShutdown, instance) RunTest(qa_instance.TestInstanceStartup, instance) if qa_config.TestEnabled('instance-list'): RunTest(qa_instance.TestInst...
def RunCommonInstanceTests(instance): """Runs a few tests that are common to all disk types. """ if qa_config.TestEnabled('instance-shutdown'): RunTest(qa_instance.TestInstanceShutdown, instance) RunTest(qa_instance.TestInstanceStartup, instance) if qa_config.TestEnabled('instance-list'): RunTest(qa_instance.TestInst...
449,979
def HooksCallBack(self, phase, hooks_results, feedback_fn, lu_result): """Analyze the post-hooks' result
def HooksCallBack(self, phase, hooks_results, feedback_fn, lu_result): """Analyze the post-hooks' result
449,980
def Exec(self, feedback_fn): """Verify integrity of cluster, performing various test on nodes.
def Exec(self, feedback_fn): """Verify integrity of cluster, performing various test on nodes.
449,981
def CheckPrereq(self): """Check prerequisites.
def CheckPrereq(self): """Check prerequisites.
449,982
def __call__(self, timeout): """Wait for something to happen on the pipe.
def __call__(self, timeout): """Wait for something to happen on the pipe.
449,983
def __call__(self, timeout): """Wait for something to happen on the pipe.
def __call__(self, timeout): """Wait for something to happen on the pipe.
449,984
def _MarkWaitlock(job, op): """Marks an opcode as waiting for locks.
def _MarkWaitlock(job, op): """Marks an opcode as waiting for locks.
449,985
def check_bool(option, opt, value): # pylint: disable-msg=W0613 """Custom parser for yes/no options. This will store the parsed value as either True or False. """ value = value.lower() if value == constants.VALUE_FALSE or value == "no": return False elif value == constants.VALUE_TRUE or value == "yes": return True el...
def check_bool(option, opt, value): # pylint: disable-msg=W0613 """Custom parser for yes/no options. This will store the parsed value as either True or False. """ value = value.lower() if value == constants.VALUE_FALSE or value == "no": return False elif value == constants.VALUE_TRUE or value == "yes": return True el...
449,986
def _ParseArgs(argv, commands, aliases): """Parser for the command line arguments. This function parses the arguments and returns the function which must be executed together with its (modified) arguments. @param argv: the command line @param commands: dictionary with special contents, see the design doc for cmdline ...
def _ParseArgs(argv, commands, aliases): """Parser for the command line arguments. This function parses the arguments and returns the function which must be executed together with its (modified) arguments. @param argv: the command line @param commands: dictionary with special contents, see the design doc for cmdline ...
449,987
def SetGenericOpcodeOpts(opcode_list, options): """Processor for generic options. This function updates the given opcodes based on generic command line options (like debug, dry-run, etc.). @param opcode_list: list of opcodes @param options: command line options or None @return: None (in-place modification) """ if no...
def SetGenericOpcodeOpts(opcode_list, options): """Processor for generic options. This function updates the given opcodes based on generic command line options (like debug, dry-run, etc.). @param opcode_list: list of opcodes @param options: command line options or None @return: None (in-place modification) """ if no...
449,988
def _CollectDiskInfo(self, nodelist, node_image, instanceinfo): """Gets per-disk status information for all instances.
def _CollectDiskInfo(self, nodelist, node_image, instanceinfo): """Gets per-disk status information for all instances.
449,989
def FinalizeExport(instance, snap_disks): """Write out the export configuration information. @type instance: L{objects.Instance} @param instance: the instance which we export, used for saving configuration @type snap_disks: list of L{objects.Disk} @param snap_disks: list of snapshot block devices, which will be used t...
def FinalizeExport(instance, snap_disks): """Write out the export configuration information. @type instance: L{objects.Instance} @param instance: the instance which we export, used for saving configuration @type snap_disks: list of L{objects.Disk} @param snap_disks: list of snapshot block devices, which will be used t...
449,990
def VerifyNode(what, cluster_name): """Verify the status of the local node. Based on the input L{what} parameter, various checks are done on the local node. If the I{filelist} key is present, this list of files is checksummed and the file/checksum pairs are returned. If the I{nodelist} key is present, we check that ...
def VerifyNode(what, cluster_name): """Verify the status of the local node. Based on the input L{what} parameter, various checks are done on the local node. If the I{filelist} key is present, this list of files is checksummed and the file/checksum pairs are returned. If the I{nodelist} key is present, we check that ...
449,991
def _StartDaemonChild(errpipe_read, errpipe_write, pidpipe_read, pidpipe_write, args, env, cwd, output, fd_output, pidfile): """Child process for starting daemon. """ try: # Close parent's side _CloseFDNoErr(errpipe_read) _CloseFDNoErr(pidpipe_read) # First child process os.chdir("/") os.umask(077) os.setsid() # And...
def _StartDaemonChild(errpipe_read, errpipe_write, pidpipe_read, pidpipe_write, args, env, cwd, output, fd_output, pidfile): """Child process for starting daemon. """ try: # Close parent's side _CloseFDNoErr(errpipe_read) _CloseFDNoErr(pidpipe_read) # First child process SetupDaemonEnv() # And fork for the second ti...
449,992
def _StartDaemonChild(errpipe_read, errpipe_write, pidpipe_read, pidpipe_write, args, env, cwd, output, fd_output, pidfile): """Child process for starting daemon. """ try: # Close parent's side _CloseFDNoErr(errpipe_read) _CloseFDNoErr(pidpipe_read) # First child process os.chdir("/") os.umask(077) os.setsid() # And...
def _StartDaemonChild(errpipe_read, errpipe_write, pidpipe_read, pidpipe_write, args, env, cwd, output, fd_output, pidfile): """Child process for starting daemon. """ try: # Close parent's side _CloseFDNoErr(errpipe_read) _CloseFDNoErr(pidpipe_read) # First child process os.chdir("/") o...
449,993
def Daemonize(logfile): """Daemonize the current process. This detaches the current process from the controlling terminal and runs it in the background as a daemon. @type logfile: str @param logfile: the logfile to which we should redirect stdout/stderr @rtype: int @return: the value zero """ # pylint: disable-msg=W...
def Daemonize(logfile): """Daemonize the current process. This detaches the current process from the controlling terminal and runs it in the background as a daemon. @type logfile: str @param logfile: the logfile to which we should redirect stdout/stderr @rtype: int @return: the value zero """ # pylint: disable-msg=W...
449,994
def Daemonize(logfile): """Daemonize the current process. This detaches the current process from the controlling terminal and runs it in the background as a daemon. @type logfile: str @param logfile: the logfile to which we should redirect stdout/stderr @rtype: int @return: the value zero """ # pylint: disable-msg=W...
def Daemonize(logfile): """Daemonize the current process. This detaches the current process from the controlling terminal and runs it in the background as a daemon. @type logfile: str @param logfile: the logfile to which we should redirect stdout/stderr @rtype: int @return: the value zero """ # pylint: disable-msg=W...
449,995
def Daemonize(logfile): """Daemonize the current process. This detaches the current process from the controlling terminal and runs it in the background as a daemon. @type logfile: str @param logfile: the logfile to which we should redirect stdout/stderr @rtype: int @return: the value zero """ # pylint: disable-msg=W...
def Daemonize(logfile): """Daemonize the current process. This detaches the current process from the controlling terminal and runs it in the background as a daemon. @type logfile: str @param logfile: the logfile to which we should redirect stdout/stderr @rtype: int @return: the value zero """ # pylint: disable-msg=W...
449,996
def __init__(self, host, port=GANETI_RAPI_PORT, username=None, password=None, config_ssl_verification=None, ignore_proxy=False, logger=logging): """Constructor.
def __init__(self, host, port=GANETI_RAPI_PORT, username=None, password=None, config_ssl_verification=None, ignore_proxy=False, logger=logging): """Constructor.
449,997
def GetInstanceInfo(self, instance_name): """Get instance properties.
def GetInstanceInfo(self, instance_name): """Get instance properties.
449,998
def StartInstance(self, instance, block_devices): """Start an instance.
def StartInstance(self, instance, block_devices): """Start an instance.
449,999