Murat Parlakisik | 66fde4d | 2016-09-22 13:28:13 -0700 | [diff] [blame^] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | # include macros |
| 4 | # Note: Tosca derived_from isn't working the way I think it should, it's not |
| 5 | # inheriting from the parent template. Until we get that figured out, use |
| 6 | # m4 macros do our inheritance |
| 7 | |
| 8 | |
| 9 | # Service |
| 10 | |
| 11 | |
| 12 | # Subscriber |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | node_types: |
| 19 | tosca.nodes.VSGWService: |
| 20 | derived_from: tosca.nodes.Root |
| 21 | description: > |
| 22 | Example Service |
| 23 | capabilities: |
| 24 | scalable: |
| 25 | type: tosca.capabilities.Scalable |
| 26 | service: |
| 27 | type: tosca.capabilities.xos.Service |
| 28 | properties: |
| 29 | no-delete: |
| 30 | type: boolean |
| 31 | default: false |
| 32 | description: Do not allow Tosca to delete this object |
| 33 | no-create: |
| 34 | type: boolean |
| 35 | default: false |
| 36 | description: Do not allow Tosca to create this object |
| 37 | no-update: |
| 38 | type: boolean |
| 39 | default: false |
| 40 | description: Do not allow Tosca to update this object |
| 41 | replaces: |
| 42 | type: string |
| 43 | required: false |
| 44 | descrption: Replaces/renames this object |
| 45 | kind: |
| 46 | type: string |
| 47 | default: generic |
| 48 | description: Type of service. |
| 49 | view_url: |
| 50 | type: string |
| 51 | required: false |
| 52 | description: URL to follow when icon is clicked in the Service Directory. |
| 53 | icon_url: |
| 54 | type: string |
| 55 | required: false |
| 56 | description: ICON to display in the Service Directory. |
| 57 | enabled: |
| 58 | type: boolean |
| 59 | default: true |
| 60 | published: |
| 61 | type: boolean |
| 62 | default: true |
| 63 | description: If True then display this Service in the Service Directory. |
| 64 | public_key: |
| 65 | type: string |
| 66 | required: false |
| 67 | description: Public key to install into Instances to allows Services to SSH into them. |
| 68 | private_key_fn: |
| 69 | type: string |
| 70 | required: false |
| 71 | description: Location of private key file |
| 72 | versionNumber: |
| 73 | type: string |
| 74 | required: false |
| 75 | description: Version number of Service. |
| 76 | service_message: |
| 77 | type: string |
| 78 | required: false |
| 79 | |
| 80 | tosca.nodes.VSGWTenant: |
| 81 | derived_from: tosca.nodes.Root |
| 82 | description: > |
| 83 | A Tenant of the vsgw service |
| 84 | properties: |
| 85 | kind: |
| 86 | type: string |
| 87 | default: generic |
| 88 | description: Kind of tenant |
| 89 | service_specific_id: |
| 90 | type: string |
| 91 | required: false |
| 92 | description: Service specific ID opaque to XOS but meaningful to service |
| 93 | tenant_message: |
| 94 | type: string |
| 95 | required: false |
| 96 | |