OpenDaylight Client Library and Command
Project description
# 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
```
## 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
```
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
File details
Details for the file python-odlclient-0.0.1.dev7.tar.gz.
File metadata
- Download URL: python-odlclient-0.0.1.dev7.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc439a85d1ff43772c071e1bf564f343d8fb7735b199c0781c22149957c961d3
|
|
| MD5 |
29f15c1b85c2e09c256deb6a6100af75
|
|
| BLAKE2b-256 |
6263e9da53892b5c7737f80106cb596762de97ee8e60d3f2c070d6197aa21fe2
|