Skip to main content

OpenDaylight Client Library and Command

Project description

https://travis-ci.org/yuuichi-fujioka/python-odlclient.svg?branch=master

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

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.dev10.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_odlclient-0.0.1.dev10-py2-none-any.whl (9.5 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for python-odlclient-0.0.1.dev10.tar.gz
Algorithm Hash digest
SHA256 17e4d0682bda13bef515b242fb089668080ce5ce2769a0b9b4b55075e5e904a1
MD5 9cf65e544c2116718fc7ac925c90658a
BLAKE2b-256 a2ecbd3856911f3d9674615eccb63f765a0a1394f908e98d625f035631727bdd

See more details on using hashes here.

File details

Details for the file python_odlclient-0.0.1.dev10-py2-none-any.whl.

File metadata

File hashes

Hashes for python_odlclient-0.0.1.dev10-py2-none-any.whl
Algorithm Hash digest
SHA256 be64a75097540255b0014b95fb34f59a4a6f766d5b973f7ad2c7d7a895a21114
MD5 90f30ac1540a5a2272124196088e9721
BLAKE2b-256 0451ad8e256d6bffe69d97a4855294dbdeca97e7db1397d594accdfc5f337dce

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