Skip to main content

A TOSCA engine working with Docker container

Project description

TosKer is an orchestrator engine capable of automatically deploying and managing multi-component applications specifies in OASIS TOSCA, by exploiting Docker as a lightweight virtualization framework. The novelty of TosKer is to decouple the application-specific components, from the containers used to build their infrastructure. This permits to improve the orchestration of the components and to ease the change of the containers underneath.

Installation

TosKer requires having Docker installed and configured on the machine. In is possible to install TosKer by using pip:

# pip install tosker

The minimum Python version supported is 2.7. It is possible to find other installation methods on the documentation.

Quick Guide

After the installation it is possible to found in /usr/share/tosker/examples the CSAR of two example application, node-mongo.casr and thoughts.csar.

To create and start the thoughts application run the command:

tosker /usr/share/tosker/examples/thoughts.csar create start

It is possible to use the ls command to check that all the components are in the started state:

tosker ls

Now, the application can be accessible on http://127.0.0.1:8080/thoughts.html. Finally, to stop and delete the application run the command:

tosker /usr/share/tosker/examples/thoughts.csar stop delete

License

MIT license

History

0.4.0 (2017-07-10)

  • First release on PyPI.

1.0.0 (2017-11-20)

Stable release without Management Protocols.

  • Add command log, to show the execution of an operation on a component.

  • Add command prune, to remove all TosKer files and restore initial state.

  • Improve memory management.

  • Improve command line interface.

  • Bug fix.

2.0.0 (2017-12-09)

  • Switch to Management Protocols to manage the life cycle of the components

  • Add support for derived node types.

  • Add support for custom interfaces.

  • Support custom management protocol defined using policies.

  • Support safe execution of plans (list of <component, interface, operation>).

  • Improve command line interface.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TosKer-2.0.1.tar.gz (46.2 MB view details)

Uploaded Source

Built Distribution

TosKer-2.0.1-py2.py3-none-any.whl (46.2 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file TosKer-2.0.1.tar.gz.

File metadata

  • Download URL: TosKer-2.0.1.tar.gz
  • Upload date:
  • Size: 46.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for TosKer-2.0.1.tar.gz
Algorithm Hash digest
SHA256 04b047e7a19eb3b01e9e8e9f4c65482ec4628e92128ee91a030aeefbb0e6e60f
MD5 e775daab3be658d9252fd3cc582469c3
BLAKE2b-256 38332ec01d8bdab39118b20d511bbecccb08bf4eb6ab29a71302505f4235801d

See more details on using hashes here.

File details

Details for the file TosKer-2.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for TosKer-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c019b9aefd26794c2ab5b8245286d9838c86bd70d1c72ca80c9217f97eec0be3
MD5 f47dcc8fec19a09425d26ad99e8480d1
BLAKE2b-256 1d2023f15267c61770a75988d4147e508936422ce4c8addc49da1413758f6f7c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page