The apps.actions.admin module contains the Django administration pages for the actions app
The DeployEc2ProfileAdmin class represents the DeployEc2Profile model administration page
The DistributedScriptAdmin class represents the DistributedScript model administration page
The EmailAdmin class represents the Email model administration page
The LocalScriptAdmin class represents the LocalScript model administration page
The OSConfigurationAdmin class represents the OSConfiguration model administration page
The apps.actions.models module contains the Django models for the actions app.
Bases: django.db.models.base.Model
The Action model represents an action that can be triggered. This model is never accessed on its own, it is always extended by other models that implements the specific actions.
Action name
Maximum number of seconds
Associated Triggers
Bases: apps.actions.models.Action
The DeployEc2Node represents the configuration needed to deploy a new Amazon EC2 Node..
The ec2profile associated with the new Node.
The jvmprofiles associated with the new Node.
The sshprofile associated with the new Node.
Bases: apps.actions.models.Action
The DistributedScript model represents a Fabric script to be executed localy in the PyScaler server and has got a specific destination such as a Node or a Cluster as target.
Specifies additional parameters for Fabric’s fab utility.
Fabric’s fabfile to be executed. It is execute using Fabric’s fab utility.
Bases: apps.actions.models.Action
The Email model represents an Action that sends an email to the specified address.
Bases: apps.actions.models.Action
The LocalScript model represents a script to be executed localy in a specific destination such as a Node or a Cluster. It is usually a shell script.
Bases: apps.actions.models.Action
The OSConfiguration model represents an Operating System configuration to be provisioned in a specific destination such as a Node or a Cluster. This is implemented with Puppet configuration files.
Bases: django.db.models.base.Model
The TriggerAction model represents a group of Action that must be executed in a specific order against a specific target.
Possible target types:
Associated Action.
Target type.
Associated Trigger.
The apps.actions.tasks module contains the Celery tasks for the actions app.
The apps.actions.urls module contains the Django urls definition for the actions app.
Launches the executeViaFabricOnNode views function.
Launches the executeViaFabricOnNode views function.
Launches the executeViaFabricOutput views function.
Launches the ec2nodeDeploy views function. jvmprofiles parameter can be repeated. Repetitions are split by commas.
Launches the ec2nodeRemove views function.
Launches the ec2nodeOutput views function.
The ec2nodeOutput function returns the status and output for the Celery task used to deploy or remove an Ec2 Node in JSON format.
The executeViaFabricOutput function returns the status and output for the Celery task used to execute a DistributedScript or LocalScript in JSON format