Skip to main content

The Open Baton CLI

Project description

Python version of the Open Baton CLI
====================================

This project contains a vnfm sdk for python projects.

Technical Requirements
----------------------

This section covers the requirements that must be met by the
python-vnfm-sdk in order to satisfy the demands for such a component:

- python 2.7
- python 3.5

How to install the Open Baton CLI
---------------------------------

The easier way to start is to use a `virtual environment <https://virtualenv.pypa.io/en/stable/>`__. Once activated, just run

.. code:: bash

pip install openbaton-cli

How to use the Open Baton CLI
-----------------------------

After installing the CLI you have a new command:

.. code:: bash

./openbaton -h 2 ↵
usage: openbaton [-h] [-pid PROJECT_ID] [-u USERNAME] [-p PASSWORD] [-d]
[-ip NFVO_IP] [--nfvo-port NFVO_PORT] [-s] [--format]
agent action [params [params ...]]

positional arguments:
agent the agent you want to use. Possibilities are: ['project', 'vnfci',
'vdu', 'log', 'vnfd', 'csarnsd', 'nsd', 'csarvnfd', 'vim', 'vnfr',
'service', 'user', 'key', 'vnfpackage', 'nsr', 'event', 'market','vdu-nsd','script']
action the action you want to call. Possibilities are:
['list', 'show', 'delete', 'create', 'update']
params The ID, file or JSON
format the output format you want to use. Possibilities are: ['table', 'json']

optional arguments:
-h, --help show this help message and exit
-pid PROJECT_ID, --project-id PROJECT_ID
the project-id to use
-u USERNAME, --username USERNAME
the openbaton username
-p PASSWORD, --password PASSWORD
the openbaton password
-d, --debug show debug prints
-ip NFVO_IP, --nfvo-ip NFVO_IP
the openbaton nfvo ip
--nfvo-port NFVO_PORT
the openbaton nfvo port
-s, --ssl use HTTPS instead of HTTP
--format the expected output format


Where the agents are:

+------------+------------------+
| Agent | description |
+============+==================+
| nsd | Agent requesting |
| | Network Service |
| | Descriptor |
+------------+------------------+
| vnfd | Agent requesting |
| | Network Service |
| | Records |
+------------+------------------+
| nsr | Agent requesting |
| | Network Service |
| | Records |
+------------+------------------+
| vnfr | Agent requesting |
| | Virtual Network |
| | Service Records |
+------------+------------------+
| projects | Agent requesting |
| | Projects |
+------------+------------------+
| vim | Agent requesting |
| | Point of |
| | Presence |
+------------+------------------+
| user | Agent requesting |
| | Users |
+------------+------------------+
| vnfpackages| Agent requesting |
| | VNFPAckages |
+------------+------------------+
| market | Agent adding |
| | Network Service |
| | Descriptors from |
| | the Marketplace |
+------------+------------------+
| csarnsd | Agent adding |
| | Network Service |
| | Descriptors in |
| | CSAR format |
+------------+------------------+
| csarvnfd | Agent adding |
| | Virtual Network |
| | Function |
| | Descriptors in |
| | CSAR format |
+------------+------------------+
| event | Agent requesting |
| | Event Endpoints |
+------------+------------------+
| service | Agent requesting |
| | Services |
+------------+------------------+
| vdu | Agent requesting |
| | Vdu (nsr) |
+------------+------------------+
| vdu-nsd | Agent requesting |
| | Vdu (nsd) |
+------------+------------------+
| script | Agent requesting |
| | VNFPackage Script|
+------------+------------------+

And actions are:

+------------+------------------+
| action | description |
+============+==================+
| list | Request the list |
| | of agent's |
| | objects |
+------------+------------------+
| show | Show specific |
| | information of |
| | an object |
+------------+------------------+
| create | create the passed|
| | object |
+------------+------------------+
| delete | delete the |
| | specified object |
+------------+------------------+
| update | update the |
| | specified object |
+------------+------------------+

Issue tracker
-------------

Issues and bug reports should be posted to the GitHub Issue Tracker of
this project

What is Open Baton?
===================

OpenBaton is an open source project providing a comprehensive
implementation of the ETSI Management and Orchestration (MANO)
specification.

Open Baton is a ETSI NFV MANO compliant framework. Open Baton was part
of the OpenSDNCore (www.opensdncore.org) project started almost three
years ago by Fraunhofer FOKUS with the objective of providing a
compliant implementation of the ETSI NFV specification.

Open Baton is easily extensible. It integrates with OpenStack, and
provides a plugin mechanism for supporting additional VIM types. It
supports Network Service management either using a generic VNFM or
interoperating with VNF-specific VNFM. It uses different mechanisms
(REST or PUB/SUB) for interoperating with the VNFMs. It integrates with
additional components for the runtime management of a Network Service.
For instance, it provides autoscaling and fault management based on
monitoring information coming from the the monitoring system available
at the NFVI level.

Source Code and documentation
-----------------------------

The Source Code of the other Open Baton projects can be found
`here <http://github.org/openbaton>`__ and the documentation can be
found `here <http://openbaton.org/documentation>`__ .

News and Website
----------------

Check the `Open Baton Website <http://openbaton.org>`__ Follow us on
Twitter @\ `openbaton <https://twitter.com/openbaton>`__.

Licensing and distribution
--------------------------

Copyright [2015-2016] Open Baton project

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License. You may
obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Copyright © 2015-2016 `Open Baton <http://openbaton.org>`__. Licensed
under `Apache v2 License <http://www.apache.org/licenses/LICENSE-2.0>`__.

Support
-------

The Open Baton project provides community support through the Open Baton
Public Mailing List and through StackOverflow using the tags openbaton.

Supported by
------------

.. image:: https://raw.githubusercontent.com/openbaton/openbaton.github.io/master/images/fokus.png
:width: 250 px

.. image:: https://raw.githubusercontent.com/openbaton/openbaton.github.io/master/images/tu.png
:width: 250 px

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

openbaton-cli-6.0.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

openbaton_cli-6.0.0-py2.py3-none-any.whl (31.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file openbaton-cli-6.0.0.tar.gz.

File metadata

  • Download URL: openbaton-cli-6.0.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.3 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15

File hashes

Hashes for openbaton-cli-6.0.0.tar.gz
Algorithm Hash digest
SHA256 62a12846fd9be915ac1002154b4c42cd0e7485a1dc2beec79e2347ffc3da2533
MD5 7c0c2997d018fb92ec2e16eafca7ea55
BLAKE2b-256 4b4cddf973a83a636d584a0847ed4b0ee4ce8fa12078705eb3371bac4b143d75

See more details on using hashes here.

File details

Details for the file openbaton_cli-6.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: openbaton_cli-6.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.3 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15

File hashes

Hashes for openbaton_cli-6.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 562b2d7c61cad450fbf061795a5d817ae5d9618d40e00d77fc9519e8c0fcf321
MD5 6e314152560e727e6a4c8d639450b2d5
BLAKE2b-256 3e584533a834ea6c5f1488f18d47a1733fa7c5ac8dadb067958e2d0513171468

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