Skip to main content

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
```

Project details


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.dev7.tar.gz (11.3 kB) Copy SHA256 hash SHA256 Source None Feb 12, 2016

Supported by

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