Skip to content

kortef/MoDMaCAO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoDMaCAO

This repository contains the prototypical implementation of the Model-Driven Configuration Management of Cloud Applications with OCCI (MoDMaCAO) framework and the models for several example use cases.

MoDMaCAO is based on OCCI-Studio.

The MoDMaCAO Modeling Framework

The MoDMaCAO modeling framework is based on OCCIware and allows cloud architects to:

  1. design abstract types modeling cloud applications and their components,
  2. model configured instances of cloud applications that use the defined abstract types, and
  3. check the validity of instances of cloud applications.

An overview of the MoDMaCAO modeling framework is shown below: MoDMaCAO modeling framework

  • The Application mixin type abstracts the notion of cloud application. This mixin applies to OCCI Platform Application resources. A cloud application is composed of one or more cloud application components as enforced by the OneOrMoreComponents constraint. Then, modeling specific cloud applications requires to design new mixin types inheriting from Application, e.g., Cluster and ClientServer types. These new types
    could define their own attributes and constraints. For instance, a client-server ap- plication has only one server component (i.e., OnlyOneServer constraint) and some client com- ponents (i.e., OneOrMoreClients constraint).

  • The Cluster mixin type abstracts the notion of clustered cloud application.

  • The Component mixin type abstracts the notion of cloud application component. This mixin applies to OCCI Platform Component resources. Each component has an optional immutable modmacao.component.version attribute repre senting the version of the component used at runtime, and must be placed on only one OCCI Compute resource (i.e., OnlyOnePlacementLink constraint). Then, modeling specific cloud application components requires to define new mixin types inheriting from Component, e.g., Client and Server types. These new component types can define their own attributes and constraints. For instance, a server component has a network port on which to listen to client requests (i.e., server.port immutable attribute) and a client component must be connected to a server component (i.e., OneServerDependency constraint).

  • The Version data type defines the valid string pattern for version values, i.e., ..

  • The Port data type defines the valid network port values, i.e., range from 0 to 65535.

  • The Dependency mixin type abstracts the notion of dependency between two cloud application components. This mixin ap- plies to OCCI Platform ComponentLink links. Both SourceMustBeComponent and TargetMustBeComponent constraints enforce that a dependency link connects two Component instances. Then, modeling specific dependencies requires to define new mixin types inheriting from Dependency , e.g., InstallationDependency , ExecutionDependency , and ServerDepen- dency . These new types could define their own attributes and constraints. For instance, ServerDependency defines two constraints enforcing the dependency source to be a client component and the dependency target to be a server component.

  • The InstallationDependency mixin type ab- stracts an installation dependency, i.e., the source component could be deployed only when the tar- get component is already deployed.

  • The ExecutionDependency mixin type abstracts an execution dependency, i.e., the source com- ponent could be started only when the target component is already started. For instance, the ServerDependency type abstracts the execution dependency from a client and a server component, i.e., the client component can not start until the server component is started.

The MoDMaCAO Implementation Framework

tba

Tutorials and Use Cases

Further Reading

If you are interested in the full story, read the paper.

About

This repository contains a research prototype for Model-Driven Configuration Management with OCCI (MoDMaCAO) based on the OCCIware toolchain.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.1%
  • Shell 0.9%