airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject git commit: Adding comments to thrift models
Date Sat, 05 Jul 2014 01:22:31 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 2e04f68d0 -> d650ddbe2


Adding comments to thrift models


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/d650ddbe
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/d650ddbe
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/d650ddbe

Branch: refs/heads/master
Commit: d650ddbe224967308c49bf7175a77b3ec6da3674
Parents: 2e04f68
Author: Suresh Marru <smarru@apache.org>
Authored: Fri Jul 4 21:22:25 2014 -0400
Committer: Suresh Marru <smarru@apache.org>
Committed: Fri Jul 4 21:22:25 2014 -0400

----------------------------------------------------------------------
 .../computeResourceModel.thrift                 |  3 ++
 .../gatewayResourceProfileModel.thrift          | 48 ++++++++++----------
 2 files changed, 26 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/d650ddbe/airavata-api/thrift-interface-descriptions/computeResourceModel.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/computeResourceModel.thrift b/airavata-api/thrift-interface-descriptions/computeResourceModel.thrift
index 154b04f..812d9ad 100644
--- a/airavata-api/thrift-interface-descriptions/computeResourceModel.thrift
+++ b/airavata-api/thrift-interface-descriptions/computeResourceModel.thrift
@@ -329,6 +329,9 @@ struct DataMovementInterface {
  * hostName:
  *   Fully Qualified Host Name.
  *
+ * hostAliases:
+ *   Aliases if any.
+ *
  * ipAddress:
  *   IP Addresses of the Resource.
  *

http://git-wip-us.apache.org/repos/asf/airavata/blob/d650ddbe/airavata-api/thrift-interface-descriptions/gatewayResourceProfileModel.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/gatewayResourceProfileModel.thrift
b/airavata-api/thrift-interface-descriptions/gatewayResourceProfileModel.thrift
index f295bbb..3eae31a 100644
--- a/airavata-api/thrift-interface-descriptions/gatewayResourceProfileModel.thrift
+++ b/airavata-api/thrift-interface-descriptions/gatewayResourceProfileModel.thrift
@@ -24,26 +24,30 @@ namespace php Airavata.Model.AppCatalog.GatewayProfile
 const string DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS"
 
 /**
- * Resource Preferences for each of the gateway
+ * Gateway specific preferences for a Computer Resource
  *
  * computeResourceId:
- *   Corelate the preference for compute resource to
+ *   Corelate the preference to a compute resource.
  *
- * gatewayName:
- *   Name of the Gateway.
+ * overridebyAiravata:
+ *   If turned true, Airavata will override the preferences of better alternatives exist.
  *
- * ipAddress:
- *   IP Addresse of the Hostname.
+ * preferredJobSubmissionProtocol:
+ *   For resources with multiple job submission protocols, the gateway can pick a preferred
option.
  *
- * resourceDescription:
- *  A user friendly description of the hostname.
+ * preferredDataMovementProtocol:
+ *   For resources with multiple data movement protocols, the gateway can pick a preferred
option.
  *
- * JobSubmissionProtocols:
- *  A computational resources may have one or more ways of submitting Jobs. This structure
- *  will hold all available mechanisms to interact with the resource.
+ * preferredBatchQueue:
+ *  Gateways can choose a defualt batch queue based on average job dimention, reservations
or other metrics.
  *
- * DataMovementProtocol:
- *  Option to specify a prefered data movement mechanism of the available options.
+ * scratchLocation:
+ *  Path to the local scratch space on a HPC cluster. Typically used to create working directory
for job execution.
+ *
+ * allocationProjectNumber:
+ *  Typically used on HPC machines to charge computing usage to a account number. For instance,
on XSEDE once an
+ *    allocation is approved, an allocation number is assigned. Before passing this number
with job submittions, the
+ *    account to be used has to be added to the allocation.
  *
 */
 struct ComputeResourcePreference {
@@ -57,26 +61,20 @@ struct ComputeResourcePreference {
 }
 
 /**
- * Gateway Profile
+ * Gateway Resource Profile
  *
  * gatewayID:
- *   Unique identifier for the gateway assigned by Airavata
+ *   Unique identifier for the gateway assigned by Airavata. Corelate this to Airavata Admin
API Gateway Registration.
  *
  * gatewayName:
  *   Name of the Gateway.
  *
- * ipAddress:
- *   IP Addresse of the Hostname.
- *
- * resourceDescription:
- *  A user friendly description of the hostname.
+ * gatewayDescription:
+ *  A user friendly description of the gateway.
  *
- * JobSubmissionProtocols:
- *  A computational resources may have one or more ways of submitting Jobs. This structure
- *  will hold all available mechanisms to interact with the resource.
+ * computeResourcePreferences:
+ *  List of resource preferences for each of the registered compute resources.
  *
- * DataMovementProtocol:
- *  Option to specify a prefered data movement mechanism of the available options.
  *
 */
 struct GatewayProfile {


Mime
View raw message