SlideShare a Scribd company logo
1 of 18
Policy Manager: Managing facts, rules and actions
Guillermo Jiménez, Fernando López
IMDEA // TID
Cloud Chapter. FICORE
Guillermo.jimenezprieto@imdea.org, @geon_exus
fernando.lopezaguilar@telefonica.com, @flopezaguilar
TECHNOLOGIES
Python
Django
Pyclips framework
Clips
Redis
RabbitMQ
MySQL
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.
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.
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.
Api-Agent
Rules Engine
CLIENT
Fiware-cloto
Fiware-cloto
Nova, Murano, etc
OpenStack ServicesUser Server
Actions
Api-Agent
Rules Engine
Fact-Gen
(defRule)
store(Conditions and actions)
(actions)
get(Conditions, actions)
(Facts)
(AverageFacts)
suscribe(URL, serverId)
PUT ContextData(CPU, RAM, HDD, Network?)
External
Service
START
POST(conditions, actions, serverId)
Fiware-Facts
Redis
store(AverageFacts)
Fiware-cloto
POST(subscriptions)
RabbitMQ
EnvironmentManager
get(AverageFacts)
Environments *
(actions)
eval(AverageFacts,
Conditions, actions)
(conditions, actions)
(actions)
Context
Broker
POLICY MANAGER RULES
Definition of a rule:
{
"action": {
"actionName": "notify-scale",
"operation": "scaleUp"
},
"name": "AlertCPU",
"condition": {
"cpu": {
"value": 98.3,
"operand": "greater"
},
"mem": {
"value": 95,
"operand": "greater equal"
},
"hdd": {
"value": 95,
"operand": "greater equal"
},
"net": {
"value": 95,
"operand": "greater equal"
}
}
}
POLICY API INFORMATION
REST API
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
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.
Kind of actions
notify-scale
• scaleUp
• scaleDown
notify-email
"action": {
"actionName": "notify-scale",
"operation": "scaleUp"
},
"action": {
"actionName": "notify-scale",
"operation": "scaleDown"
},
"action": {
"actionName": "notify-email",
"email": “name@host.com”,
"body": “Example description”
},
POLICY MANAGER RULES
More possible actions:
• Check VM alive
• Restart VM
• Move to another node
• Stop VM
• All actions you can implement.
POLICY MANAGER RULES
Kind of operands about server
measures (cpu, mem, hdd and disk):
• greater
• greater equal
• less
• less equal
"condition": {
"cpu": {
"value": 98.3,
"operand": "greater"
},
"mem": {
"value": 95,
"operand": "greater equal"
},
"hdd": {
"value": 95,
"operand": "greater equal"
},
"net": {
"value": 95,
"operand": "greater equal"
}
}
POLICY MANAGER RULES
DEMO
N
-
• Policy Manager:https://forge.fi-
ware.org/plugins/mediawiki/wiki/fiware/index.php/Policy_Manager_Op
en_RESTful_API_Specification
• Pyclips Webpage: http://pyclips.sourceforge.net
• Django project: https://www.djangoproject.com
• Redis: http://redis.io
• RabbitMQ: http://www.rabbitmq.com
• MySQL: http://mysql.com
REFERENCES
17
http://fiware.org
http://lab.fiware.org
Follow @Fiware on Twitter !
Join us!

More Related Content

What's hot

OpenStack Heat slides
OpenStack Heat slidesOpenStack Heat slides
OpenStack Heat slides
dbelova
 
Monitoring docker, k8s and your applications with the elastic stack
Monitoring docker, k8s and your applications with the elastic stackMonitoring docker, k8s and your applications with the elastic stack
Monitoring docker, k8s and your applications with the elastic stack
SmartWave
 

What's hot (17)

OpenStack Heat slides
OpenStack Heat slidesOpenStack Heat slides
OpenStack Heat slides
 
Securing your AWS Deployments with Spinnaker and Armory Enterprise
Securing your AWS Deployments with Spinnaker and Armory EnterpriseSecuring your AWS Deployments with Spinnaker and Armory Enterprise
Securing your AWS Deployments with Spinnaker and Armory Enterprise
 
