SlideShare a Scribd company logo
1 of 7
Download to read offline
Open Cloud Computing Interface (OCCI)
Open Cloud Computing Interface (OCCI)
2nd Trentino Cloud Computing Meetup — Trento
Augusto Ciuffoletti
University of Pisa
May 26, 2016
Open Cloud Computing Interface (OCCI)
Summary
• Why OCCI?
• See how simple it is
• Status and perspectives
Open Cloud Computing Interface (OCCI)
The problem: too many cloud interfaces
• Each provider has a different interface
• Hybrid, federated clouds need one for all
• Users fear lock-in
• An open standard for cloud interface
• OCCI is cloud IP
• Relationships with OASIS-TOSCA?
Open Cloud Computing Interface (OCCI)
Why OCCI is not TOSCA
• Facts:
• Core OASIS-TOSCA service template definition document
introduces 11 types in 100+ pages
• Core OGF-OCCI core document introduces 2 types in 20
pages
• TOSCA approach tends to be exhaustive, strongly
normative, non expandable
• OCCI approach tends to be minimalistic, costumizable,
extensible
• TOSCA defines a metamodel for defining service topology
and orchestration
• OCCI defines a API interface between a user application
and a provider
• It’s like to compare a watermelon with an apple
Open Cloud Computing Interface (OCCI)
OCCI documents structure
• One core doc:
• a meta-meta model that regulates extensions
• a meta-model for cloud resources (core types)
• REST principles regulate the interface
• Extension documents:
• add new types to core ones to model specific kinds of
service
• e.g. IaaS, PaaS, SLA, Monitoring etc.
• Rendering documents
• how to represent entities in various languages
• e.g. plaintext, JSON, XML etc.
• Protocol documents
• the protocol used to implement REST verbs
• e.g. HTTP, XMPP etc.
Open Cloud Computing Interface (OCCI)
OCCI: instances and kinds
• A cloud provision is made of entities
• The type of an entity is indicated by a kind
• A certain kind is characterized by the names and the types
of its attributes
• Kinds are organized in a hierarchy (sub-kinds)
• Two core kinds: resource and link (Lego bricks)
• So you can instantiate entities that are resources or links
• Actions are associated to kinds
• Not executable pieces of code, just headers
Open Cloud Computing Interface (OCCI)
Example: IaaS extension
• Historically the first extension to be defined
• An interface for an IaaS provider
• Sub-kinds of the resource are: compute, storage, network
• Sub-kinds of link are: network interface, storage link.
• Some attributes of a compute entity (a few more in the
official doc):
• Architecture
• RAM
• Clock speed
• An action that can be applied to a compute:
• restart
Open Cloud Computing Interface (OCCI)
OCCI: mixins
• Mixins are not new: they exist in Simula, OO Lisp and
other languages
• It is a way to add new capabilities to a class, without
inheritance:
• a mixin is included, not inherited
• In OCCI a Mixin is an aggregate of attributes and actions,
similar to a kind
• A given mixin cannot be instantiated, but only associated
to an already instantiated entity
• Examples:
• an Ubuntu 16.04 mixin is used to declare that a compute
entity has this OS installed
• Mixins, Actions and Kinds are Categories in the meta-meta
model
That’s all for the core model
Open Cloud Computing Interface (OCCI)
OCCI: restfulness
• Each entity, type, mixin, action is referred with an URI
• The four REST verbs are used to manipulate entities:
• GET to obtain the definition of an entity
• PUT to create a new entity
• POST to add a subordinate entity in a collection
• DELETE to remove an entity
• Similar for collections of entities
Open Cloud Computing Interface (OCCI)
Extensibility
• 1st method: the provider creates new sub-classes
• Example: IaaS, one further class is a server (i.e. compute
resource kind), or a network link (i.e. network resource
kind), or a network interface (i.e. interface link kind)
• 2nd method: the provider creates new mixins to allow the
user to customize entities
Open Cloud Computing Interface (OCCI)
Status of release 1.2
• Minor differences with respect to 1.1 gathering
implementation experience
• Public comment period finished, now in final review by
OGF board
• Documents in the release
• Core Model (*)
• IaaS Extension
• PaaS Extension
• SLA Extension
• HTTP Protocol (*)
• Text Rendering (*)
• JSON Rendering (*)
• The (*) indicates that a compliant interface MUST support
the functionalities described in the document
• A release 2.0 in under way, though unscheduled
Open Cloud Computing Interface (OCCI)
Conclusions
• The OCCI interface is implemented in many languages
(Python, Java, Ruby, Erlang etc.)
• It is adapted to work with many cloud control engines
(OpenStack, OpenNebula, AWS and more)
• Adopted by the EGI cloud infrastructure
• My role: I designed an extension for cloud monitoring, now
an informational document, targeting the inclusion in OCCI
2.0.
Open Cloud Computing Interface (OCCI)
Further viewing and reading
• A presentation of the OGF chair during a NIST meeting
(from 35:00 to 52:00)
• see
http://www.nist.gov/itl/cloud/cloud_comp_webcast_viii.cfm
• Browse documents in the OCCI repository:
• https://redmine.ogf.org/projects/occi-wg/repository
• These slides on SlideShare:
• http://www.slideshare.net/AugustoCiuffoletti/open-cloud-
computing-interface-62384843

