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


Release history Release notifications

This version
History Node

5.1.1

History Node

5.0.1

History Node

5.0.0

History Node

5.0.0rc1

History Node

5.0.0rc0

History Node

4.0.0

History Node

3.2.8

History Node

3.2.6

History Node

3.2.5

History Node

3.2.4

History Node

3.2.3

History Node

3.2.2

History Node

3.2.1b0

History Node

2.2.1b8

History Node

2.2.1b7

History Node

2.2.1b6

History Node

2.2.1-beta5

History Node

2.2.1-beta4

History Node

2.2.1-beta3

History Node

2.2.1-beta2

History Node

2.2.1-beta1

History Node

2.2.1-beta0

History Node

1.0.2b0

History Node

1.0.1b0

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
openbaton_cli-5.1.1-py2.py3-none-any.whl (23.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 27, 2018
openbaton-cli-5.1.1.tar.gz (35.0 kB) Copy SHA256 hash SHA256 Source None Feb 27, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page