Skip to main content

Nokia SR Linux NetOps Development Kit

Project description


The Nokia SR Linux NetOps Development Kit (NDK) allows operators to program high-performance, integrated agents that run alongside the Nokia Service Router Linux (SR Linux).

This repository contains generated Python code for SR Linux NDK Protocol buffers.

Installation

The Python srlinux-ndk package version is synchronized with the SR Linux NDK protobuf releases.

Use git tags to check out a particular version of the generated package files.

To install the srlinux-ndk python package with pip, use one of the following:

# install the latest version from pypi
pip install srlinux-ndk
# install the specific version from pypi
pip install srlinux-ndk==0.1.0

# install the latest version from the main github branch
pip install https://github.com/nokia/srlinux-ndk-py/archive/main.zip
# install the specific version from github
pip install https://github.com/nokia/srlinux-ndk-py/archive/0.1.0.zip

These installation steps will install the srlinux-ndk package on your system. To import the modules from this package:

from ndk import appid_service_pb2

Code generation

This code has been generated from SR Linux NDK Protocol buffers using protoc compiler with the gRPC plugins for Go and Python.

gen.sh script calls the protoc container using the ndk protobufs version as its single argument.

bash gen.sh v0.1.1

The python package will appear under ndk name in the current working directory.

Publishing

To publish the generated package on pypi,

  1. Change the version of the package in setup.py accordingly.
  2. Create a github release using UI or gh cli tool.

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

srlinux-ndk-0.4.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

srlinux_ndk-0.4.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file srlinux-ndk-0.4.0.tar.gz.

File metadata

  • Download URL: srlinux-ndk-0.4.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for srlinux-ndk-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e557e659313410101ce4e0ea7dd2cc5627e947010b1c387ecb6ddaec819c91d4
MD5 4bfac78cbf03fa03c117b13552206136
BLAKE2b-256 0138677987797652a07c54890fdfac2512764b1c910eb39d611f5cabf93d31c0

See more details on using hashes here.

File details

Details for the file srlinux_ndk-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: srlinux_ndk-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for srlinux_ndk-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f2adf7cefd72528dfa8c60920da00d9e98f0d8aa774a81e434667551cc442a6
MD5 532da074d7d1fe3c8fea08636117d8d6
BLAKE2b-256 d4d7fdc9fdea2c2216844ffa4d59d28b8599643a86b71a9b535afebc716c6efb

See more details on using hashes here.

Supported by

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