X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fnbi.cfg;h=60320ad87dc62f224e5e12bc59606e8886366b26;hp=94d3b26c24146128a4affb34b8840c206407ba1b;hb=4ca5152329fcba2f575085df9c0921f6d1135020;hpb=4836bacc5a3ef89cff93fd47240496baeb3c66ca diff --git a/osm_nbi/nbi.cfg b/osm_nbi/nbi.cfg index 94d3b26..60320ad 100644 --- a/osm_nbi/nbi.cfg +++ b/osm_nbi/nbi.cfg @@ -60,6 +60,7 @@ driver: "mongo" # mongo or memory host: "mongo" # hostname or IP port: 27017 name: "osm" +# replicaset: "replicaset" # user: "user" # password: "password" # commonkey: "commonkey" @@ -71,7 +72,6 @@ port: 9090 loglevel: "DEBUG" #logfile: /var/log/osm/nbi-database.log - [storage] driver: "local" # local filesystem # for local provide file path @@ -92,10 +92,29 @@ loglevel: "DEBUG" group_id: "nbi-server" [authentication] -backend: "internal" # internal or keystone +backend: "keystone" # internal or keystone or tacacs +# for keystone backend a comma separated list of user adn project _domain_name list can ba provided. +# NBI will try authenticate with all of then if domain is not provided in the content of a POST token +# user_domain_name: "default,ldap" +# project_domain_name: "default,ldap" + +# Keystone config parameters are +# auth_url: format https://:/v3 # v3 is necessary +# auth_host: ip address of keystone host. +# auth_port: port number of keystone. +# Provide either auth_url or (auth_host and auth_port) +# service_username: "nbi" +# service_password: "nbi" + # Only for test. It works without authorization using the provided user and project: # user_not_authorized: "admin" # project_not_authorized: "admin" +# TACACS configuration +# tacacs_host: "" +# tacacs_secret: "" +# tacacs_port: 49 # Default value +# tacacs_timeout: 10 # Default value + [rbac] # roles_to_operations: "roles_to_operations.yml" # initial role generation when database