Gabe Black | 816018e | 2017-01-18 19:52:28 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | # compile this with "m4 PassiveTest.m4 > PassiveTest.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 | tosca.nodes.PassiveTest: |
| 25 | derived_from: tosca.nodes.Root |
| 26 | description: > |
| 27 | PassiveTest Service |
| 28 | capabilities: |
| 29 | scalable: |
| 30 | type: tosca.capabilities.Scalable |
| 31 | service: |
| 32 | type: tosca.capabilities.xos.Service |
| 33 | properties: |
| 34 | no-delete: |
| 35 | type: boolean |
| 36 | default: false |
| 37 | description: Do not allow Tosca to delete this object |
| 38 | no-create: |
| 39 | type: boolean |
| 40 | default: false |
| 41 | description: Do not allow Tosca to create this object |
| 42 | no-update: |
| 43 | type: boolean |
| 44 | default: false |
| 45 | description: Do not allow Tosca to update this object |
| 46 | replaces: |
| 47 | type: string |
| 48 | required: false |
| 49 | descrption: Replaces/renames this object |
| 50 | kind: |
| 51 | type: string |
| 52 | default: generic |
| 53 | description: Type of service. |
| 54 | view_url: |
| 55 | type: string |
| 56 | required: false |
| 57 | description: URL to follow when icon is clicked in the Service Directory. |
| 58 | icon_url: |
| 59 | type: string |
| 60 | required: false |
| 61 | description: ICON to display in the Service Directory. |
| 62 | enabled: |
| 63 | type: boolean |
| 64 | default: true |
| 65 | published: |
| 66 | type: boolean |
| 67 | default: true |
| 68 | description: If True then display this Service in the Service Directory. |
| 69 | public_key: |
| 70 | type: string |
| 71 | required: false |
| 72 | description: Public key to install into Instances to allows Services to SSH into them. |
| 73 | private_key_fn: |
| 74 | type: string |
| 75 | required: false |
| 76 | description: Location of private key file |
| 77 | versionNumber: |
| 78 | type: string |
| 79 | required: false |
| 80 | description: Version number of Service. |
| 81 | tap_ports: |
| 82 | type: string |
| 83 | required: false |
| 84 | reset_viv: |
| 85 | type: boolean |
| 86 | required: false |
| 87 | |
| 88 | tosca.nodes.PassiveTestTenant: |
| 89 | derived_from: tosca.nodes.Root |
| 90 | description: > |
| 91 | A Tenant of the PassiveTest service |
| 92 | properties: |
| 93 | kind: |
| 94 | type: string |
| 95 | default: generic |
| 96 | description: Kind of tenant |
| 97 | service_specific_id: |
| 98 | type: string |
| 99 | required: false |
| 100 | description: Service specific ID opaque to XOS but meaningful to service |
| 101 | |