Skip to main content

Evolved5G CLI prototype

Project description


Evolved5G CLI & SDK


.. image:: https://img.shields.io/pypi/v/evolved5g.svg :target: https://pypi.python.org/pypi/evolved5g

.. image:: https://readthedocs.org/projects/evolved5g_cli/badge/?version=latest :target: https://evolved5g_cli.readthedocs.io/en/latest/?version=latest :alt: Documentation Status

  • Free software: Apache Software License 2.0

======== Features

  • Generate a new python NetApp from a template
  • Assist in connecting the new NetApp & repo with EVOLVED-5G CI/CD pipeline
  • SDK Libraries for interacting with the 5G-API
  • Assist in running verification pipelines for NetApps

================== Useful Information

The purpose of this guide is to help developers, in the EVOLVED-5G project scope, to develop a NetApp.

First, the partner to be interested in developing a NetApp must send an email to approval@evolved-5g.eu to receive access to the GitHub organization.

The email must contain the GitHub username to be added to the GitHub organization.

You will receive an invitation which you will have to accept in order to have owner permissions in this organisation, which can be found here: https://github.com/EVOLVED-5G

Once the developer has access to the organisation, he will want to create a new repository from a template. To do this, a template repository has been created and will be visible in the organisation, which contains a tool called Cookiecutter along with some Python scripts. With such scripts, the developer will be asked to introduce some inputs necessary in order to create a new repository, such repository will contain all the necessary folder and files for the creation/development of a NetApp.

First of all, in order to be able to work with Cookiecutter, it is mandatory to install it on your local computer or virtual machine. Below are the commands that should be executed to work with Cookiecutter (these commands have been tested under Ubuntu, but it is also possible to use this tool on Windows and Mac (to be checked)).

This guide has been developed to work with Ubuntu OS, so all the commands have been only tested under Ubuntu, if other OS will be used, please have in mind some of this command will differ.

To install and use the tool, please refer to:

======= History

0.7.6 (2022-07-04)

  • Documentation has been updated accordingly
  • Changes and optimizations for SDK pipeline integration

0.7.5 (2022-06-14)

  • New build pipeline has been implemented
  • Documentation has been updated accordingly

0.7.4 (2022-05-27)

  • Check if the NetApp repository on which you want to run the pipeline exists on GitHub

0.7.3 (2022-05-09)

  • Bug fix on value LIVE_STREAMING of enum NonGBRQosReference.
  • Rename method at examples>api.py

0.7.2 (2022-04-01)

  • LocationSubscriber now has a new method get_coordinates_of_cell() that allows a developer to retrieve the location of a cell, given the cell id.

0.7.1 (2022-03-14)

  • Update deploy and destroy pipelines.

0.7.0 (2022-02-28)

  • Adding manage exceptions features and documentation update.

0.6.9 (2022-02-23)

  • Improvement for check-pipeline function

0.6.8 (2022-02-03)

  • Changed Template repository location fode to NetApp Template

  • Update on the NEF endpoints for monitoring event api and session with Qos. This ensures compatibility with latest NEF release

0.6.2 (2022-01-28)

  • Improvements on LocationSubscriber. A new method has been implemented with name get_location_information

With the new method the net app developer has the option to request for location information for a device just once. No need to create subscriptions or maintain a local web server in order to get notified for location changes. When a call to get_location_information is made, the 5G-API responds instantly with the location information (the cell id the device, that is being monitored, is connected to)

  • Examples of usages have been updated File location_subscriber_examples.py now showcases how the new method can be called

0.6.1 (2022-01-26)

  • Added Pypi functionality to automate generate a new SDK pip package

0.6.0 (2021-06-12)

  • Added QoSAwareness to SDK. A class that allows to establish and monitor Non-GBR and GBR QoS targets
  • Support for the latest version of NEF (v1.2.0)
  • LocationSubscriber now only requires an external_id as user equipment identifier. IP_4 and IP_V6 have been removed from method create_subscription()

0.5.1 (2021-03-11)

  • Added class LocationSubscriber to SDK. A class that allows to get location monitoring reports from the 5G-API
  • Clean-up the code
  • New cli_helper.py class created to improve the code
  • cli.py class updated for better practices
  • Added new command options to interact with the pipelines

0.1.9 (2021-20-09)

  • Added version option to CLI
  • Changed 'generate' command to point to EVOLVED-5G/template at Github
  • Added template option to point to your user's template. Used in tests by default pointing at skolome/netapp-ckcutter-template

0.1.4 (2021-17-09)

  • Added documentation to "generate" command
  • Added documentation to readthedocs

0.1.1 (2021-07-08)

  • Generate command more fleshed out
  • Added more detailed pytests

0.1.0 (2021-06-30)

  • First prototype implementation

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

evolved5g-0.7.6.tar.gz (489.3 kB view details)

Uploaded Source

Built Distributions

evolved5g-0.7.6-py3.8.egg (322.4 kB view details)

Uploaded Source

evolved5g-0.7.6-py2.py3-none-any.whl (138.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file evolved5g-0.7.6.tar.gz.

File metadata

  • Download URL: evolved5g-0.7.6.tar.gz
  • Upload date:
  • Size: 489.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for evolved5g-0.7.6.tar.gz
Algorithm Hash digest
SHA256 f8ac25c50aba7f5d574c4f1324451e94e51af7b54221042b2f0107827d714cb7
MD5 abaec7ce095f0b8bc6c369e822276079
BLAKE2b-256 81a81908aa399de3d785649ad68f1397ea2400e229f89e8d105c7a3921f26dfa

See more details on using hashes here.

File details

Details for the file evolved5g-0.7.6-py3.8.egg.

File metadata

  • Download URL: evolved5g-0.7.6-py3.8.egg
  • Upload date:
  • Size: 322.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for evolved5g-0.7.6-py3.8.egg
Algorithm Hash digest
SHA256 c5a1eb739762e172f4ace22235a4ddb886686de43923d8e7b055d128e01ebe80
MD5 1b5455b6155d5e0f351829531f2539de
BLAKE2b-256 2e4e759fedc5753625e3729b38fe4303b2989fc60e6240490db324df7a367741

See more details on using hashes here.

File details

Details for the file evolved5g-0.7.6-py2.py3-none-any.whl.

File metadata

  • Download URL: evolved5g-0.7.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 138.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for evolved5g-0.7.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cca4fe72d23b17b8f491ed79a23d00de5440bfd0589c39f4200bbc22ceefd6f6
MD5 5369f0334f895e00475a22640e5ed2c9
BLAKE2b-256 321b7d12708955afe1135b4ac7532561cf1d47b5ac6b9329a40429f2063ededd

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