Metadata-Version: 2.0
Name: python-odlclient
Version: 0.0.1.dev10
Summary: OpenDaylight Client Library and Command
Home-page: https://github.com/yuuichi-fujioka/python-odlclient
Author: Yuuichi Fujioka
Author-email: fujioka.yuuichi@gmail.com
License: Apache License, Version 2.0
Platform: UNKNOWN
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Requires-Dist: six
Requires-Dist: requests
Requires-Dist: click
Requires-Dist: PrettyTable
Requires-Dist: xmltodict

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

OpenDaylight Client for Python
##############################

How To Use
==========

install
-------

pypi package:

.. code::

   pip install python-odlclient

source:

.. code::

   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.:

.. code::

   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

.. code::

   odl node list

* List Tables

.. code::

   odl table list openflow:1111111111

* List Flows

.. code::

   odl flow list openflow:1111111111

* List Node Connectors

.. code::

   odl connector list openflow:1111111111

* Add Flow

.. code::

   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



