Skip to main content
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

Metadata

Release files for python-odlclient 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-odlclient 0.0.1
File Size Uploaded
python-odlclient-0.0.1.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-odlclient 0.0.1
File Interpreter ABI Platform
python_odlclient-0.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 22.1 kB

Release files / python-odlclient-0.0.1.tar.gz

Download URL python-odlclient-0.0.1.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6c68024a8e454b0965f8e48f29b1be488071ba54f5f2b21080b9d08e439bd8a4
BLAKE2b-256 checksum
How to use checksums
f09bb704bb4d5e96c26a28237622fab1cc98fd3ba7401dad9833d68e7ee8f2b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python_odlclient-0.0.1-py2-none-any.whl

Download URL python_odlclient-0.0.1-py2-none-any.whl
Size 9.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
231c6acd17aa20ce0975db0553b1593a496c353510fb745a65675f912f417331
BLAKE2b-256 checksum
How to use checksums
77d5237c2f38147bb32b23060c7261d7d14084660c22a13795efeec991a2a0d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page