Installing with pip

$ pip install onapsdk

Customize the configuration

You can customize the global settings of onapsdk by creating an environment variable ONAP_PYTHON_SDK_SETTINGS and a file

By default the global settings are retrieved from the file located in src/onapsdk/configuration/ You can create your own customized configuration file and reference it through the environement variable. You can thus copy/paste the existing file, rename it as, adapt it with your favorite editor and export the environnement variable accordingly.

It can be useful to move from a nodeport to an an ingress based configuration or test different API versions.

$ export ONAP_PYTHON_SDK_SETTINGS="onapsdk.configuration.my_settings"