Skip to main content

OpenHLTest Python Client

Project description

OpenHlTest Python Client

The openhltest folder is the repository for the OpenHlTest python client module.

Auto generated python client

The auto generated library will follow these guidelines:

  1. It will be auto-generated every time there is a model change that has been successfully validated.
  2. It will be hierarchical and match the hierarchy of the yang model.
  3. It will consist of base infrastructure that encapsulates transport, serialization and errors.
  4. Once the library has been generated and unit tests pass it will be packaged and posted on pypi.python.org.
  5. The library will be available for install using the command:
pip install openhltspirent

Base infrastructure that is not auto-generated

  1. Https transport class encapsulated in HttpTransport
  2. Crudx and utility methods encapsulated in Base

The pyang plugin python_client_plugin.py will auto generate the following

  1. classes for the following yang keywords:
    • container
    • list
  2. class @property accessors for the following yang keywords:
    • leaf
    • leaf-list
    • container
    • list
  3. class methods for the following yang keywords:
    • action
    • rpc
  4. class @property accessors to access child container, list classes

Documentation

upload the python package and the documentation browser

Sample code

Sample code is located in the openhltest/samples folder.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

openhltspirent-2.0.324-py2.py3-none-any.whl (5.3 MB view details)

Uploaded Python 2Python 3

File details

Details for the file openhltspirent-2.0.324-py2.py3-none-any.whl.

File metadata

  • Download URL: openhltspirent-2.0.324-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.5.3

File hashes

Hashes for openhltspirent-2.0.324-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 59da2ac3663f80f4d81df3f753f65d13af5e4df2254174c9e33fac25845699f4
MD5 045d318caa28773e45d091490820f29d
BLAKE2b-256 99c81ac00fb4248f984463741533793ef8de8d6ed44f35aa1d5267cc8bb80737

See more details on using hashes here.

Supported by

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