Artem Zhurbila 4 aws - s3, glacier, cloud front, rds
Artem Zhurbila 4 aws - s3, glacier, cloud front, rdsArtem Zhurbila 4 aws - s3, glacier, cloud front, rds
Artem Zhurbila 4 aws - s3, glacier, cloud front, rds
 
Ford's AWS Service Update - March 2020 (Richmond AWS User Group)
Ford's AWS Service Update - March 2020 (Richmond AWS User Group)Ford's AWS Service Update - March 2020 (Richmond AWS User Group)
Ford's AWS Service Update - March 2020 (Richmond AWS User Group)
 
An Introduction to OpenStack Heat
An Introduction to OpenStack HeatAn Introduction to OpenStack Heat
An Introduction to OpenStack Heat
 
Cloudwatch: Monitoring your Services with Metrics and Alarms
Cloudwatch: Monitoring your Services with Metrics and AlarmsCloudwatch: Monitoring your Services with Metrics and Alarms
Cloudwatch: Monitoring your Services with Metrics and Alarms
 
Surge openstack
Surge openstackSurge openstack
Surge openstack
 
OpenStack Ceilometer
OpenStack CeilometerOpenStack Ceilometer
OpenStack Ceilometer
 
Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015
 
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Leonard Austin (Ravelin) - DevOps in a Machine Learning WorldLeonard Austin (Ravelin) - DevOps in a Machine Learning World
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
 
Session 03 data_migration_at_scale_by_sameer
Session 03 data_migration_at_scale_by_sameerSession 03 data_migration_at_scale_by_sameer
Session 03 data_migration_at_scale_by_sameer
 
OpenStack Orchestration with Heat
OpenStack Orchestration with HeatOpenStack Orchestration with Heat
OpenStack Orchestration with Heat
 
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
 
Apache JClouds
Apache JCloudsApache JClouds
Apache JClouds
 
Application Centric Approach to Devops
Application Centric Approach to DevopsApplication Centric Approach to Devops
Application Centric Approach to Devops
 
Monitoring docker, k8s and your applications with the elastic stack
Monitoring docker, k8s and your applications with the elastic stackMonitoring docker, k8s and your applications with the elastic stack
Monitoring docker, k8s and your applications with the elastic stack
 
MongoDB World 2018: Solving Your Backup Needs Using MongoDB Ops Manager, Clou...
MongoDB World 2018: Solving Your Backup Needs Using MongoDB Ops Manager, Clou...MongoDB World 2018: Solving Your Backup Needs Using MongoDB Ops Manager, Clou...
MongoDB World 2018: Solving Your Backup Needs Using MongoDB Ops Manager, Clou...
 

Viewers also liked

журнал семья и школа
журнал семья и школажурнал семья и школа
журнал семья и школа
DrofaUral
 
Rwd presentation
Rwd presentationRwd presentation
Rwd presentation
Sean Royer
 
Musica viva
Musica vivaMusica viva
Musica viva
GEEOB
 

Viewers also liked (18)

журнал семья и школа
журнал семья и школажурнал семья и школа
журнал семья и школа
 
Rwd presentation
Rwd presentationRwd presentation
Rwd presentation
 
Google ad words for mobile
Google ad words for mobileGoogle ad words for mobile
Google ad words for mobile
 
Closer Than You Think: Librarian Perceptions vs. User Needs
Closer Than You Think: Librarian Perceptions vs. User NeedsCloser Than You Think: Librarian Perceptions vs. User Needs
Closer Than You Think: Librarian Perceptions vs. User Needs
 
SriramTrainerResume
SriramTrainerResumeSriramTrainerResume
SriramTrainerResume
 
National Funding Names New Sales Managers
National Funding Names New Sales ManagersNational Funding Names New Sales Managers
National Funding Names New Sales Managers
 
Farrel Lifson
Farrel LifsonFarrel Lifson
Farrel Lifson
 
Improving Analogies for Ideation: What is a Good Attribute?
Improving Analogies for Ideation: What is a Good Attribute?Improving Analogies for Ideation: What is a Good Attribute?
Improving Analogies for Ideation: What is a Good Attribute?
 
