lib/app42/base/help.rb in app42-0.6.3 vs lib/app42/base/help.rb in app42-0.6.4
- old
+ new
@@ -43,10 +43,12 @@
appState # Show current state of the application
logs # Returns the log file URL(s) for the application
addCustomURL # Add a custom URL to an app
removeCustomURL # Remove a custom URL from an app
customURLInfo # List all custom URL(s) of an app
+ assignStaticIP # Assign Static IP to App belonging to GPaaS
+ releaseStaticIP # Release Static IP from App belonging to GPaaS
Services
createService # Creates a new service e.g. MySQL, MongoDB, CouchDB, PostgreSQL, Redis etc.
deleteService # Delete provisioned service
startService # Start the service
@@ -92,10 +94,11 @@
restartGPaaS # Restart the GPaaS setup
upgradeGPaas # Upgrade GPaaS by choosing required configuration
downgradeGPaas # Downgrade GPaaS by choosing required configuration
gPaaSInfo # Show GPaaS setup information
gPaaSSetups # List all the GPaaS setups
+ upgradeGPaaSDashboard # Upgrade the GPaaS Setup Dashoard
Help
version # Show Ruby client gem version
help # List available commands and their description
COMMAND --help # Display detailed help of a specific command
@@ -569,10 +572,49 @@
| demo | 2014-01-27 06:35:55.0 | http://test.naveengoswami.com |
+----------+-----------------------+-------------------------------+
DESC
end
+ def assignstaticip
+ print <<-DESC
+Usage:
+ app42 assignStaticIP
+
+ Assign Static IP to App belonging to GPaaS
+
+Example:
+ $app42 assignStaticIP
+ Enter App Name: demo
+
+ Assigning Static IP to App demoGPaaS... OK
+
+ Operation is in progress, Please wait...|
+ Static IP assigned successfully.
+ DESC
+ end
+
+ def releasestaticip
+ print <<-DESC
+Usage:
+ app42 releaseStaticIP
+
+ Release Static IP from App belonging to GPaaS
+
+Example:
+ $app42 releaseStaticIP
+ Enter App Name: demo
+
+ Releasing Static IP from App demogpaas... OK
+
+ Operation is in progress, Please wait...|
+ Static IP released successfully.
+
+ DESC
+ end
+
+
+
def createservice
print <<-DESC
Usage:
app42 createService
@@ -1325,10 +1367,12 @@
3: m1.medium
4: m1.large
5: m1.xlarge
Select Instance Configuration [t1.micro]:
+ Do you want to add Static IP? [Yn]:
+
Setting up the GPaaS infrastructure... OK
Operation is in progress, Please wait...|
GPaaS Setup has been completed successfully.
@@ -1489,9 +1533,28 @@
| Created On | App Url | Setup Name | Iaas Provider | Setup Type | Email | Vm Type | Setup Flavour | Setup Status |
+-----------------------+-------------------------------------------+------------+----------------------------+------------+--------------------------+-----------+---------------+--------------+
| 2014-02-06 13:49:07.0 | ec2-54-221-96-246.compute-1.amazonaws.com | demo | Amazon (Northern Virginia) | GPaaS | pravinmishra88@gmail.com | Dedicated | t1.micro | RUNNING |
+-----------------------+-------------------------------------------+------------+----------------------------+------------+--------------------------+-----------+---------------+--------------+
+ DESC
+ end
+
+ def upgradegpaasdashboard
+ print <<-DESC
+Usage:
+ app42 upgradeGPaaSDashboard
+
+ Upgrade the GPaaS Setup Dashoard
+
+Example:
+ $app42 app42 upgradeGPaaSDashboard
+
+ Enter Setup Name: demo
+
+ Upgrading GPaaS Setup... OK
+
+ Operation is in progress, Please wait...
+ GPaaS Setup Dashboard has been updated successfully.
DESC
end
def supportedservices
print <<-DESC