3. POLICIES
• Policy Manager provides different policies to get VM
automation in the cloud.
• It could be uses to get notification about different facts
and actions.
• Those facts and actions are executed when certain
conditions are taking place.
4. EXAMPLE POLICIES
• Data resources collected from the virtual machines.
• CPU, Memory, Hard Disk and network usage.
• User could define some conditions and actions to be
performed.
• This allows infinite possibilities:
• load balancing policies moving VMs to nodes with less utilization,
• increase resources or nodes number
• availability policies (restart VM) when it crashes.
• generate this VM in different nodes, etc.
5. FEATURES
Policy Manager implements a REST API to manage rules.
User could write his own rules.
Rules are written in a simple human language: JSON.
User can implement his own actions from a notification.
10. POLICY API
AUTHENTICATION
Each request requires credentials and require a header
containing a valid Token from OpenStack keystone.
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
11. POLICY API OPERATIONS
• General Operations.
• Get the information of the API.
• Update the window size.
• Elasticity rules.
• Create a new elasticity rule.
• Update an elasticity rule.
• Delete an elasticity rule. Get an elasticity
rule.
• Servers. Get the list of all servers'
rules.
• Get the list of all rules of a server.
• Update the context of a server.
• Subscription to rules.
• Create a new subscription.
• Delete a subscription.
• Get a subscription.