diff options
Diffstat (limited to 'appc-sdc-listener')
4 files changed, 68 insertions, 3 deletions
diff --git a/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc-packages.yaml b/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc-packages.yaml index 8385dc988..db3ae3bd8 100644 --- a/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc-packages.yaml +++ b/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc-packages.yaml @@ -1,3 +1,24 @@ +# ============LICENSE_START========================================== +# ONAP : APPC +# =================================================================== +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# +# Unless otherwise specified, all software contained herein is licensed +# under the Apache License, Version 2.0 (the License); +# you may not use this software 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. +# +# ECOMP is a trademark and service mark of AT&T Intellectual Property. +# ============LICENSE_END============================================ packages: - org.openecomp.tlv.sdc.ci.tests.execute.general - org.openecomp.tlv.sdc.ci.tests.execute.user @@ -7,4 +28,4 @@ packages: - org.openecomp.tlv.sdc.ci.tests.execute.service - org.openecomp.tlv.sdc.ci.tests.execute.artifacts - org.openecomp.tlv.sdc.ci.tests.execute.imports - - org.openecomp.tlv.sdc.ci.tests.execute.category
\ No newline at end of file + - org.openecomp.tlv.sdc.ci.tests.execute.category diff --git a/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc.yaml b/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc.yaml index 7e612fe9b..666778cde 100644 --- a/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc.yaml +++ b/appc-sdc-listener/appc-sdc-listener-bundle/src/main/resources/ci/conf/attsdc.yaml @@ -1,3 +1,24 @@ +# ============LICENSE_START========================================== +# ONAP : APPC +# =================================================================== +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# +# Unless otherwise specified, all software contained herein is licensed +# under the Apache License, Version 2.0 (the License); +# you may not use this software 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. +# +# ECOMP is a trademark and service mark of AT&T Intellectual Property. +# ============LICENSE_END============================================ outputFolder: target reportName: index.html catalogBeHost: localhost @@ -32,4 +53,4 @@ resourcesNotToDelete: - tosca.nodes.BlockStorage - tosca.nodes.LoadBalancer - org.openecomp.d2.resource.cp.Port - - org.openecomp.d2.resource.vl.Network
\ No newline at end of file + - org.openecomp.d2.resource.vl.Network diff --git a/appc-sdc-listener/appc-sdc-listener-bundle/src/test/resources/output/resource-ResourceAppc-template.yml b/appc-sdc-listener/appc-sdc-listener-bundle/src/test/resources/output/resource-ResourceAppc-template.yml index 3ce3d1259..117fedae4 100644 --- a/appc-sdc-listener/appc-sdc-listener-bundle/src/test/resources/output/resource-ResourceAppc-template.yml +++ b/appc-sdc-listener/appc-sdc-listener-bundle/src/test/resources/output/resource-ResourceAppc-template.yml @@ -1 +1 @@ -tosca_definitions_version: tosca_simple_yaml_1_0metadata: invariantUUID: 1f4f4e0e-a607-47a3-87b6-8d9a57007044 UUID: add63ad1-c6fe-4807-bdcf-a4b612b85a7a name: Resource-APPC description: desc type: VF category: Application L4+ subcategory: Media Servers resourceVendor: Vendor-1 resourceVendorRelease: '12345'imports:- Resource-APPC-interface: file: resource-ResourceAppc-template-interface.yml- NovaServer: file: resource-Novaserver-template.ymltopology_template: node_templates: NovaServer 1: type: org.openecomp.resource.vfc.nodes.heat.nova.Server metadata: invariantUUID: 28146796-4a0e-4e1e-bbd5-e1c87ec7a6cb UUID: cf7b9556-a7ed-421a-b611-6bd64b4aa6df customizationUUID: 0295fd77-0e14-4dd3-9a01-c00082694b88 version: '1.0' name: NovaServer description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least. type: VFC category: Generic subcategory: Infrastructure properties: image_update_policy: REBUILD software_config_transport: POLL_SERVER_CFN contrail_service_instance_ind: false user_data_format: HEAT_CFNTOOLS user_data_update_policy: REPLACE flavor_update_policy: RESIZE groups: { } substitution_mappings: node_type: org.openecomp.resource.vf.ResourceAppc capabilities: novaserver1.disk.device.write.bytes: - NovaServer 1 - disk.device.write.bytes novaserver1.memory.usage: - NovaServer 1 - memory.usage novaserver1.instance: - NovaServer 1 - instance novaserver1.scalable: - NovaServer 1 - scalable novaserver1.disk.usage: - NovaServer 1 - disk.usage novaserver1.disk.device.write.requests: - NovaServer 1 - disk.device.write.requests novaserver1.cpu.delta: - NovaServer 1 - cpu.delta novaserver1.disk.device.read.bytes: - NovaServer 1 - disk.device.read.bytes novaserver1.disk.write.requests.rate: - NovaServer 1 - disk.write.requests.rate novaserver1.disk.iops: - NovaServer 1 - disk.iops novaserver1.disk.latency: - NovaServer 1 - disk.latency novaserver1.cpu: - NovaServer 1 - cpu novaserver1.feature: - NovaServer 1 - feature novaserver1.host: - NovaServer 1 - host novaserver1.disk.write.bytes: - NovaServer 1 - disk.write.bytes novaserver1.disk.device.usage: - NovaServer 1 - disk.device.usage novaserver1.disk.device.write.bytes.rate: - NovaServer 1 - disk.device.write.bytes.rate novaserver1.disk.device.write.requests.rate: - NovaServer 1 - disk.device.write.requests.rate novaserver1.vcpus: - NovaServer 1 - vcpus novaserver1.binding: - NovaServer 1 - binding novaserver1.disk.write.bytes.rate: - NovaServer 1 - disk.write.bytes.rate novaserver1.disk.device.allocation: - NovaServer 1 - disk.device.allocation novaserver1.disk.device.read.bytes.rate: - NovaServer 1 - disk.device.read.bytes.rate novaserver1.memory.resident: - NovaServer 1 - memory.resident novaserver1.disk.read.requests: - NovaServer 1 - disk.read.requests novaserver1.disk.read.bytes.rate: - NovaServer 1 - disk.read.bytes.rate novaserver1.disk.capacity: - NovaServer 1 - disk.capacity novaserver1.memory: - NovaServer 1 - memory novaserver1.cpu_util: - NovaServer 1 - cpu_util novaserver1.os: - NovaServer 1 - os novaserver1.disk.allocation: - NovaServer 1 - disk.allocation novaserver1.disk.device.latency: - NovaServer 1 - disk.device.latency novaserver1.endpoint: - NovaServer 1 - endpoint novaserver1.disk.root.size: - NovaServer 1 - disk.root.size novaserver1.disk.device.iops: - NovaServer 1 - disk.device.iops novaserver1.disk.device.capacity: - NovaServer 1 - disk.device.capacity novaserver1.disk.device.read.requests: - NovaServer 1 - disk.device.read.requests novaserver1.disk.write.requests: - NovaServer 1 - disk.write.requests novaserver1.disk.ephemeral.size: - NovaServer 1 - disk.ephemeral.size novaserver1.disk.device.read.requests.rate: - NovaServer 1 - disk.device.read.requests.rate novaserver1.disk.read.bytes: - NovaServer 1 - disk.read.bytes requirements: novaserver1.dependency: - NovaServer 1 - dependency novaserver1.local_storage: - NovaServer 1 - local_storage
\ No newline at end of file +tosca_definitions_version: tosca_simple_yaml_1_0metadata: invariantUUID: 1f4f4e0e-a607-47a3-87b6-8d9a57007044 UUID: add63ad1-c6fe-4807-bdcf-a4b612b85a7a name: Resource-APPC description: desc type: VF category: Application L4+ subcategory: Media Servers resourceVendor: Vendor-1 resourceVendorRelease: '12345'imports:- Resource-APPC-interface: file: resource-ResourceAppc-template-interface.yml- NovaServer: file: resource-Novaserver-template.ymltopology_template: node_templates: NovaServer 1: type: org.openecomp.resource.vfc.nodes.heat.nova.Server metadata: invariantUUID: 28146796-4a0e-4e1e-bbd5-e1c87ec7a6cb UUID: cf7b9556-a7ed-421a-b611-6bd64b4aa6df customizationUUID: 0295fd77-0e14-4dd3-9a01-c00082694b88 version: '1.0' name: NovaServer description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least. type: VFC category: Generic subcategory: Infrastructure properties: image_update_policy: REBUILD software_config_transport: POLL_SERVER_CFN contrail_service_instance_ind: false user_data_format: HEAT_CFNTOOLS user_data_update_policy: REPLACE flavor_update_policy: RESIZE groups: { } substitution_mappings: node_type: org.openecomp.resource.vf.ResourceAppc capabilities: novaserver1.disk.device.write.bytes: - NovaServer 1 - disk.device.write.bytes novaserver1.memory.usage: - NovaServer 1 - memory.usage novaserver1.instance: - NovaServer 1 - instance novaserver1.scalable: - NovaServer 1 - scalable novaserver1.disk.usage: - NovaServer 1 - disk.usage novaserver1.disk.device.write.requests: - NovaServer 1 - disk.device.write.requests novaserver1.cpu.delta: - NovaServer 1 - cpu.delta novaserver1.disk.device.read.bytes: - NovaServer 1 - disk.device.read.bytes novaserver1.disk.write.requests.rate: - NovaServer 1 - disk.write.requests.rate novaserver1.disk.iops: - NovaServer 1 - disk.iops novaserver1.disk.latency: - NovaServer 1 - disk.latency novaserver1.cpu: - NovaServer 1 - cpu novaserver1.feature: - NovaServer 1 - feature novaserver1.host: - NovaServer 1 - host novaserver1.disk.write.bytes: - NovaServer 1 - disk.write.bytes novaserver1.disk.device.usage: - NovaServer 1 - disk.device.usage novaserver1.disk.device.write.bytes.rate: - NovaServer 1 - disk.device.write.bytes.rate novaserver1.disk.device.write.requests.rate: - NovaServer 1 - disk.device.write.requests.rate novaserver1.vcpus: - NovaServer 1 - vcpus novaserver1.binding: - NovaServer 1 - binding novaserver1.disk.write.bytes.rate: - NovaServer 1 - disk.write.bytes.rate novaserver1.disk.device.allocation: - NovaServer 1 - disk.device.allocation novaserver1.disk.device.read.bytes.rate: - NovaServer 1 - disk.device.read.bytes.rate novaserver1.memory.resident: - NovaServer 1 - memory.resident novaserver1.disk.read.requests: - NovaServer 1 - disk.read.requests novaserver1.disk.read.bytes.rate: - NovaServer 1 - disk.read.bytes.rate novaserver1.disk.capacity: - NovaServer 1 - disk.capacity novaserver1.memory: - NovaServer 1 - memory novaserver1.cpu_util: - NovaServer 1 - cpu_util novaserver1.os: - NovaServer 1 - os novaserver1.disk.allocation: - NovaServer 1 - disk.allocation novaserver1.disk.device.latency: - NovaServer 1 - disk.device.latency novaserver1.endpoint: - NovaServer 1 - endpoint novaserver1.disk.root.size: - NovaServer 1 - disk.root.size novaserver1.disk.device.iops: - NovaServer 1 - disk.device.iops novaserver1.disk.device.capacity: - NovaServer 1 - disk.device.capacity novaserver1.disk.device.read.requests: - NovaServer 1 - disk.device.read.requests novaserver1.disk.write.requests: - NovaServer 1 - disk.write.requests novaserver1.disk.ephemeral.size: - NovaServer 1 - disk.ephemeral.size novaserver1.disk.device.read.requests.rate: - NovaServer 1 - disk.device.read.requests.rate novaserver1.disk.read.bytes: - NovaServer 1 - disk.read.bytes requirements: novaserver1.dependency: - NovaServer 1 - dependency novaserver1.local_storage: - NovaServer 1 - local_storage diff --git a/appc-sdc-listener/appc-yang-generator/src/main/resources/templates/YangTemplate.vm b/appc-sdc-listener/appc-yang-generator/src/main/resources/templates/YangTemplate.vm index 45bef9d62..1b8a78d28 100644 --- a/appc-sdc-listener/appc-yang-generator/src/main/resources/templates/YangTemplate.vm +++ b/appc-sdc-listener/appc-yang-generator/src/main/resources/templates/YangTemplate.vm @@ -1,3 +1,26 @@ +/* +============LICENSE_START========================================== +ONAP : APPC +=================================================================== +Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +=================================================================== + +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the License); +you may not use this software 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. + +ECOMP is a trademark and service mark of AT&T Intellectual Property. +============LICENSE_END============================================ +*/ module $moduleName { yang-version 1; namespace "org:onap:appc:vnf:$moduleName"; |