More Related Content

What's hot

What's hot (9)

Deploying swift on a scale out file system
Deploying swift on a scale out file systemDeploying swift on a scale out file system
Deploying swift on a scale out file system
 
Initial presentation of openstack (for montreal user group)
Initial presentation of openstack (for montreal user group)Initial presentation of openstack (for montreal user group)
Initial presentation of openstack (for montreal user group)
 
Linq to sql
Linq to sqlLinq to sql
Linq to sql
 
Web services soap
Web services soapWeb services soap
Web services soap
 
.Net
.Net.Net
.Net
 
Linq
LinqLinq
Linq
 
Microservice - Up to 500k CCU
Microservice - Up to 500k CCUMicroservice - Up to 500k CCU
Microservice - Up to 500k CCU
 
Pisa
PisaPisa
Pisa
 
AWS Foundation Course - Outline
AWS Foundation Course - OutlineAWS Foundation Course - Outline
AWS Foundation Course - Outline
 

Similar to Open Cloud Computing Interface

Unraveling OpenStack Clouds
 Unraveling OpenStack Clouds Unraveling OpenStack Clouds
Unraveling OpenStack Clouds
IndicThreads
 
Cloud-based Linked Data Management for Self-service Application Development
Cloud-based Linked Data Management for Self-service Application DevelopmentCloud-based Linked Data Management for Self-service Application Development
Cloud-based Linked Data Management for Self-service Application Development
Peter Haase
 
Ospc for openstack forum sep 2011 v2
Ospc for openstack forum sep 2011 v2Ospc for openstack forum sep 2011 v2
Ospc for openstack forum sep 2011 v2
OpenCity Community
 

Similar to Open Cloud Computing Interface (20)

An Open and Collaborative Ecosystem for IoT
An Open and Collaborative Ecosystem for IoTAn Open and Collaborative Ecosystem for IoT
An Open and Collaborative Ecosystem for IoT
 
browserCloud.js - David Dias M.Sc Thesis Defense Deck
browserCloud.js - David Dias M.Sc Thesis Defense Deck browserCloud.js - David Dias M.Sc Thesis Defense Deck
browserCloud.js - David Dias M.Sc Thesis Defense Deck
 
OASIS TOSCA: Cloud Portability and Lifecycle Management
OASIS TOSCA: Cloud Portability and Lifecycle ManagementOASIS TOSCA: Cloud Portability and Lifecycle Management
OASIS TOSCA: Cloud Portability and Lifecycle Management
 
Cloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackCloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: Openstack
 
Avoiding cloud lock-in
Avoiding cloud lock-inAvoiding cloud lock-in
Avoiding cloud lock-in
 
