Matteo Scandolo | ede125b | 2017-08-08 13:05:25 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
Scott Baker | 8df8166 | 2016-08-05 09:29:35 -0700 | [diff] [blame] | 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | |
| 19 | # Note: Tosca derived_from isn't working the way I think it should, it's not |
| 20 | # inheriting from the parent template. Until we get that figured out, use |
| 21 | # m4 macros do our inheritance |
| 22 | |
| 23 | node_types: |
| 24 | tosca.nodes.ServiceProvider: |
| 25 | derived_from: tosca.nodes.Root |
| 26 | |
| 27 | capabilities: |
| 28 | user: |
| 29 | type: tosca.capabilities.xos.ServiceProvider |
| 30 | |
| 31 | tosca.nodes.ContentProvider: |
| 32 | derived_from: tosca.nodes.Root |
| 33 | |
| 34 | capabilities: |
| 35 | user: |
| 36 | type: tosca.capabilities.xos.ContentProvider |
| 37 | |
| 38 | tosca.nodes.OriginServer: |
| 39 | derived_from: tosca.nodes.Root |
| 40 | |
| 41 | capabilities: |
| 42 | user: |
| 43 | type: tosca.capabilities.xos.OriginServer |
| 44 | |
| 45 | tosca.nodes.CDNPrefix: |
| 46 | derived_from: tosca.nodes.Root |
| 47 | |
| 48 | capabilities: |
| 49 | user: |
| 50 | type: tosca.capabilities.xos.CDNPrefix |
| 51 | |
| 52 | tosca.nodes.HpcHealthCheck: |
| 53 | derived_from: tosca.nodes.Root |
| 54 | |
| 55 | properties: |
| 56 | kind: |
| 57 | type: string |
| 58 | required: true |
| 59 | description: dns | http | nameserver |
| 60 | resource_name: |
| 61 | type: string |
| 62 | required: true |
| 63 | description: name of resource to query |
| 64 | result_contains: |
| 65 | type: string |
| 66 | required: false |
| 67 | description: soemthing to look for inside the result |
| 68 | capabilities: |
| 69 | healthcheck: |
| 70 | type: tosca.capabilities.xos.HpcHealthCheck |
| 71 | |
| 72 | tosca.relationships.MemberOfServiceProvider: |
| 73 | derived_from: tosca.relationships.Root |
| 74 | valid_target_types: [ tosca.capabilities.xos.ServiceProvider ] |
| 75 | |
| 76 | tosca.relationships.MemberOfContentProvider: |
| 77 | derived_from: tosca.relationships.Root |
| 78 | valid_target_types: [ tosca.capabilities.xos.ContentProvider ] |
| 79 | |
| 80 | tosca.relationships.DefaultOriginServer: |
| 81 | derived_from: tosca.relationships.Root |
| 82 | valid_target_types: [ tosca.capabilities.xos.OriginServer ] |
| 83 | |
| 84 | tosca.capabilities.xos.ServiceProvider: |
| 85 | derived_from: tosca.capabilities.Root |
| 86 | |
| 87 | tosca.capabilities.xos.ContentProvider: |
| 88 | derived_from: tosca.capabilities.Root |
| 89 | |
| 90 | tosca.capabilities.xos.CDNPrefix: |
| 91 | derived_from: tosca.capabilities.Root |
| 92 | |
| 93 | tosca.capabilities.xos.OriginServer: |
| 94 | derived_from: tosca.capabilities.Root |
| 95 | |
| 96 | tosca.capabilities.xos.HpcHealthCheck: |
| 97 | derived_from: tosca.capabilities.Root |
| 98 | |
| 99 | |