Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

OpenDaylight Client Library and Command

Project description

https://travis-ci.org/yuuichi-fujioka/python-odlclient.svg?branch=master

OpenDaylight Client for Python

How To Use

install

pypi package:

pip install python-odlclient

source:

pip install git+https://github.com/yuuichi-fujioka/python-odlclient.git

Run Command

OpenDaylight Host, Port, User and Password are passed via Environment Variable. e.g.:

ODL_HOST=192.168.0.100 odl node list

Environment Vairable Names are:

Name Description
ODL_HOST OpenDaylight Hostname(default: localhost)
ODL_PORT OpenDaylight API Port(default: 8181)
ODL_USER OpenDaylight API User Name(default admin)
ODL_PASS OpenDaylight API Password(default: password)
ODL_URL Default Restconf API Path(default: http://${ODL_HOST}:${ODL_PORT}/restconf/operational/)
  • List Nodes
odl node list
  • List Tables
odl table list openflow:1111111111
  • List Flows
odl flow list openflow:1111111111
  • List Node Connectors
odl connector list openflow:1111111111
  • Add Flow
odl flow create openflow:201106209703495 100 29 --dl-src 00:00:00:00:00:00/01:00:00:00:00:00 --instructions output:1,output:2

If you want to know HTTP Request/Response details, you may set –debug and –verbose options. i.e.

odl --deubg --verbose node list

Project details


Release history Release notifications

This version
History Node

0.0.1

History Node

0.0.1.dev13

History Node

0.0.1.dev12

History Node

0.0.1.dev11

History Node

0.0.1.dev10

History Node

0.0.1.dev9

History Node

0.0.1.dev8

History Node

0.0.1.dev7

History Node

0.0.1.dev6

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
python_odlclient-0.0.1-py2-none-any.whl (9.6 kB) Copy SHA256 hash SHA256 Wheel 2.7 Nov 14, 2017
python-odlclient-0.0.1.tar.gz (12.5 kB) Copy SHA256 hash SHA256 Source None Nov 14, 2017

Supported by

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