2012 한국소믈리에 대회 브로셔
2012 한국소믈리에 대회 브로셔2012 한국소믈리에 대회 브로셔
2012 한국소믈리에 대회 브로셔
 
Pidato bahasa indonesia haji
Pidato bahasa indonesia hajiPidato bahasa indonesia haji
Pidato bahasa indonesia haji
 
Musica viva
Musica vivaMusica viva
Musica viva
 
Strengths Finder
Strengths FinderStrengths Finder
Strengths Finder
 
Advanced Organizing Systems, Inc.
Advanced Organizing Systems, Inc.Advanced Organizing Systems, Inc.
Advanced Organizing Systems, Inc.
 
Monetizing and Marketing Digital Textbooks
Monetizing and Marketing Digital TextbooksMonetizing and Marketing Digital Textbooks
Monetizing and Marketing Digital Textbooks
 
Ml0018 project management in retail
Ml0018 project management in retailMl0018 project management in retail
Ml0018 project management in retail
 
Problema timpului in opera lui mircea eliade
Problema timpului in opera lui mircea eliadeProblema timpului in opera lui mircea eliade
Problema timpului in opera lui mircea eliade
 
Ms 24 employment relations
Ms 24 employment relationsMs 24 employment relations
Ms 24 employment relations
 
2014 05 CRISMA architecture for transferable applications
2014 05 CRISMA architecture for transferable applications2014 05 CRISMA architecture for transferable applications
2014 05 CRISMA architecture for transferable applications
 

Similar to Fiware Policy Manager Presentation

How kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updatedHow kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updated
Shikha Srivastava
 

Similar to Fiware Policy Manager Presentation (20)

VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
 
Configuration Management Tools on NX-OS
Configuration Management Tools on NX-OSConfiguration Management Tools on NX-OS
Configuration Management Tools on NX-OS
 
Docker, Zabbix and auto-scaling
Docker, Zabbix and auto-scalingDocker, Zabbix and auto-scaling
Docker, Zabbix and auto-scaling
 
From Containerized Application to Secure and Scaling With Kubernetes
From Containerized Application to Secure and Scaling With KubernetesFrom Containerized Application to Secure and Scaling With Kubernetes
From Containerized Application to Secure and Scaling With Kubernetes
 
How kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updatedHow kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updated
 
VMworld 2015: Automating Everything VMware with PowerCLI- Deep Dive
VMworld 2015: Automating Everything VMware with PowerCLI- Deep DiveVMworld 2015: Automating Everything VMware with PowerCLI- Deep Dive
VMworld 2015: Automating Everything VMware with PowerCLI- Deep Dive
 
Share cics policy (2844)
Share cics policy (2844)Share cics policy (2844)
Share cics policy (2844)
 
Regain Control Thanks To Prometheus
Regain Control Thanks To PrometheusRegain Control Thanks To Prometheus
Regain Control Thanks To Prometheus
 
Cloud Platform Symantec Meetup Nov 2014
Cloud Platform Symantec Meetup Nov 2014Cloud Platform Symantec Meetup Nov 2014
Cloud Platform Symantec Meetup Nov 2014
 
A Year in Google - Percona Live Europe 2018
A Year in Google - Percona Live Europe 2018A Year in Google - Percona Live Europe 2018
A Year in Google - Percona Live Europe 2018
 
Apache Eagle at Hadoop Summit 2016 San Jose
Apache Eagle at Hadoop Summit 2016 San JoseApache Eagle at Hadoop Summit 2016 San Jose
Apache Eagle at Hadoop Summit 2016 San Jose
 
Apache Eagle: Secure Hadoop in Real Time
Apache Eagle: Secure Hadoop in Real TimeApache Eagle: Secure Hadoop in Real Time
Apache Eagle: Secure Hadoop in Real Time
 
API Tips & Tricks - Policy Management and Elastic Deployment
API Tips & Tricks - Policy Management and Elastic DeploymentAPI Tips & Tricks - Policy Management and Elastic Deployment
API Tips & Tricks - Policy Management and Elastic Deployment
 
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationMike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
 
