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