1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
22 "description": "OpenSource-xxx",
23 "cookbook_versions": {
24 "Deploy-SDandC": "= 1.0.0"
26 "json_class": "Chef::Environment",
27 "chef_type": "environment",
28 "default_attributes": {
34 "application": "eth0",
38 "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi",
39 "ueb_url_list": "10.0.11.1,10.0.11.1",
40 "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
41 "app_key": "x9UfO7JsDn8BESVX",
42 "inbox_name": "ECOMP-PORTAL-INBOX",
43 "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm",
44 "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
45 "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
48 "PublicKey": "iPIxkpAMI8qTcQj8",
49 "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
50 "fqdn": ["10.0.11.1", "10.0.11.1"]
59 "override_attributes": {
69 "cluster_name": "SDC-ES-",
70 "ES_path_home": "/usr/share/elasticsearch",
71 "ES_path_data": "/usr/share/elasticsearch/data",
72 "num_of_replicas": "0",
76 "concurrent_reads": "32",
78 "data_dir": "/var/lib/cassandra/data",
79 "hinted_handoff_enabled": "true",
80 "cassandra_user": "asdc_user",
81 "cassandra_password": "Aa1234%^!",
82 "concurrent_writes": "32",
83 "cluster_name": "SDC-CS-",
84 "multithreaded_compaction": "false",
85 "cache_dir": "/var/lib/cassandra/saved_caches",
86 "log_file": "/var/lib/cassandra/log/system.log",
87 "phi_convict_threshold": "8",
88 "commitlog_dir": "/var/lib/cassandra/commitlog"
93 Backend Configurations
94 ======================
101 # Request headers for identification of the user that made the request
102 identificationHeaderFields:
106 - HTTP_IV_REMOTE_ADDRESS
109 # Catalog backend hostname
110 beFqdn: <%= @host_ip %>
112 # Catalog backend http port
113 beHttpPort: <%= @catalog_port %>
115 # Catalog backend http context
116 beContext: /sdc/rest/config/get
118 # Catalog backend protocol
121 # Catalog backend ssl port
122 beSslPort: <%= @ssl_port %>
124 # Catalog backend configuration vesrion
127 # Catalog backend configuration release date
130 # Catalog tosca current conformance version
131 toscaConformanceLevel: 4.0
133 # Catalog minimum tosca conformance version
134 minToscaConformanceLevel: 3.0
136 # Titan configuration file location
137 titanCfgFile: /var/lib/jetty/config/catalog-be/titan.properties
139 # Does titan holds the persistency data in memory
140 titanInMemoryGraph: false
142 # The timeout for titan to lock on an object in a transaction
143 titanLockTimeout: 1800
145 # The interval to try and reconnect to titan DB when it is down during SDC startup
146 titanReconnectIntervalInSeconds: 3
148 # The read timeout towards Titan DB when health check is invoked
149 titanHealthCheckReadTimeout: 1
151 # The interval to try and reconnect to Elasticsearch when it is down during SDC startup
152 esReconnectIntervalInSeconds: 3
154 # The interval to try and reconnect to UEB health check when it is down during SDC startup
155 uebHealthCheckReconnectIntervalInSeconds: 15
157 # The read timeout towards UEB when helath check is invoked
158 uebHealthCheckReadTimeout: 4
160 # Protocols being used in SDC
166 # Under each import there is the file the data will be imported from
173 file: capabilities.yml
175 file: relationships.yml
182 **Is this neccessary**
189 cassandraHosts: <%= @cassandra_ip %>
191 # Cassandra local data center name
192 localDataCenter: <%= @DC_NAME %>
194 # The read timeout towards Cassandra when health check is invoked
195 reconnectTimeout : 30000
197 # Should an authentication be used when accessing Cassandra
200 # Username for accessing Cassandra
203 # Password for accessing Cassnadra
204 password: {{cassandra_password}}
206 # Does an ssl should be used
209 # Location of .truststore file
210 truststorePath : /config/.truststore
212 # The .truststore file password
213 truststorePassword : Aa123456
215 # Keyspaces configuration for Cassandra
217 - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
218 - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
219 - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
220 - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
221 - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
223 **Commented out. Is this neccessary**
224 #Application-specific settings of ES
227 # Mapping of index prefix to time-based frame. For example, if below is configured:
229 # - indexPrefix: auditingevents
230 # creationPeriod: minute
232 # then ES object of type which is mapped to "auditingevents-*" template, and created on 2015-12-23 13:24:54, will enter "auditingevents-2015-12-23-13-24" index.
233 # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
234 # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
236 # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
238 # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
240 # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
241 indicesTimeFrequency:
242 - indexPrefix: auditingevents
243 creationPeriod: month
244 - indexPrefix: monitoring_events
245 creationPeriod: month
247 # Artifact types placeholder
264 - AAI_VF_MODULE_MODEL
265 - AAI_VF_INSTANCE_MODEL
272 # License types placeholder
278 #Deployment artifacts placeHolder
279 resourceTypes: &allResourceTypes
288 **Commented out. is this neccessary**
289 # validForResourceTypes usage
290 # validForResourceTypes:
294 deploymentResourceArtifacts:
296 # Deployment resource instance artifacts placeholders
297 # For each artifact the following properties exists:
299 # displayName - The display name of the artifact
300 # type - The type of the artifact
301 # description - The description of the artifact
302 # fileExtension - The file extension of the artifact file for uploading
303 deploymentResourceInstanceArtifacts:
305 displayName: "HEAT ENV"
307 description: "Auto-generated HEAT Environment deployment artifact"
310 displayName: "VF HEAT ENV"
312 description: "VF Auto-generated HEAT Environment deployment artifact"
315 # Tosca artifacts placeholders
316 # For each artifact there is a template and a scar.
317 # For each one the following properties exists:
319 # artifactName - The suffix of the artifact file
320 # displayName - The display name of the artifact
321 # type - The type of the artifact
322 # description - The description of the artifact
325 artifactName: -template.yml
326 displayName: Tosca Template
328 description: TOSCA representation of the asset
330 artifactName: -csar.csar
331 displayName: Tosca Model
333 description: TOSCA definition package of the asset
335 # Resource category to exclude
336 excludeResourceCategory:
339 # Resource type to exclude
343 # Informational resource artifacts placeHolder
344 # For each artifact the following properties exists:
346 # displayName - The display name of the artifact
347 # type - The type of the artifact
348 informationalResourceArtifacts:
350 displayName: Features
353 displayName: Capacity
356 displayName: Vendor Test Result
359 displayName: Test Scripts
362 displayName: Cloud Questionnaire (completed)
364 HEATTemplateFromVendor:
365 displayName: HEAT Template from Vendor
367 resourceSecurityTemplate:
368 displayName: Resource Security Template
371 # Service category to exclude
372 excludeServiceCategory:
374 # Informational service artifacts placeHolder
375 # For each artifact the following properties exists:
377 # displayName - The display name of the artifact
378 # type - The type of the artifact
379 informationalServiceArtifacts:
381 displayName: Service Artifact Plan
383 summaryOfImpactsToECOMPElements:
384 displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
386 controlLoopFunctions:
387 displayName: Control Loop Functions
390 displayName: Dimensioning Info
393 displayName: Affinity Rules
396 displayName: Operational Policies
398 serviceSpecificPolicies:
399 displayName: Service-specific Policies
402 displayName: Engineering Rules (ERD)
404 distributionInstructions:
405 displayName: Distribution Instructions
407 certificationTestResults:
408 displayName: TD Certification Test Results
410 deploymentVotingRecord:
411 displayName: Deployment Voting Record
413 serviceQuestionnaire:
414 displayName: Service Questionnaire
416 serviceSecurityTemplate:
417 displayName: Service Security Template
420 # Service api artifacts placeHolder
421 # For each artifact the following properties exists:
423 # displayName - The display name of the artifact
424 # type - The type of the artifact
427 displayName: Configuration
430 displayName: Instantiation
433 displayName: Monitoring
436 displayName: Reporting
446 additionalInformationMaxNumberOfKeys: 50
452 probeIntervalInSeconds: 15
453 defaultHeatArtifactTimeoutMinutes: 60
455 # Service deployment artifacts placeHolder
456 # For each artifact the following properties exists:
458 # acceptedTypes - File types that can be uploaded as each artifact
459 serviceDeploymentArtifacts:
466 MODEL_INVENTORY_PROFILE:
472 UCPE_LAYER_2_CONFIGURATION:
483 AAI_VF_INSTANCE_MODEL:
494 # Resource deployment artifacts placeHolder
495 # For each artifact the following properties exists:
497 # acceptedTypes - File types that can be uploaded as each artifact
498 # validForRespurceTypes - Resource types that support each artifact.
499 # If left empty it means all resource types are valid
500 resourceDeploymentArtifacts:
505 validForResourceTypes: *allResourceTypes
510 validForResourceTypes: *allResourceTypes
515 validForResourceTypes: *allResourceTypes
520 validForResourceTypes: *allResourceTypes
523 validForResourceTypes: *allResourceTypes
527 validForResourceTypes: *allResourceTypes
531 validForResourceTypes: *allResourceTypes
535 validForResourceTypes: *allResourceTypes
539 validForResourceTypes: *allResourceTypes
540 MODEL_INVENTORY_PROFILE:
543 validForResourceTypes: *allResourceTypes
547 validForResourceTypes: *allResourceTypes
548 LIFECYCLE_OPERATIONS:
552 validForResourceTypes:
559 validForResourceTypes: *allResourceTypes
563 validForResourceTypes: *allResourceTypes
566 validForResourceTypes:
572 validForResourceTypes:
578 validForResourceTypes:
584 validForResourceTypes:
589 validForResourceTypes:
594 validForResourceTypes:
600 validForResourceTypes:
605 validForResourceTypes:
609 validForResourceTypes: *allResourceTypes
612 validForResourceTypes: *allResourceTypes
615 validForResourceTypes: *allResourceTypes
621 validForResourceTypes:
625 # Resource instance deployment artifacts placeHolder
626 # For each artifact the following properties exists:
628 # acceptedTypes - File types that can be uploaded as each artifact
629 # validForRespurceTypes - Resource types that support each artifact.
630 # If left empty it means all resource types are valid
631 resourceInstanceDeploymentArtifacts:
645 DCAE_INVENTORY_TOSCA:
652 DCAE_INVENTORY_POLICY:
657 DCAE_INVENTORY_BLUEPRINT:
659 DCAE_INVENTORY_EVENT:
663 validForResourceTypes: *allResourceTypes
666 validForResourceTypes: *allResourceTypes
673 # Resource informational artifacts placeHolder
674 # For each artifact the following properties exists:
676 # acceptedTypes - File types that can be uploaded as each artifact
677 # validForRespurceTypes - Resource types that support each artifact.
678 # If left empty it means all resource types are valid
679 resourceInformationalArtifacts:
682 validForResourceTypes: *allResourceTypes
685 validForResourceTypes: *allResourceTypes
688 validForResourceTypes: *allResourceTypes
691 validForResourceTypes: *allResourceTypes
694 validForResourceTypes: *allResourceTypes
697 validForResourceTypes: *allResourceTypes
700 validForResourceTypes: *allResourceTypes
703 validForResourceTypes: *allResourceTypes
706 validForResourceTypes: *allResourceTypes
709 validForResourceTypes:
720 validForResourceTypes: *allResourceTypes
723 validForResourceTypes: *allResourceTypes
726 validForResourceTypes:
731 resourceInformationalDeployedArtifacts:
733 requirementsToFulfillBeforeCert:
735 capabilitiesToConsumeBeforeCert:
739 - /sdc2/rest/healthCheck
742 cleanComponentsConfiguration:
743 cleanIntervalInMinutes: 1440
749 artifactsIndex: resources
752 heatEnvArtifactHeader: ""
753 heatEnvArtifactFooter: ""
757 # Onboarding protocol
760 # Onboarding backend hostname
761 host: <%= @host_ip %>
763 # Onboarding backend http port
764 port: <%= @catalog_port %>
766 # The url that being used when downloading CSARs
767 downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
769 # Url for onboarding health check
770 healthCheckUri: "/onboarding-api/v1.0/healthcheck"
783 changePriorityUser: ecompasdc
784 changePriorityPassword: ecompasdc123
786 publishNetworkBody: '{"note":"comment"}'
788 beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
789 feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
796 pollIntervalInSec: 60
803 resourcesSizeInCache: 300
804 servicesSizeInCache: 200
805 productsSizeInCache: 100
807 syncIntervalInSecondes: 43200
808 waitOnShutDownInMinutes: 10
809 numberOfCacheWorkers: 4
813 stringMaxLength: 2500
815 # Should audit be disabled
820 min_vf_module_instances:
823 max_vf_module_instances:
831 forNonBaseModule: Expansion
833 # For each generic node type defining it's coresponding class
834 genericAssetNodeTypes:
835 VFC: org.openecomp.resource.abstract.nodes.VFC
836 CVFC: org.openecomp.resource.abstract.nodes.VFC
837 VF : org.openecomp.resource.abstract.nodes.VF
838 PNF: org.openecomp.resource.abstract.nodes.PNF
839 Service: org.openecomp.resource.abstract.nodes.service
842 BE-distribution-engine-configuration.yaml
843 -----------------------------------------
849 <% node['UEB']['fqdn'].each do |conn| -%>
854 uebPublicKey: <%= node['UEB']['PublicKey'] %>
857 uebSecretKey: <%= node['UEB']['SecretKey'] %>
859 # Topic name for receiving distribution notification
860 distributionNotifTopicName: SDC-DISTR-NOTIF-TOPIC
862 # Topic name for distribution status
863 distributionStatusTopicName: SDC-DISTR-STATUS-TOPIC
865 # Distibution initializtion retry interval time
866 initRetryIntervalSec: 5
868 # Distribution initializtion maximum interval time
869 initMaxIntervalSec: 60
872 distribNotifServiceArtifactTypes:
877 distribNotifResourceArtifactTypes:
882 # Distribution environments
884 - <%= node.chef_environment %>
886 distributionStatusTopic:
888 # Distribution status polling interval
889 pollingIntervalSec: 60
891 # Distribution status fetch time
894 # Distribution status consumer group
895 consumerGroup: sdc-<%= node.chef_environment %>
897 # Distribution status consumer id
898 consumerId: sdc-<%= node.chef_environment %>1
900 distributionNotificationTopic:
902 # Minimum pool size for distribution notifications
905 # Maximum pool size for distribution notifications
906 maxThreadPoolSize: 10
908 # Maximum waiting time after sending a notification
909 maxWaitingAfterSendingSeconds: 5
916 # STarting the distribution engine
917 startDistributionEngine: true
919 #This is false by default, since ONAP Dmaap currently doesn't support https
920 # Does https should be used with Dmaap
921 useHttpsWithDmaap: false
924 BE-onboarding-configuration.yaml
925 --------------------------------
931 # Backend onboarding notifications polling interval in milliseconds
932 pollingIntervalMsec: 2000
934 # Backend onboarding notifications selection size
937 # Backend onboarding norifications backend hostname
938 beHost: <%= @catalog_ip %>
940 # Backend onboarding notifications backend http port
941 beHttpPort: <%= @catalog_port %>
949 # Titan storage backend
950 storage.backend=cassandra
952 # Titan storage hostname
953 storage.hostname=<%= @CASSANDRA_IP %>
955 # Titan storage port]
958 # Titan storage username
959 storage.username=<%= @CASSANDRA_USR %>
961 # Titan storage password
962 storage.password=<%= @CASSANDRA_PWD %>
964 # Titan storage connection timeout
965 storage.connection-timeout=10000
967 # Titan cassandra keyspace name
968 storage.cassandra.keyspace=sdctitan
970 # Is Titan cassandra ssl is enabled
971 storage.cassandra.ssl.enabled=false
973 # Titan cassandra ssl truststore file location
974 storage.cassandra.ssl.truststore.location=/var/lib/jetty/config/.truststore
976 # Titan cassandra ssl truststore file password
977 storage.cassandra.ssl.truststore.password=Aa123456
979 # Does titan should use cache
980 cache.db-cache = false
983 cache.db-cache-clean-wait = 20
984 cache.db-cache-time = 180000
985 cache.db-cache-size = 0.5
987 # Titan cassandra read consistency level
988 storage.cassandra.read-consistency-level=LOCAL_QUORUM
990 # Titan cassandra write consistency level
991 storage.cassandra.write-consistency-level=LOCAL_QUORUM
993 # Titan cassandra replication strategy class name
994 storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.NetworkTopologyStrategy
996 # Titan cassandra replication startegy options
997 storage.cassandra.replication-strategy-options=<%= @DC_NAME %>,<%= @rep_factor %>
999 # Titan cassandra local data center name
1000 storage.cassandra.astyanax.local-datacenter=<%= @DC_NAME %>
1002 **Need to add data**
1003 storage.lock.retries=5
1004 storage.lock.wait-time=500
1007 Frontend Configuration
1008 ======================
1010 FE-configuration.yaml
1011 ---------------------
1015 # Catalog frontend hostname
1016 feFqdn: <%= @fe_host_ip %>
1018 # Catalog backend hostname
1019 beHost: <%= @be_host_ip %>
1021 # Catalog backend http port
1022 beHttpPort: <%= @catalog_port %>
1024 # Catalog backend http context
1025 beContext: /sdc2/rest/v1/catalog/upload/resources
1027 # Catalog backend protocol
1030 # Catalog backend ssl port
1031 beSslPort: <%= @ssl_port %>
1033 # Threadpool size for handling requests
1036 # Request processing timeout (seconds)
1039 # Health check timeout in milliseconds
1040 healthCheckSocketTimeoutInMs: 5000
1042 # Health check inteval in seconds
1043 healthCheckIntervalInSeconds: 5
1047 # Onboarding protocol
1050 # Onboarding frontend hostname
1051 host: <%= @fe_host_ip %>
1053 # Onboarding frontend port
1056 # Onboarding frontend health check url
1057 healthCheckUri: "/onboarding/v1.0/healthcheck"
1059 # Request headers for identification of the user that made the request
1060 identificationHeaderFields:
1062 - &HTTP_IV_USER HTTP_IV_USER
1068 - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID
1069 - &csp-attuid csp-attuid
1071 - &HTTP_CSP_WSTYPE HTTP_CSP_WSTYPE
1072 - &csp-wstype csp-wstype
1074 # Optional request headers
1075 optionalHeaderFields:
1077 - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
1078 - &csp-firstname csp-firstname
1080 - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
1081 - &csp-lastname csp-lastname
1083 - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
1084 - &iv-remote-address iv-remote-address
1086 - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL
1087 - &csp-email csp-email
1089 # Frontend configuration version
1092 # Frontend configuration release date
1093 released: 2012-11-30
1095 # Connection parameters
1097 url: jdbc:mysql://localhost:3306/db
1100 # Protocols being used in SDC
1105 **Need to add data**
1109 probeIntervalInSeconds: 15
1112 kibanaHost: localhost
1117 # Kibana usage protocol
1118 kibanaProtocol: http
1121 FE-onboarding-configuration.yaml
1122 --------------------------------
1128 # Frontend onboarding notifications polling interval in milliseconds
1129 pollingIntervalMsec: 2000
1131 # Frontend onboarding notifications selection size
1134 # Frontend onboarding norifications backend hostname
1135 beHost: <%= @catalog_ip %>
1137 # Frontend onboarding notifications backend http port
1138 beHttpPort: <%= @catalog_port %>