Unraveling OpenStack Clouds
 Unraveling OpenStack Clouds Unraveling OpenStack Clouds
Unraveling OpenStack Clouds
 
Current & Future Use-Cases of OpenDaylight
Current & Future Use-Cases of OpenDaylightCurrent & Future Use-Cases of OpenDaylight
Current & Future Use-Cases of OpenDaylight
 
Identity in Openstack Icehouse
Identity in Openstack IcehouseIdentity in Openstack Icehouse
Identity in Openstack Icehouse
 
Clash of Titans in SDN: OpenDaylight vs ONOS - Elisa Rojas
Clash of Titans in SDN: OpenDaylight vs ONOS - Elisa RojasClash of Titans in SDN: OpenDaylight vs ONOS - Elisa Rojas
Clash of Titans in SDN: OpenDaylight vs ONOS - Elisa Rojas
 
TDC2018SP | Trilha Cloud - Why Apache CloudStack
TDC2018SP | Trilha Cloud - Why Apache CloudStackTDC2018SP | Trilha Cloud - Why Apache CloudStack
TDC2018SP | Trilha Cloud - Why Apache CloudStack
 
Open Source as Reference Implementation for Next Gen Network Services
Open Source as Reference Implementation for Next Gen Network ServicesOpen Source as Reference Implementation for Next Gen Network Services
Open Source as Reference Implementation for Next Gen Network Services
 
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
 
Cloud Foundry and OpenStack – Marriage Made in Heaven !
Cloud Foundry and OpenStack – Marriage Made in Heaven !Cloud Foundry and OpenStack – Marriage Made in Heaven !
Cloud Foundry and OpenStack – Marriage Made in Heaven !
 
Cloud-based Linked Data Management for Self-service Application Development
Cloud-based Linked Data Management for Self-service Application DevelopmentCloud-based Linked Data Management for Self-service Application Development
Cloud-based Linked Data Management for Self-service Application Development
 
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
 
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
 
Ospc for openstack forum sep 2011 v2
Ospc for openstack forum sep 2011 v2Ospc for openstack forum sep 2011 v2
Ospc for openstack forum sep 2011 v2
 
OpenStack and OpenDaylight, The Evolving Relationship in Cloud Networking: a ...
OpenStack and OpenDaylight, The Evolving Relationship in Cloud Networking: a ...OpenStack and OpenDaylight, The Evolving Relationship in Cloud Networking: a ...
OpenStack and OpenDaylight, The Evolving Relationship in Cloud Networking: a ...
 
1. RINA motivation - TF Workshop
1. RINA motivation - TF Workshop1. RINA motivation - TF Workshop
1. RINA motivation - TF Workshop
 
OCCIware@CloudExpoLondon2017 - an extensible, standard XaaS Cloud consumer pl...
OCCIware@CloudExpoLondon2017 - an extensible, standard XaaS Cloud consumer pl...OCCIware@CloudExpoLondon2017 - an extensible, standard XaaS Cloud consumer pl...
OCCIware@CloudExpoLondon2017 - an extensible, standard XaaS Cloud consumer pl...
 

More from Augusto Ciuffoletti

Grid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRIDGrid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRID
Augusto Ciuffoletti
 
Scalable concurrency control in a dynamic membership
Scalable concurrency control  in a dynamic membershipScalable concurrency control  in a dynamic membership
Scalable concurrency control in a dynamic membership
Augusto Ciuffoletti
 
Prototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring ArchitecturePrototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring Architecture
Augusto Ciuffoletti
 

More from Augusto Ciuffoletti (20)

An open-source testbed for IoT systems
An open-source testbed for IoT systemsAn open-source testbed for IoT systems
An open-source testbed for IoT systems
 
0 basic
0 basic0 basic
0 basic
 
Thingspeak: integrazione
Thingspeak: integrazioneThingspeak: integrazione
Thingspeak: integrazione
 
Thingspeak: fondamenti
Thingspeak: fondamentiThingspeak: fondamenti
Thingspeak: fondamenti
 
