[42/51] [abbrv] [partial] airavata git commit: AIRAVATA-2505 Upgrade Airavata to Thrift 0.10.0
http://git-wip-us.apache.org/repos/asf/airavata/blob/8e775660/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py -- diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py index 9d9aa0d..cb5e083 100644 --- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py +++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py @@ -1,1784 +1,1687 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys import apache.airavata.model.commons.ttypes import apache.airavata.model.appcatalog.parallelism.ttypes import apache.airavata.model.data.movement.ttypes - from thrift.transport import TTransport -from thrift.protocol import TBinaryProtocol, TProtocol -try: - from thrift.protocol import fastbinary -except: - fastbinary = None - - -class ResourceJobManagerType: - """ - * Enumeration of local resource job manager types supported by Airavata - * - * FORK: - * Forking of commands without any job manager - * - * PBS: - * Job manager supporting the Portal Batch System (PBS) protocol. Some examples include TORQUE, PBSPro, Grid Engine. - * - * SLURM: - * The Simple Linux Utility for Resource Management is a open source workload manager. - * - * UGE: - * Univa Grid Engine, a variation of PBS implementation. - * - * LSF: - * IBM Platform Load Sharing Facility is dominantly installed on IBM clusters. - * - """ - FORK = 0 - PBS = 1 - SLURM = 2 - LSF = 3 - UGE = 4 - CLOUD = 5 - AIRAVATA_CUSTOM = 6 - - _VALUES_TO_NAMES = { -0: "FORK", -1: "PBS", -2: "SLURM", -3: "LSF", -4: "UGE", -5: "CLOUD", -6: "AIRAVATA_CUSTOM", - } - - _NAMES_TO_VALUES = { -"FORK": 0, -"PBS": 1, -"SLURM": 2, -"LSF": 3, -"UGE": 4, -"CLOUD": 5, -"AIRAVATA_CUSTOM": 6, - } - -class JobManagerCommand: - """ - Enumeration of resource job manager commands - - SUBMISSION: - Ex: qsub, sbatch - - JOBMONITORING: - Ex: qstat, squeue - - DELETION: - Ex: qdel, scancel - - CHECK_JOB: - Detailed Status about the Job. Ex: checkjob - - SHOW_QUEUE: - List of Queued Job by the schedular. Ex: showq - - SHOW_RESERVATION: - List all reservations. Ex:showres, show_res - - SHOW_START: - Display the start time of the specified job. Ex: showstart - - """ - SUBMISSION = 0 - JOB_MONITORING = 1 - DELETION = 2 - CHECK_JOB = 3 - SHOW_QUEUE = 4 - SHOW_RESERVATION = 5 - SHOW_START = 6 - - _VALUES_TO_NAMES = { -0: "SUBMISSION", -1: "JOB_MONITORING", -2: "DELETION", -3: "CHECK_JOB", -4: "SHOW_QUEUE", -5: "SHOW_RESERVATION", -6: "SHOW_START", - } - - _NAMES_TO_VALUES = { -"SUBMISSION": 0, -"JOB_MONITORING": 1, -"DELETION": 2, -"CHECK_JOB": 3, -"SHOW_QUEUE": 4, -"SHOW_RESERVATION": 5, -"SHOW_START": 6, - } - -class FileSystems: - """ - Enumeration of File Systems on the resource - - FORK: - Forking of commands without any job manager - - PBS: - Job manager supporting the Portal Batch System (PBS) protocol. Some examples include TORQUE, PBSPro, Grid Engine. - - UGE: - Univa Grid Engine, a variation of PBS implementation. - - SLURM: - The Simple Linux Utility for Resource Management is a open source workload manager. - - """ - HOME = 0 - WORK = 1 - LOCALTMP = 2 - SCRATCH = 3 - ARCHIVE = 4 - - _VALUES_TO_NAMES = { -0: "HOME", -1: "WORK", -2: "LOCALTMP", -3: "SCRATCH", -4: "ARCHIVE", - } - - _NAMES_TO_VALUES = { -"HOME": 0, -"WORK": 1, -"LOCALTMP": 2, -"SCRATCH": 3, -"ARCHIVE": 4, - } - -class JobSubmissionProtocol: - """ - Enumeration of Airavata supported Job Submission Mechanisms for High Performance Computing Clusters. - - SSH: - Execute remote job submission commands using via secure shell protocol. - - GRAM: - Execute remote jobs via Globus GRAM service. - - UNICORE: - Execute remote jobs via Unicore services - - """ - LOCAL = 0 - SSH = 1 - GLOBUS = 2 - UNICORE = 3 - CLOUD = 4 - SSH_FORK = 5 - LOCAL_FORK = 6 - - _VALUES_TO_NAMES = { -0: "LOCAL", -1: "SSH", -2: "GLOBUS", -3:
[42/51] [abbrv] [partial] airavata git commit: AIRAVATA-2505 Upgrade Airavata to Thrift 0.10.0
http://git-wip-us.apache.org/repos/asf/airavata/blob/39fba1f5/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py -- diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py index 9d9aa0d..cb5e083 100644 --- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py +++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py @@ -1,1784 +1,1687 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys import apache.airavata.model.commons.ttypes import apache.airavata.model.appcatalog.parallelism.ttypes import apache.airavata.model.data.movement.ttypes - from thrift.transport import TTransport -from thrift.protocol import TBinaryProtocol, TProtocol -try: - from thrift.protocol import fastbinary -except: - fastbinary = None - - -class ResourceJobManagerType: - """ - * Enumeration of local resource job manager types supported by Airavata - * - * FORK: - * Forking of commands without any job manager - * - * PBS: - * Job manager supporting the Portal Batch System (PBS) protocol. Some examples include TORQUE, PBSPro, Grid Engine. - * - * SLURM: - * The Simple Linux Utility for Resource Management is a open source workload manager. - * - * UGE: - * Univa Grid Engine, a variation of PBS implementation. - * - * LSF: - * IBM Platform Load Sharing Facility is dominantly installed on IBM clusters. - * - """ - FORK = 0 - PBS = 1 - SLURM = 2 - LSF = 3 - UGE = 4 - CLOUD = 5 - AIRAVATA_CUSTOM = 6 - - _VALUES_TO_NAMES = { -0: "FORK", -1: "PBS", -2: "SLURM", -3: "LSF", -4: "UGE", -5: "CLOUD", -6: "AIRAVATA_CUSTOM", - } - - _NAMES_TO_VALUES = { -"FORK": 0, -"PBS": 1, -"SLURM": 2, -"LSF": 3, -"UGE": 4, -"CLOUD": 5, -"AIRAVATA_CUSTOM": 6, - } - -class JobManagerCommand: - """ - Enumeration of resource job manager commands - - SUBMISSION: - Ex: qsub, sbatch - - JOBMONITORING: - Ex: qstat, squeue - - DELETION: - Ex: qdel, scancel - - CHECK_JOB: - Detailed Status about the Job. Ex: checkjob - - SHOW_QUEUE: - List of Queued Job by the schedular. Ex: showq - - SHOW_RESERVATION: - List all reservations. Ex:showres, show_res - - SHOW_START: - Display the start time of the specified job. Ex: showstart - - """ - SUBMISSION = 0 - JOB_MONITORING = 1 - DELETION = 2 - CHECK_JOB = 3 - SHOW_QUEUE = 4 - SHOW_RESERVATION = 5 - SHOW_START = 6 - - _VALUES_TO_NAMES = { -0: "SUBMISSION", -1: "JOB_MONITORING", -2: "DELETION", -3: "CHECK_JOB", -4: "SHOW_QUEUE", -5: "SHOW_RESERVATION", -6: "SHOW_START", - } - - _NAMES_TO_VALUES = { -"SUBMISSION": 0, -"JOB_MONITORING": 1, -"DELETION": 2, -"CHECK_JOB": 3, -"SHOW_QUEUE": 4, -"SHOW_RESERVATION": 5, -"SHOW_START": 6, - } - -class FileSystems: - """ - Enumeration of File Systems on the resource - - FORK: - Forking of commands without any job manager - - PBS: - Job manager supporting the Portal Batch System (PBS) protocol. Some examples include TORQUE, PBSPro, Grid Engine. - - UGE: - Univa Grid Engine, a variation of PBS implementation. - - SLURM: - The Simple Linux Utility for Resource Management is a open source workload manager. - - """ - HOME = 0 - WORK = 1 - LOCALTMP = 2 - SCRATCH = 3 - ARCHIVE = 4 - - _VALUES_TO_NAMES = { -0: "HOME", -1: "WORK", -2: "LOCALTMP", -3: "SCRATCH", -4: "ARCHIVE", - } - - _NAMES_TO_VALUES = { -"HOME": 0, -"WORK": 1, -"LOCALTMP": 2, -"SCRATCH": 3, -"ARCHIVE": 4, - } - -class JobSubmissionProtocol: - """ - Enumeration of Airavata supported Job Submission Mechanisms for High Performance Computing Clusters. - - SSH: - Execute remote job submission commands using via secure shell protocol. - - GRAM: - Execute remote jobs via Globus GRAM service. - - UNICORE: - Execute remote jobs via Unicore services - - """ - LOCAL = 0 - SSH = 1 - GLOBUS = 2 - UNICORE = 3 - CLOUD = 4 - SSH_FORK = 5 - LOCAL_FORK = 6 - - _VALUES_TO_NAMES = { -0: "LOCAL", -1: "SSH", -2: "GLOBUS", -3:
[42/51] [abbrv] [partial] airavata git commit: AIRAVATA-2505 Upgrade Airavata to Thrift 0.10.0
http://git-wip-us.apache.org/repos/asf/airavata/blob/14ff0916/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py -- diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py index 9d9aa0d..cb5e083 100644 --- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py +++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py @@ -1,1784 +1,1687 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys import apache.airavata.model.commons.ttypes import apache.airavata.model.appcatalog.parallelism.ttypes import apache.airavata.model.data.movement.ttypes - from thrift.transport import TTransport -from thrift.protocol import TBinaryProtocol, TProtocol -try: - from thrift.protocol import fastbinary -except: - fastbinary = None - - -class ResourceJobManagerType: - """ - * Enumeration of local resource job manager types supported by Airavata - * - * FORK: - * Forking of commands without any job manager - * - * PBS: - * Job manager supporting the Portal Batch System (PBS) protocol. Some examples include TORQUE, PBSPro, Grid Engine. - * - * SLURM: - * The Simple Linux Utility for Resource Management is a open source workload manager. - * - * UGE: - * Univa Grid Engine, a variation of PBS implementation. - * - * LSF: - * IBM Platform Load Sharing Facility is dominantly installed on IBM clusters. - * - """ - FORK = 0 - PBS = 1 - SLURM = 2 - LSF = 3 - UGE = 4 - CLOUD = 5 - AIRAVATA_CUSTOM = 6 - - _VALUES_TO_NAMES = { -0: "FORK", -1: "PBS", -2: "SLURM", -3: "LSF", -4: "UGE", -5: "CLOUD", -6: "AIRAVATA_CUSTOM", - } - - _NAMES_TO_VALUES = { -"FORK": 0, -"PBS": 1, -"SLURM": 2, -"LSF": 3, -"UGE": 4, -"CLOUD": 5, -"AIRAVATA_CUSTOM": 6, - } - -class JobManagerCommand: - """ - Enumeration of resource job manager commands - - SUBMISSION: - Ex: qsub, sbatch - - JOBMONITORING: - Ex: qstat, squeue - - DELETION: - Ex: qdel, scancel - - CHECK_JOB: - Detailed Status about the Job. Ex: checkjob - - SHOW_QUEUE: - List of Queued Job by the schedular. Ex: showq - - SHOW_RESERVATION: - List all reservations. Ex:showres, show_res - - SHOW_START: - Display the start time of the specified job. Ex: showstart - - """ - SUBMISSION = 0 - JOB_MONITORING = 1 - DELETION = 2 - CHECK_JOB = 3 - SHOW_QUEUE = 4 - SHOW_RESERVATION = 5 - SHOW_START = 6 - - _VALUES_TO_NAMES = { -0: "SUBMISSION", -1: "JOB_MONITORING", -2: "DELETION", -3: "CHECK_JOB", -4: "SHOW_QUEUE", -5: "SHOW_RESERVATION", -6: "SHOW_START", - } - - _NAMES_TO_VALUES = { -"SUBMISSION": 0, -"JOB_MONITORING": 1, -"DELETION": 2, -"CHECK_JOB": 3, -"SHOW_QUEUE": 4, -"SHOW_RESERVATION": 5, -"SHOW_START": 6, - } - -class FileSystems: - """ - Enumeration of File Systems on the resource - - FORK: - Forking of commands without any job manager - - PBS: - Job manager supporting the Portal Batch System (PBS) protocol. Some examples include TORQUE, PBSPro, Grid Engine. - - UGE: - Univa Grid Engine, a variation of PBS implementation. - - SLURM: - The Simple Linux Utility for Resource Management is a open source workload manager. - - """ - HOME = 0 - WORK = 1 - LOCALTMP = 2 - SCRATCH = 3 - ARCHIVE = 4 - - _VALUES_TO_NAMES = { -0: "HOME", -1: "WORK", -2: "LOCALTMP", -3: "SCRATCH", -4: "ARCHIVE", - } - - _NAMES_TO_VALUES = { -"HOME": 0, -"WORK": 1, -"LOCALTMP": 2, -"SCRATCH": 3, -"ARCHIVE": 4, - } - -class JobSubmissionProtocol: - """ - Enumeration of Airavata supported Job Submission Mechanisms for High Performance Computing Clusters. - - SSH: - Execute remote job submission commands using via secure shell protocol. - - GRAM: - Execute remote jobs via Globus GRAM service. - - UNICORE: - Execute remote jobs via Unicore services - - """ - LOCAL = 0 - SSH = 1 - GLOBUS = 2 - UNICORE = 3 - CLOUD = 4 - SSH_FORK = 5 - LOCAL_FORK = 6 - - _VALUES_TO_NAMES = { -0: "LOCAL", -1: "SSH", -2: "GLOBUS", -3: