GithubHelp home page GithubHelp logo

nfvo_module_client's Introduction

nfvo-client

NFVO module service for the NI project.

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com//.git

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import nfvo_client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import nfvo_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import nfvo_client
from nfvo_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = nfvo_client.RouteApi(nfvo_client.ApiClient(configuration))
id = 'id_example' # str | route id

try:
    # Delete a Route.
    api_instance.del_route(id)
except ApiException as e:
    print("Exception when calling RouteApi->del_route: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
RouteApi del_route DELETE /routes/{id} Delete a Route.
RouteApi get_routes GET /routes Get current route information, i.e., list of all active SFCRs including their paths.
RouteApi set_route POST /routes Route a request via the provided route. Return route id if success (which also means input route id is ommitted).
RouteApi update_route PUT /routes/{id} Update a new route path or new sfcrs.
SfcrApi add_sfcr POST /sfcrs Add new SFC request. id field is optional
SfcrApi del_sfcr DELETE /sfcrs/{id} Delete a sfcr.
SfcrApi get_sfcrs GET /sfcrs Get currently active SFC requests.
VnfApi deploy_vnf POST /vnfs Instantiate an instance of a VNF flavor on a given node.
VnfApi destroy_vnf DELETE /vnfs/{id} Destroy a VNF instance.
VnfApi shutdown_vnf POST /vnfs/{id}/shutdown Shut down a VNF instance.

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

[email protected]

nfvo_module_client's People

Contributors

stasla avatar tu-nv avatar

Watchers

James Cloos avatar  avatar Seyeon Jeong avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.