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 | include(macros.m4) |
| 23 | |
| 24 | node_types: |
| 25 | |
| 26 | tosca.nodes.VEGService: |
| 27 | description: > |
| 28 | CORD: The vEG Service. |
| 29 | derived_from: tosca.nodes.Root |
| 30 | capabilities: |
| 31 | xos_base_service_caps |
| 32 | properties: |
| 33 | xos_base_props |
| 34 | xos_base_service_props |
| 35 | backend_network_label: |
| 36 | type: string |
| 37 | required: false |
| 38 | description: Label that matches network used to connect HPC and BBS services. |
| 39 | dns_servers: |
| 40 | type: string |
| 41 | required: false |
| 42 | node_label: |
| 43 | type: string |
| 44 | required: false |
| 45 | docker_image_name: |
| 46 | type: string |
| 47 | required: false |
| 48 | description: Name of docker image to pull for vEG |
| 49 | docker_insecure_registry: |
| 50 | type: boolean |
| 51 | required: false |
Scott Baker | 3b8ceca | 2017-10-12 11:38:50 -0700 | [diff] [blame^] | 52 | description: If true, then the hostname:port specified in docker_image_name will be treated as an insecure registry |
| 53 | |
| 54 | tosca.nodes.VEGTenant: |
| 55 | derived_from: tosca.nodes.Root |
| 56 | description: > |
| 57 | A VEG Tenant. |
| 58 | properties: |
| 59 | xos_base_tenant_props |