blob: 9b1cc275304efe1afb0551c16d684ef2415ed99a [file] [log] [blame]
# Copyright 2017-present Open Networking Foundation
#
# 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.
tosca_definitions_version: tosca_simple_yaml_1_0
description: Onboard the CDN service
imports:
- custom_types/xos.yaml
topology_template:
node_templates:
servicecontroller#hpc:
type: tosca.nodes.ServiceController
properties:
base_url: file:///opt/xos_services/hypercache/xos/
models: models.py
django_library: filteredadmin.py
admin: admin.py
admin_template: templates/hpcadmin.html, templates/hpctools.html
synchronizer: synchronizer/manifest
synchronizer_run: hpc-synchronizer.py
tosca_custom_types: tosca/custom_types/cdn.yaml
tosca_resource: tosca/resources/cdnprefix.py, tosca/resources/cdnservice.py, tosca/resources/contentprovider.py, tosca/resources/hpchealthcheck.py, tosca/resources/originserver.py, tosca/resources/serviceprovider.py
rest_service: subdirectory:hpc api/service/hpc/hpc_config.py, subdirectory:hpc api/service/hpc/hpcview.py, subdirectory:hpc api/service/hpc/legacyapi.py
#rest_tenant: subdirectory:cord api/tenant/cord/vsg.py
#private_key: file:///opt/xos/key_import/vsg_rsa
#public_key: file:///opt/xos/key_import/vsg_rsa.pub