GitXplorerGitXplorer
p

python-genieacs-nbi-client

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
978738f3839a5a291fc16cb4dc675d61ad615fdc

task's parameter connection_request is optional

pp-alik committed 6 years ago
Unverified
927424dfdfee1839871012b53691a0e960291336

rst2html.py

pp-alik committed 6 years ago
Unverified
708983119e24edf78c32ca85420333630da9e02a

device_url supports device_id=None

pp-alik committed 6 years ago
Unverified
9bfd1a31191eac67b11fa0e290ef4d7b9b3ae7f0

cleanup nix configuration

pp-alik committed 6 years ago
Unverified
aafab8a062ff509d772bcedcfb236ee01ffec33b

replace which by type -t for sake of alias.

pp-alik committed 6 years ago
Unverified
805445a032e11d976498e4a78c8e548f4e60baea

remove docs/source/modules/index.rst

committed 6 years ago

README

The README file for this repository.

============================ python-genieacs-nbi-client

The package contains Rest API client implementation to communicate with GenieACS NBI <https://github.com/genieacs/genieacs/>_.

|travis-badge|_ |coveralls-badge|_

.. |travis-badge| image:: https://travis-ci.org/p-alik/python-genieacs-nbi-client.svg?branch=master .. _travis-badge: https://travis-ci.org/p-alik/python-genieacs-nbi-client

.. |coveralls-badge| image:: https://coveralls.io/repos/github/p-alik/python-genieacs-nbi-client/badge.svg?branch=master .. _coveralls-badge: https://coveralls.io/github/p-alik/python-genieacs-nbi-client?branch=master

Requirements

  • Python 3.5 over

Setup

::

$ python -m pip install --user genieacs-nbi-client or (venv)$ python -m pip install genieacs-nbi-client

Usage

::

$ python

from genieacs.nbi import client cl = client.Client(verbose=True, address="http://foo.bar") nbi_resp_js = cl.dispatch_device_task(DEVICE_ID, {"name":"setParameterValues", "parameterValues":[["InternetGatewayDevice.ManagementServer.PeriodicInformEnable", 300, "xsd:int"]]})