OpenDaylight Client Library and Command
Project description
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 |
OpenDaygight 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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python-odlclient-0.0.1.dev12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 020fa8619990a7df6382b8fc1c5fc5767e095e7371982f1e4969068a85abd2db |
|
MD5 | 0fcc4ba64670393afe876fceb3d7064f |
|
BLAKE2b-256 | f97a76a74ddac5f677eb9e7dc459adaa6a7f45d5bbafd3c9e2054bd3e3580aa4 |
Hashes for python_odlclient-0.0.1.dev12-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 421c454fceffefc5cb5b0e5068644d4b94fd4075998a4effd7b1c7b8b6a2fa97 |
|
MD5 | 87168aaa51eeaf5e032a1b3c051a847a |
|
BLAKE2b-256 | d619e100ed81219574484312b5981eeb3441e8cdb8bd25f21107c13946af5149 |