Matteo Scandolo | 6288d5a | 2017-08-08 13:05:26 -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 | |
Andrea Campanella | edfdbca | 2017-02-01 17:33:47 -0800 | [diff] [blame] | 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | |
| 19 | # compile this with "m4 veg.m4 > veg.yaml" |
| 20 | |
| 21 | # include macros |
| 22 | # Note: Tosca derived_from isn't working the way I think it should, it's not |
| 23 | # inheriting from the parent template. Until we get that figured out, use |
| 24 | # m4 macros do our inheritance |
| 25 | |
| 26 | |
| 27 | # Service |
| 28 | |
| 29 | |
| 30 | # Subscriber |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | # end m4 macros |
| 36 | |
| 37 | |
| 38 | |
| 39 | node_types: |
| 40 | |
| 41 | tosca.nodes.VEGService: |
| 42 | description: > |
| 43 | CORD: The vEG Service. |
| 44 | derived_from: tosca.nodes.Root |
| 45 | capabilities: |
| 46 | scalable: |
| 47 | type: tosca.capabilities.Scalable |
| 48 | service: |
| 49 | type: tosca.capabilities.xos.Service |
| 50 | properties: |
| 51 | no-delete: |
| 52 | type: boolean |
| 53 | default: false |
| 54 | description: Do not allow Tosca to delete this object |
| 55 | no-create: |
| 56 | type: boolean |
| 57 | default: false |
| 58 | description: Do not allow Tosca to create this object |
| 59 | no-update: |
| 60 | type: boolean |
| 61 | default: false |
| 62 | description: Do not allow Tosca to update this object |
| 63 | replaces: |
| 64 | type: string |
| 65 | required: false |
| 66 | descrption: Replaces/renames this object |
| 67 | kind: |
| 68 | type: string |
| 69 | default: generic |
| 70 | description: Type of service. |
| 71 | view_url: |
| 72 | type: string |
| 73 | required: false |
| 74 | description: URL to follow when icon is clicked in the Service Directory. |
| 75 | icon_url: |
| 76 | type: string |
| 77 | required: false |
| 78 | description: ICON to display in the Service Directory. |
| 79 | enabled: |
| 80 | type: boolean |
| 81 | default: true |
| 82 | published: |
| 83 | type: boolean |
| 84 | default: true |
| 85 | description: If True then display this Service in the Service Directory. |
| 86 | public_key: |
| 87 | type: string |
| 88 | required: false |
| 89 | description: Public key to install into Instances to allows Services to SSH into them. |
| 90 | private_key_fn: |
| 91 | type: string |
| 92 | required: false |
| 93 | description: Location of private key file |
| 94 | versionNumber: |
| 95 | type: string |
| 96 | required: false |
| 97 | description: Version number of Service. |
| 98 | backend_network_label: |
| 99 | type: string |
| 100 | required: false |
| 101 | description: Label that matches network used to connect HPC and BBS services. |
| 102 | dns_servers: |
| 103 | type: string |
| 104 | required: false |
| 105 | node_label: |
| 106 | type: string |
| 107 | required: false |
| 108 | docker_image_name: |
| 109 | type: string |
| 110 | required: false |
| 111 | description: Name of docker image to pull for vEG |
| 112 | docker_insecure_registry: |
| 113 | type: boolean |
| 114 | required: false |
| 115 | description: If true, then the hostname:port specified in docker_image_name will be treated as an insecure registry |