Setup, based on ONAP oom

Used for integration test

References:

Environment Variables

sdnc-image

Overall page is here: https://wiki.onap.org/display/DW/startODL.sh+-+Important+Environment+variables+and+their+description

env vardefault valuedescription
ENABLE_OAUTHfalse

enable oauth for login (oauth providers have to be configured in etc/oauth-provider.config.json in sdnc container

ENABLE_ODLUX_RBACfalseenable role based access control information for configurationApp
OAUTH_TOKEN_SECRETsecretkey to sign the token
OAUTH_TOKEN_ISSUERONAP SDNC
OAUTH_SUPPORT_ODLUSERStruelogin interface enabled for internal odl configured users
OAUTH_ODLUX_REDIRECT_URI/odlux/index.html#/oauth?token=OAuth redirect will be responded
OAUTH_HOST_URLnull => autodetectedimportant for reverse proxy use case
ODL_ADMIN_PASSWORDnoneODL admin user password. Mandatory parameter. If not specified, container terminates
ODL_ADMIN_USERNAME""->adminODL admin user name
ODL_REMOVEIDMDBtrue

if true the odl-sli default password setting are removed and new ODL_ADMIN_USERNAME/ODL_ADMIN_PASSWORD is configured.

If set to false, ODL_ADMIN_USERNAME needs to be "admin" and ODL_ADMIN_PASSWORD needs to be "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" (Unsecure, used internally for integration test)

sdnc-web-image

env vardefault valuedescription
WEBPROTOCOLHTTPprotocol for local webserver (HTTP=>http, HTTPS=>https)
WEBPORT8080port to listen for local webserver
SDNRPROTOCOLHTTPprotocol for remote opendaylight webserver (HTTP=>http, HTTPS=>https)
SDNRHOST172.18.0.3ip/fqdn for remote opendaylight webserver
SDNRPORT8181port for remote opendaylight webserver
TRPCEURL""url for remote transportpce webserver or empty (not set) for off e.g. http://10.20.0.7:8181
TOPOURL""url for remote topology api webserver or empty (not set) for off e.g http://10.20.0.4:3001
TILEURL""url for remote tile server or empty (not set) for off e.g. http://tiles.openstreetmap.org
DNS_RESOLVER1.1.1.1DNS for resolving TILEURL, not important if TILEURL is empty
ENABLE_OAUTHfalse

enable oauth for login (oauth providers have to be configured in etc/oauth-provider.config.json in sdnc container

ENABLE_POLICYfalseenable policy restricted access for configurationApp

odl-transportpce

env vardefault valuedescription



topology-api-server

env vardefault valuedescription



Paths for ingress/nginx

URLdescription
/apidoc
/restsRestconf RFC8040
/restconfResconf Biermann
/odlux
/yang-schema
/websocket
/about
/oauth2Not supported by Guilin
/ready
/topology(optional)
/transportpce(optional)
/tiles(optional)
/oauth(optional)
  • No labels