.. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 ============= Configuration ============= .. contents:: :depth: 3 .. Global Configuration ==================== environment.json ---------------- :: { # Environment name "name": "xxx", # Environment description "description": "OpenSource-xxx", "json_class": "Chef::Environment", "chef_type": "environment", "default_attributes": { "disableHttp": false, # IPs used for docker configuration "CS_VIP": "yyy", "BE_VIP": "yyy", "ONBOARDING_BE_VIP": "yyy", "FE_VIP": "yyy", "ES_VIP": "yyy", "KB_VIP": "yyy", "DCAE_BE_VIP": "yyy", "DCAE_FE_VIP": "yyy", "interfaces": { "application": "eth0", "private": "eth1" }, # Configuration parameters used in portal properties "ECompP": { "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi", "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm", "cipher_key": "AGLDdG4D04BKm2IxIWEr8o==", "portal_user": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA=", "portal_pass": "j85yNhyIs7zKYbR1VlwEfNhS6b7Om4l0Gx5O8931sCI=" }, # Configuration parameters used by SDC to work with Dmaap "UEB": { "PublicKey": "iPIxkpAMI8qTcQj8", "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal", "fqdn": ["10.0.11.1", "10.0.11.1"] }, # IPs used for docker configuration "Nodes": { "CS": ["yyy"], "BE": "yyy", "ONBOARDING_BE": "yyy", "FE": "yyy", "ES": ["yyy"], "KB": "yyy" }, "Plugins": { "DCAE": { "dcae_discovery_url": "yyy", "dcae_source_url": "yyy" }, "WORKFLOW": { "workflow_discovery_url": "yyy", "workflow_source_url": "yyy" } }, "VnfRepo": { "vnfRepoPort": "8702", "vnfRepoHost": "10.0.14.1" } }, "override_attributes": { # FE and BE listening ports "FE": { "http_port": "8181", "https_port": "9443" }, "BE": { "http_port": "8080", "https_port": "8443" }, "ONBOARDING_BE": { "http_port": "8081", "https_port": "8445" }, # Elasticsearch configuration "elasticsearch": { "cluster_name": "SDC-ES-", "ES_path_home": "/usr/share/elasticsearch", "ES_path_data": "/usr/share/elasticsearch/data", "num_of_replicas": "0", "num_of_shards": "1" }, # Cassandra configuration "cassandra": { "concurrent_reads": "32", "num_tokens": "256", "data_dir": "/var/lib/cassandra/data", "hinted_handoff_enabled": "true", "cassandra_user": "asdc_user", "cassandra_password": "Aa1234%^!", "concurrent_writes": "32", "cluster_name": "SDC-CS-", "datacenter_name": "SDC-CS-", "multithreaded_compaction": "false", "cache_dir": "/var/lib/cassandra/saved_caches", "log_file": "/var/lib/cassandra/log/system.log", "phi_convict_threshold": "8", "commitlog_dir": "/var/lib/cassandra/commitlog", "socket_read_timeout": "20000", "socket_connect_timeout": "20000", "janusgraph_connection_timeout": "10000" } } } Backend Configurations ====================== Catalog Configurations ---------------------- BE-configuration.yaml ********************** :: # Request headers for identification of the user that made the request identificationHeaderFields: - HTTP_IV_USER - HTTP_CSP_FIRSTNAME - HTTP_CSP_LASTNAME - HTTP_IV_REMOTE_ADDRESS - HTTP_CSP_WSTYPE # Catalog backend hostname beFqdn: <%= @catalog_ip %> # Catalog backend http port beHttpPort: <%= @catalog_port %> # Catalog backend http context beContext: /sdc/rest/config/get # Catalog backend protocol beProtocol: http # Catalog backend ssl port beSslPort: <%= @ssl_port %> # Catalog backend configuration version version: 1.1.0 # Catalog backend configuration release date released: 2012-11-30 # Catalog tosca current conformance version toscaConformanceLevel: 5.0 # Catalog minimum tosca conformance version minToscaConformanceLevel: 3.0 # JanusGraph configuration file location janusGraphCfgFile: /var/lib/jetty/config/catalog-be/janusgraph.properties # Does JanusGraph hold the persistence data in memory janusGraphInMemoryGraph: false # The timeout for JanusGraph to lock on an object in a transaction janusGraphLockTimeout: 1800 # The interval to try and reconnect to JanusGraph DB when it is down during SDC startup janusGraphReconnectIntervalInSeconds: 3 # The read timeout towards JanusGraph DB when health check is invoked janusGraphHealthCheckReadTimeout: 1 # The interval to try and reconnect to Elasticsearch when it is down during SDC startup esReconnectIntervalInSeconds: 3 # The interval to try and reconnect to UEB health check when it is down during SDC startup uebHealthCheckReconnectIntervalInSeconds: 15 # The read timeout towards UEB when health check is invoked uebHealthCheckReadTimeout: 4 # Protocols being used in SDC protocols: - http - https # Default imports # Under each import there is the file the data will be imported from defaultImports: - nodes: file: nodes.yml - datatypes: file: data.yml - capabilities: file: capabilities.yml - relationships: file: relationships.yml - groups: file: group
parameters:
# Generic parameters used across all ONAP components
public_net_id: 00000000-0000-0000-0000-000000000000
key_name: onap_key
vm_base_name: vm1
pub_key: INSERT YOUR PUBLIC KEY HERE
nexus_repo: https://nexus.onap.org/content/sites/raw
nexus_docker_repo: nexus3.onap.org:10001
nexus_username: docker
nexus_password: docker
openstack_tenant_id: INSERT YOUR USERNAME HERE
openstack_username: INSERT YOUR PASSWORD HERE
openstack_api_key: INSERT YOUR API KEY HERE
openstack_password: INSERT YOUR PASSWORD HERE
openstack_auth_method: api-key
dmaap_topic: AUTO
artifacts_version: 1.1.0-SNAPSHOT
docker_version: 1.1-STAGING-latest
gerrit_branch: master
cloud_env: rackspace
# Parameters for DCAE instantiation
dcae_base_environment: RACKSPACE
dcae_zone: iad4
dcae_state: vi
nexus_repo_root: https://nexus.onap.org
nexus_url_snapshot: https://nexus.onap.org/content/repositories/snapshots
openstack_region: IAD
gitlab_branch: master
dcae_code_version: 1.1.0
# IP Address of DCAE VMs
dcae_ip_addr: 10.0.4.1
dcae_coll_ip_addr: 10.0.4.102
dcae_db_ip_addr: 10.0.4.101
dcae_hdp1_ip_addr: 10.0.4.103
dcae_hdp2_ip_addr: 10.0.4.104
dcae_hdp3_ip_addr: 10.0.4.105
#####################
# #
# ONAP repositories #
# #
#####################
aai_repo: http://gerrit.onap.org/r/aai/test-config
appc_repo: http://gerrit.onap.org/r/appc/deployment.git
dcae_repo: http://gerrit.onap.org/r/dcae/demo/startup/controller.git
mr_repo: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git
mso_repo: http://gerrit.onap.org/r/so/docker-config.git
policy_repo: http://gerrit.onap.org/r/policy/docker.git
portal_repo: http://gerrit.onap.org/r/portal.git
robot_repo: http://gerrit.onap.org/r/testsuite/properties.git
sdc_repo: http://gerrit.onap.org/r/sdc.git
sdnc_repo: http://gerrit.onap.org/r/sdnc/oam.git
vid_repo: http://gerrit.onap.org/r/vid.git