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 | |
Murat Parlakisik | 66fde4d | 2016-09-22 13:28:13 -0700 | [diff] [blame] | 14 | node_types: |
| 15 | tosca.nodes.VSGWService: |
| 16 | derived_from: tosca.nodes.Root |
| 17 | description: > |
JianHao | ce45e04 | 2017-01-16 11:06:29 +0000 | [diff] [blame^] | 18 | vSGW Service |
Murat Parlakisik | 66fde4d | 2016-09-22 13:28:13 -0700 | [diff] [blame] | 19 | capabilities: |
| 20 | scalable: |
| 21 | type: tosca.capabilities.Scalable |
| 22 | service: |
| 23 | type: tosca.capabilities.xos.Service |
| 24 | properties: |
| 25 | no-delete: |
| 26 | type: boolean |
| 27 | default: false |
| 28 | description: Do not allow Tosca to delete this object |
| 29 | no-create: |
| 30 | type: boolean |
| 31 | default: false |
| 32 | description: Do not allow Tosca to create this object |
| 33 | no-update: |
| 34 | type: boolean |
| 35 | default: false |
| 36 | description: Do not allow Tosca to update this object |
| 37 | replaces: |
| 38 | type: string |
| 39 | required: false |
| 40 | descrption: Replaces/renames this object |
| 41 | kind: |
| 42 | type: string |
| 43 | default: generic |
| 44 | description: Type of service. |
| 45 | view_url: |
| 46 | type: string |
| 47 | required: false |
| 48 | description: URL to follow when icon is clicked in the Service Directory. |
| 49 | icon_url: |
| 50 | type: string |
| 51 | required: false |
| 52 | description: ICON to display in the Service Directory. |
| 53 | enabled: |
| 54 | type: boolean |
| 55 | default: true |
| 56 | published: |
| 57 | type: boolean |
| 58 | default: true |
| 59 | description: If True then display this Service in the Service Directory. |
| 60 | public_key: |
| 61 | type: string |
| 62 | required: false |
| 63 | description: Public key to install into Instances to allows Services to SSH into them. |
| 64 | private_key_fn: |
| 65 | type: string |
| 66 | required: false |
| 67 | description: Location of private key file |
| 68 | versionNumber: |
| 69 | type: string |
| 70 | required: false |
| 71 | description: Version number of Service. |
| 72 | service_message: |
| 73 | type: string |
| 74 | required: false |
| 75 | |
| 76 | tosca.nodes.VSGWTenant: |
| 77 | derived_from: tosca.nodes.Root |
| 78 | description: > |
| 79 | A Tenant of the vsgw service |
| 80 | properties: |
| 81 | kind: |
| 82 | type: string |
| 83 | default: generic |
| 84 | description: Kind of tenant |
| 85 | service_specific_id: |
| 86 | type: string |
| 87 | required: false |
| 88 | description: Service specific ID opaque to XOS but meaningful to service |
| 89 | tenant_message: |
| 90 | type: string |
| 91 | required: false |
| 92 | |