Kubernetes policies 101 - apolicy.io
Kubernetes policies 101 - apolicy.ioKubernetes policies 101 - apolicy.io
Kubernetes policies 101 - apolicy.io
 
[2019.1] 하이퍼레저 패브릭 v1.3, v1.4 새로운 기능
[2019.1] 하이퍼레저 패브릭 v1.3, v1.4 새로운 기능[2019.1] 하이퍼레저 패브릭 v1.3, v1.4 새로운 기능
[2019.1] 하이퍼레저 패브릭 v1.3, v1.4 새로운 기능
 
Share seattle health_center
Share seattle health_centerShare seattle health_center
Share seattle health_center
 
Boundary for puppet @ puppet conf2012
Boundary for puppet @ puppet conf2012Boundary for puppet @ puppet conf2012
Boundary for puppet @ puppet conf2012
 
1961 no rainclouds here! using cics platform and policies to keep your privat...
1961 no rainclouds here! using cics platform and policies to keep your privat...1961 no rainclouds here! using cics platform and policies to keep your privat...
1961 no rainclouds here! using cics platform and policies to keep your privat...
 
SHARE 2014, Pittsburgh CICS scalability
SHARE 2014, Pittsburgh CICS scalabilitySHARE 2014, Pittsburgh CICS scalability
SHARE 2014, Pittsburgh CICS scalability
 

Recently uploaded

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 

Recently uploaded (20)

Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 

Fiware Policy Manager Presentation

  • 1. Policy Manager: Managing facts, rules and actions Guillermo Jiménez, Fernando López IMDEA // TID Cloud Chapter. FICORE Guillermo.jimenezprieto@imdea.org, @geon_exus fernando.lopezaguilar@telefonica.com, @flopezaguilar
  • 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.
  • 7. Api-Agent Rules Engine Fact-Gen (defRule) store(Conditions and actions) (actions) get(Conditions, actions) (Facts) (AverageFacts) suscribe(URL, serverId) PUT ContextData(CPU, RAM, HDD, Network?) External Service START POST(conditions, actions, serverId) Fiware-Facts Redis store(AverageFacts) Fiware-cloto POST(subscriptions) RabbitMQ EnvironmentManager get(AverageFacts) Environments * (actions) eval(AverageFacts, Conditions, actions) (conditions, actions) (actions) Context Broker
  • 8. POLICY MANAGER RULES Definition of a rule: { "action": { "actionName": "notify-scale", "operation": "scaleUp" }, "name": "AlertCPU", "condition": { "cpu": { "value": 98.3, "operand": "greater" }, "mem": { "value": 95, "operand": "greater equal" }, "hdd": { "value": 95, "operand": "greater equal" }, "net": { "value": 95, "operand": "greater equal" } } }
  • 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.
  • 12. Kind of actions notify-scale • scaleUp • scaleDown notify-email "action": { "actionName": "notify-scale", "operation": "scaleUp" }, "action": { "actionName": "notify-scale", "operation": "scaleDown" }, "action": { "actionName": "notify-email", "email": “name@host.com”, "body": “Example description” }, POLICY MANAGER RULES
  • 13. More possible actions: • Check VM alive • Restart VM • Move to another node • Stop VM • All actions you can implement. POLICY MANAGER RULES
  • 14. Kind of operands about server measures (cpu, mem, hdd and disk): • greater • greater equal • less • less equal "condition": { "cpu": { "value": 98.3, "operand": "greater" }, "mem": { "value": 95, "operand": "greater equal" }, "hdd": { "value": 95, "operand": "greater equal" }, "net": { "value": 95, "operand": "greater equal" } } POLICY MANAGER RULES
  • 16. • Policy Manager:https://forge.fi- ware.org/plugins/mediawiki/wiki/fiware/index.php/Policy_Manager_Op en_RESTful_API_Specification • Pyclips Webpage: http://pyclips.sourceforge.net • Django project: https://www.djangoproject.com • Redis: http://redis.io • RabbitMQ: http://www.rabbitmq.com • MySQL: http://mysql.com REFERENCES
  • 17. 17