Design and implementation of a low-cost modular sensor
Design and implementation of a low-cost modular sensorDesign and implementation of a low-cost modular sensor
Design and implementation of a low-cost modular sensor
 
ZHAW 2016 - OCCI for monitoring
ZHAW 2016 - OCCI for monitoringZHAW 2016 - OCCI for monitoring
ZHAW 2016 - OCCI for monitoring
 
Laboratorio Openstack
Laboratorio OpenstackLaboratorio Openstack
Laboratorio Openstack
 
Automated deployment of a microservice based monitoring architecture
Automated deployment of a microservice based monitoring architectureAutomated deployment of a microservice based monitoring architecture
Automated deployment of a microservice based monitoring architecture
 
OCCI Monitoring at OGF42 - Concepts and demo
OCCI Monitoring at OGF42 - Concepts and demoOCCI Monitoring at OGF42 - Concepts and demo
OCCI Monitoring at OGF42 - Concepts and demo
 
Extending the OCCI API with monitoring capabilities
Extending the OCCI API with monitoring capabilitiesExtending the OCCI API with monitoring capabilities
Extending the OCCI API with monitoring capabilities
 
2013 03 occi-monitoring
2013 03 occi-monitoring2013 03 occi-monitoring
2013 03 occi-monitoring
 
Monitoring a virtual network infrastructure - An IaaS perspective
Monitoring a virtual network infrastructure - An IaaS perspectiveMonitoring a virtual network infrastructure - An IaaS perspective
Monitoring a virtual network infrastructure - An IaaS perspective
 
Collision avoidance using a wandering token in the PTP protocol
Collision avoidance using a wandering token in the PTP protocolCollision avoidance using a wandering token in the PTP protocol
Collision avoidance using a wandering token in the PTP protocol
 
TIP: a course about IP convergence technology
TIP: a course about IP convergence technologyTIP: a course about IP convergence technology
TIP: a course about IP convergence technology
 
Design of a secure "Token Passing" protocol
Design of a secure "Token Passing" protocolDesign of a secure "Token Passing" protocol
Design of a secure "Token Passing" protocol
 
The wandering token
The wandering tokenThe wandering token
The wandering token
 
Network Monitoring in the age of the Cloud
Network Monitoring in the age of the CloudNetwork Monitoring in the age of the Cloud
Network Monitoring in the age of the Cloud
 
Grid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRIDGrid Infrastructure Architecture A Modular Approach from CoreGRID
Grid Infrastructure Architecture A Modular Approach from CoreGRID
 
Scalable concurrency control in a dynamic membership
Scalable concurrency control  in a dynamic membershipScalable concurrency control  in a dynamic membership
Scalable concurrency control in a dynamic membership
 
Prototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring ArchitecturePrototype Implementation of a Demand Driven Network Monitoring Architecture
Prototype Implementation of a Demand Driven Network Monitoring Architecture
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Open Cloud Computing Interface

  • 1. Open Cloud Computing Interface (OCCI) Open Cloud Computing Interface (OCCI) 2nd Trentino Cloud Computing Meetup — Trento Augusto Ciuffoletti University of Pisa May 26, 2016 Open Cloud Computing Interface (OCCI) Summary • Why OCCI? • See how simple it is • Status and perspectives
  • 2. Open Cloud Computing Interface (OCCI) The problem: too many cloud interfaces • Each provider has a different interface • Hybrid, federated clouds need one for all • Users fear lock-in • An open standard for cloud interface • OCCI is cloud IP • Relationships with OASIS-TOSCA? Open Cloud Computing Interface (OCCI) Why OCCI is not TOSCA • Facts: • Core OASIS-TOSCA service template definition document introduces 11 types in 100+ pages • Core OGF-OCCI core document introduces 2 types in 20 pages • TOSCA approach tends to be exhaustive, strongly normative, non expandable • OCCI approach tends to be minimalistic, costumizable, extensible • TOSCA defines a metamodel for defining service topology and orchestration • OCCI defines a API interface between a user application and a provider • It’s like to compare a watermelon with an apple
  • 3. Open Cloud Computing Interface (OCCI) OCCI documents structure • One core doc: • a meta-meta model that regulates extensions • a meta-model for cloud resources (core types) • REST principles regulate the interface • Extension documents: • add new types to core ones to model specific kinds of service • e.g. IaaS, PaaS, SLA, Monitoring etc. • Rendering documents • how to represent entities in various languages • e.g. plaintext, JSON, XML etc. • Protocol documents • the protocol used to implement REST verbs • e.g. HTTP, XMPP etc. Open Cloud Computing Interface (OCCI) OCCI: instances and kinds • A cloud provision is made of entities • The type of an entity is indicated by a kind • A certain kind is characterized by the names and the types of its attributes • Kinds are organized in a hierarchy (sub-kinds) • Two core kinds: resource and link (Lego bricks) • So you can instantiate entities that are resources or links • Actions are associated to kinds • Not executable pieces of code, just headers
  • 4. Open Cloud Computing Interface (OCCI) Example: IaaS extension • Historically the first extension to be defined • An interface for an IaaS provider • Sub-kinds of the resource are: compute, storage, network • Sub-kinds of link are: network interface, storage link. • Some attributes of a compute entity (a few more in the official doc): • Architecture • RAM • Clock speed • An action that can be applied to a compute: • restart Open Cloud Computing Interface (OCCI) OCCI: mixins • Mixins are not new: they exist in Simula, OO Lisp and other languages • It is a way to add new capabilities to a class, without inheritance: • a mixin is included, not inherited • In OCCI a Mixin is an aggregate of attributes and actions, similar to a kind • A given mixin cannot be instantiated, but only associated to an already instantiated entity • Examples: • an Ubuntu 16.04 mixin is used to declare that a compute entity has this OS installed • Mixins, Actions and Kinds are Categories in the meta-meta model That’s all for the core model
  • 5. Open Cloud Computing Interface (OCCI) OCCI: restfulness • Each entity, type, mixin, action is referred with an URI • The four REST verbs are used to manipulate entities: • GET to obtain the definition of an entity • PUT to create a new entity • POST to add a subordinate entity in a collection • DELETE to remove an entity • Similar for collections of entities Open Cloud Computing Interface (OCCI) Extensibility • 1st method: the provider creates new sub-classes • Example: IaaS, one further class is a server (i.e. compute resource kind), or a network link (i.e. network resource kind), or a network interface (i.e. interface link kind) • 2nd method: the provider creates new mixins to allow the user to customize entities
  • 6. Open Cloud Computing Interface (OCCI) Status of release 1.2 • Minor differences with respect to 1.1 gathering implementation experience • Public comment period finished, now in final review by OGF board • Documents in the release • Core Model (*) • IaaS Extension • PaaS Extension • SLA Extension • HTTP Protocol (*) • Text Rendering (*) • JSON Rendering (*) • The (*) indicates that a compliant interface MUST support the functionalities described in the document • A release 2.0 in under way, though unscheduled Open Cloud Computing Interface (OCCI) Conclusions • The OCCI interface is implemented in many languages (Python, Java, Ruby, Erlang etc.) • It is adapted to work with many cloud control engines (OpenStack, OpenNebula, AWS and more) • Adopted by the EGI cloud infrastructure • My role: I designed an extension for cloud monitoring, now an informational document, targeting the inclusion in OCCI 2.0.
  • 7. Open Cloud Computing Interface (OCCI) Further viewing and reading • A presentation of the OGF chair during a NIST meeting (from 35:00 to 52:00) • see http://www.nist.gov/itl/cloud/cloud_comp_webcast_viii.cfm • Browse documents in the OCCI repository: • https://redmine.ogf.org/projects/occi-wg/repository • These slides on SlideShare: • http://www.slideshare.net/AugustoCiuffoletti/open-cloud- computing-interface-62384843