From 9b2fab44c817284262bdb32e7af748f6f66ba4cb Mon Sep 17 00:00:00 2001 From: eh552t Date: Wed, 1 Feb 2017 16:20:20 +0100 Subject: Initial OpenECOMP MSO chef-repo commit Change-Id: Ie95a6fc67d5f42d785872b80f290500aee0a13d5 Signed-off-by: eh552t --- .gitreview | 5 + Berksfile.mso-docker | 9 ++ LICENSE.txt | 22 ++++ README.md | 10 ++ environments/mso-docker.json | 235 +++++++++++++++++++++++++++++++++++++++++++ metadata.rb | 7 ++ originalCommit | 1 + 7 files changed, 289 insertions(+) create mode 100644 .gitreview create mode 100644 Berksfile.mso-docker create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 environments/mso-docker.json create mode 100644 metadata.rb create mode 100644 originalCommit diff --git a/.gitreview b/.gitreview new file mode 100644 index 0000000..c662028 --- /dev/null +++ b/.gitreview @@ -0,0 +1,5 @@ +[gerrit] +host=gerrit.openecomp.org +port=29418 +project=mso/chef-repo.git + diff --git a/Berksfile.mso-docker b/Berksfile.mso-docker new file mode 100644 index 0000000..4639f41 --- /dev/null +++ b/Berksfile.mso-docker @@ -0,0 +1,9 @@ +source "https://supermarket.chef.io" +metadata + + +########################### +# APP +####### +#ST_MSOCHEF +cookbook "mso-config", git: "ssh://git@10.208.194.49/mso/mso-config.git", branch: "master" diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..cf1d4b6 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +/* + * ============LICENSE_START========================================== + * =================================================================== + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + * + * ECOMP and OpenECOMP are trademarks + * and service marks of AT&T Intellectual Property. + * + */ \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..4426b48 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +Overview +======== +Open source ECOMP MSO + +Repository Directories +====================== + +This repository contains several directories, and each directory contains a README file that describes what it is for in greater detail, and how to use it for managing your systems with Chef. + + diff --git a/environments/mso-docker.json b/environments/mso-docker.json new file mode 100644 index 0000000..9261372 --- /dev/null +++ b/environments/mso-docker.json @@ -0,0 +1,235 @@ +{ + "name": "mso-docker", + "description": "MSO Docker Images", + "chef_type": "environment", + "json_class": "Chef::Environment", + "default_attributes": + { + "mso_config_path": "/etc/mso/config.d/", + + "mso-api-handler-infra-config": + { + "bpelURL": "http://mso:8080", + "bpelAuth": "786864AA53D0DCD881AED1154230C0C3058D58B9339D2EFB6193A0F0D82530E1", + "camundaURL": "http://mso:8080", + "camundaAuth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1" + }, + + "asdc-connections": + { + "asdc-controller1": + { + "user": "user", + "consumerGroup": "mso", + "consumerId": "mso", + "environmentName": "PROD", + "asdcAddress": "asdc_hostname1:8443", + "password": "613AF3483E695524F9857643B697FA51C7A9A0951094F53791485BF3458F9EADA37DBACCCEBD0CB242B85B4062745247", + "pollingInterval": 60, + "pollingTimeout": 60, + "relevantArtifactTypes": "HEAT,HEAT_ENV,HEAT_VOL", + "activateServerTLSAuth": "false", + "keyStorePassword": "", + "keyStorePath": "" + }, + + "asdc-controller2": + { + "user": "user", + "consumerGroup": "mso", + "consumerId": "mso", + "environmentName": "PROD", + "asdcAddress": "asdc_hostname2:8443", + "password": "f3895035812addbf115bfaf7d2dc850e", + "pollingInterval": 60, + "pollingTimeout": 60, + "relevantArtifactTypes": "HEAT,HEAT_ENV,HEAT_VOL", + "activateServerTLSAuth": "false", + "keyStorePassword": "", + "keyStorePath": "" + } + }, + + "mso-sdnc-adapter-config": + { + "sdncurls": + [ + "https://localhost:8443/restconf/operations/L3SDN-API:", + "https://localhost:8443/restconf/config/L3SDN-API:", + "https://localhost:8443/restconf/operations/Firewall-API:", + "https://localhost:8443/restconf/config", + "https://localhost:8443/restconf/operations/VNF-API:", + "https://localhost:8443/restconf/operations/NBNC-API:" + ], + + "bpelurl": "http://mso:8080/mso/SDNCAdapterCallbackService", + "myurl": "http://mso:8080/adapters/rest/SDNCNotify", + "sdncauth": "263f7d5f944d4d0c76db74b4148bec67d0bc796a874bc0d2a2a12aae89a866aa69133f700f391f784719a37f6a68d29bf5a2fbae1dab0402db7788c800c5ba73", + "bpelauth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1", + "sdncconnecttime": "5000" + }, + + "mso-po-adapter-config": + { + "identity_services": + [ + { + "dcp_clli": "RAX_KEYSTONE", + "identity_url": "https://identity.api.rackspacecloud.com/v2.0", + "mso_id": "PUT_YOUR_TENANT_ID_HERE", + "mso_pass": "ENCRYPT_YOUR_API_KEY_HERE", + "admin_tenant": "service", + "member_role": "admin", + "tenant_metadata": "true", + "identity_server_type": "KEYSTONE", + "identity_authentication_type": "RACKSPACE_APIKEY" + }, + + { + "dcp_clli": "MT_KEYSTONE2", + "identity_url": "https://localhost:5000/v2.0", + "mso_id": "PUT_YOUR_USER_NAME_HERE", + "mso_pass": "ENCRYPT_YOUR_PASSWORD_HERE", + "admin_tenant": "service", + "member_role": "admin", + "tenant_metadata": "true", + "identity_server_type": "KEYSTONE", + "identity_authentication_type": "USERNAME_PASSWORD" + }, + + { + "id": "MT2", + "aic_version": "2.5", + "lcp_clli": "MT2", + "region_id": "lcp_region", + "identity_service_id": "MT_KEYSTONE2" + } + ], + + "cloud_sites": + [ + { + "id": "Dallas", + "aic_version": "2.5", + "lcp_clli": "DFW", + "region_id": "DFW", + "identity_service_id": "RAX_KEYSTONE" + }, + + { + "id": "Northern Virginia", + "aic_version": "2.5", + "lcp_clli": "IAD", + "region_id": "IAD", + "identity_service_id": "RAX_KEYSTONE" + }, + + { + "id": "Chicago", + "aic_version": "2.5", + "lcp_clli": "ORD", + "region_id": "ORD", + "identity_service_id": "RAX_KEYSTONE" + } + ], + + "vnfbpelauth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1", + "checkrequiredparameters": "true", + "nwbpelauth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1" + }, + + "mso-bpmn-config": + { + "urnFileSystemLoadingEnabled": "true" + }, + + "mso-bpmn-urn-config": + { + "logDebugAsyncQueryAAICustomer": "false", + "logDebugChangeFeatureActivateV1": "false", + "logDebugChangeLayer3ServiceActivateV1": "false", + "logDebugChangeLayer3ServiceProvV1": "false", + "logDebugLayer3TestAndTurnUpV1": "false", + "logDebugVnfAdapterRollbackV1": "false", + "logDebugVnfAdapterQueryV1": "false", + "logDebugCreateNetworkV1": "false", + "logDebugCreateCinderVolumeV1": "false", + "logDebugDeleteCinderVolumeV1": "false", + "logDebugUpdateCinderVolumeV1": "false", + "logDebugDeleteGenericVNFV1": "false", + "logDebugDisconnectLayer3Service": "false", + "logDebugCompleteMsoProcess": "false", + "logDebugCreateCustomerV1": "false", + "logDebugCreateTenantV1": "false", + "logDebugDeleteNetworkV1": "false", + "logDebugDeleteTenantV1": "false", + "logDebugDeleteVCEV1": "false", + "logDebugGetLayer3ServiceDetailsV1": "false", + "logDebugL3ToHigherLayerAddBonding": "false", + "logDebugL3ToHigherLayerDeleteBonding": "false", + "logDebugLayer3ServiceActivateV1": "false", + "logDebugQueryAAICustomer": "false", + "logDebugQueryTenantInfo": "false", + "logDebugSdncAdapter": "false", + "logDebugVnfAdapterCreateV1": "false", + "logDebugVnfAdapterDeleteV1": "false", + "logDebugRemoveLayer3Service": "false", + "logDebugUpdateNetworkV2": "false", + "logDebugCreateVfModuleVolumeInfraV1": "false", + "logDebugDeleteVfModuleVolumeInfraV1": "false", + "logDebugUpdateVfModuleVolumeInfraV1": "false", + "logDebugCreateServiceInstanceInfra": "false", + "logDebugDeleteServiceInstanceInfra": "false", + "logDebugCreateNetworkInstanceInfra": "false", + "logDebugDeleteNetworkInstanceInfra": "false", + "logDebugUpdateNetworkInstanceInfra": "false", + "aaiEndpoint": "https://c1.vm1.aai.simpledemo.openecomp.org:8443", + "adaptersCompletemsoprocessEndpoint": "http://mso:8080/CompleteMsoProcess", + "adaptersDbEndpoint": "http://mso:8080/dbadapters/RequestsDbAdapter", + "adaptersSdncEndpoint": "http://mso:8080/adapters/SDNCAdapter", + "adaptersTenantEndpoint": "http://mso:8080/tenants/TenantAdapter", + "workflowSdncadapterCallback": "http://mso:8080/mso/SDNCAdapterCallbackService", + "msoKey": "07a7159d3bf51a0e53be7a8f89699be7", + "adaptersPoAuth": "6B0E6863FB8EE010AB6F191B3C0489437601E81DC7C86305CB92DB98AFC53D74", + "sdncTimeout": "PT5M", + "rollback": "true", + "adaptersNetworkEndpoint": "http://mso:8080/networks/NetworkAdapter", + "adaptersNetworkRestEndpoint": "http://mso:8080/networks/rest/v1/networks", + "adaptersVnfAsyncEndpoint": "http://mso/vnfs/VnfAdapterAsync", + "workflowVnfAdapterDeleteCallback": "http://mso:8080/mso/vnfAdapterNotify", + "workflowVnfAdapterCreateCallback": "http://mso:8080/mso/vnfAdapterNotify", + "adaptersVnfRestEndpoint": "http://mso:8080/vnfs/rest/v1/vnfs", + "workflowVnfAdapterRestCallback": "http://mso:8080/mso/vnfAdapterRestNotify", + "poTimeout": "PT5M", + "sdncFirewallYangModel": "http://com/att/svc/mis/firewall-lite-gui", + "sdncFirewallYangModelVersion": "2015-05-15", + "sdncTimeoutFirewall": "20", + "callbackRetryAttempts": "30", + "callbackRetrySleepTime": "1000", + "workflowDefaultAAINetworkGenericVnfUri": "/aai/v8/network/generic-vnfs/generic-vnf", + "workflowDeleteGenericVNFV1AAINetworkGenericVnfUri": "/aai/v8/network/generic-vnfs/generic-vnf", + "workflowDefaultAAINetworkVpnBindingUri": "/aai/v8/network/vpn-bindings/vpn-binding", + "workflowCreateNetworkV1AAINetworkVpnBindingUri": "", + "workflowDefaultAAINetworkVceUri": "/aai/v8/network/vces/vce", + "workflowDeleteVCEV1AAINetworkVceUri": "", + "workflowDefaultAAINetworkL3NetworkUri": "/aai/v8/network/l3-networks/l3-network", + "workflowCreateNetworkV1AAINetworkL3NetworkUri": "/aai/v8/network/l3-networks/l3-network", + "workflowDeleteNetworkV1AAINetworkL3NetworkUri": "/aai/v8/network/l3-networks/l3-network", + "workflowDefaultAAIBusinessCustomerUri": "/aai/v8/business/customers/customer", + "workflowDefaultAAICloudInfrastructureVolumeGroupUri": "/aai/v8/cloud-infrastructure/volume-groups/volume-group", + "workflowCreateCinderVolumeV1AAICloudInfrastructureVolumeGroupUri": "", + "workflowDefaultAAICloudInfrastructureTenantUri": "/aai/v8/cloud-infrastructure/tenants/tenant", + "workflowDefaultAAISearchGenericQueryUri": "/aai/v8/search/generic-query", + "aaiAuth": "2630606608347B7124C244AB0FE34F6F" + } + }, + + "override_attributes": + { + }, + + "cookbook_versions": + { + "mso-config": "~> 1.0.0" + } +} \ No newline at end of file diff --git a/metadata.rb b/metadata.rb new file mode 100644 index 0000000..4717615 --- /dev/null +++ b/metadata.rb @@ -0,0 +1,7 @@ +name 'chef-repo' +maintainer 'pete/eddie/kevin' +maintainer_email '' +license 'Apache License, version 2.0' +description 'chef-repo' +long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) +version '0.0.1' diff --git a/originalCommit b/originalCommit new file mode 100644 index 0000000..0b97e70 --- /dev/null +++ b/originalCommit @@ -0,0 +1 @@ +commit 0a0cc85aa6bab605079a1d81e8cccc1dbe325582 -- cgit 1.2.3-korg