Skip to main content

A TOSCA engine working with Docker container

Project description

Orchestrate TOSCA applications on top of Docker.

Intallation

Requirements - python>=2.7 - pip

sudo pip install tosker

Install from source

git clone https://github.com/di-unipi-socc/tosKer/tree/master
cd tosKer
sudo python setup.py install

Run the tests:

python setup.py test

Usage

tosker FILE [COMPONENTS...] COMMANDS...  [OPTIONS] [INPUTS]
tosker -h|--help
tosker -v|--version

Where - FILE is a TOSCA YAML file or CSAR file

  • COMMANDS are a list of the following commands:

    • create Create application components

    • start Start applications components

    • stop Stop application components

    • delete Delete application components (except volume)

  • COMPONENTS is a list of components to deploy

  • OPTIONS

    • -h --help Print usage

    • -q --quiet Enable quiet mode

    • --debug Enable debugging mode (override quiet mode)

    • -v --version Print version

  • INPUTS provide TOSCA inputs (syntax: ``–NAME VALUE``)

Examples:

tosker hello.yaml create --name mario
tosker hello.yaml start -q
tosker hello.yaml stop --debuug
tosker hello.yaml delete

tosker hello.yaml create start --name mario
tosker hello.yaml stop delete -q

tosker hello.yaml database api create start

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

TosKer-0.2.0-py2.py3-none-any.whl (3.3 MB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for TosKer-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 63e67292cb3a107be02fab98a907fa8b736f123983fe48c252047259bf681a99
MD5 4352e9a525400fab50288f855734ba89
BLAKE2b-256 d06e430847aed6fe45f39043f0415eb4cafe3516ae0e1da3d5da410565c6f07d

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