OpenDaylight Client Library and Command
Project description
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
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
Close
Hashes for python-odlclient-0.0.1.dev9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 814ae89949a215c79d31b2db9852cd14c9f54072789da4fc204a5d7f90120ebf |
|
MD5 | 6cf0098a65ac4c8499bbcded984ed3fc |
|
BLAKE2b-256 | 19f9d10b001ad563562a872c0b95f0bc84ef3bfb02a814a6a9731e2b4e66a576 |
Close
Hashes for python_odlclient-0.0.1.dev9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4e3437b46df42d4accaa0bbde4d57122f83d5c49b56a51e31c64587e9d63ca0 |
|
MD5 | 93ed031ae1d69b5fb16db3c62fe231ff |
|
BLAKE2b-256 | 07e0c9ac1f1a05bbdaf4b193098381a717869d7c0af46d3539bfc51927164b9a |