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.

Source Distribution

python-odlclient-0.0.1.dev6.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file python-odlclient-0.0.1.dev6.tar.gz.

File metadata

File hashes

Hashes for python-odlclient-0.0.1.dev6.tar.gz
Algorithm Hash digest
SHA256 c0d94d749730af4f844baf2df4ef8507b57dd5930e68ff0db42c1bfac68cd146
MD5 9045654d5d1d75ea79ef688f107c23ae
BLAKE2b-256 ace79cd54af6178f57beb8bd37e60fe8d52812989eb44d4d46a628f2a2a54a74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page