Omar Abdelkader | 6e806dc | 2017-08-30 23:56:48 -0600 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | # compile this with "m4 vepc.m4 > vepc.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 | node_types: |
| 23 | tosca.nodes.VEPCService: |
| 24 | derived_from: tosca.nodes.Root |
| 25 | description: > |
| 26 | VEPC Service |
| 27 | capabilities: |
| 28 | scalable: |
| 29 | type: tosca.capabilities.Scalable |
| 30 | service: |
| 31 | type: tosca.capabilities.xos.Service |
| 32 | properties: |
| 33 | no-delete: |
| 34 | type: boolean |
| 35 | default: false |
| 36 | description: Do not allow Tosca to delete this object |
| 37 | no-create: |
| 38 | type: boolean |
| 39 | default: false |
| 40 | description: Do not allow Tosca to create this object |
| 41 | no-update: |
| 42 | type: boolean |
| 43 | default: false |
| 44 | description: Do not allow Tosca to update this object |
| 45 | replaces: |
| 46 | type: string |
| 47 | required: false |
| 48 | descrption: Replaces/renames this object |
| 49 | kind: |
| 50 | type: string |
| 51 | default: generic |
| 52 | description: Type of service. |
| 53 | view_url: |
| 54 | type: string |
| 55 | required: false |
| 56 | description: URL to follow when icon is clicked in the Service Directory. |
| 57 | icon_url: |
| 58 | type: string |
| 59 | required: false |
| 60 | description: ICON to display in the Service Directory. |
| 61 | enabled: |
| 62 | type: boolean |
| 63 | default: true |
| 64 | published: |
| 65 | type: boolean |
| 66 | default: true |
| 67 | description: If True then display this Service in the Service Directory. |
| 68 | public_key: |
| 69 | type: string |
| 70 | required: false |
| 71 | description: Public key to install into Instances to allows Services to SSH into them. |
| 72 | private_key_fn: |
| 73 | type: string |
| 74 | required: false |
| 75 | description: Location of private key file |
| 76 | versionNumber: |
| 77 | type: string |
| 78 | required: false |
| 79 | description: Version number of Service. |
| 80 | |
| 81 | tosca.nodes.VEPCTenant: |
| 82 | derived_from: tosca.nodes.Root |
| 83 | description: > |
| 84 | VEPC Tenant |
| 85 | properties: |
| 86 | kind: |
| 87 | type: string |
| 88 | default: generic |
| 89 | description: Kind of tenant |
| 90 | service_specific_id: |
| 91 | type: string |
| 92 | required: false |
| 93 | description: Service specific ID opaque to XOS but meaningful to service |
| 94 | description: |
| 95 | type: string |
| 96 | required: false |
| 97 | has_vhss: |
| 98 | type: boolean |
| 99 | required: true |
| 100 | has_vmme: |
| 101 | type: boolean |
| 102 | required: true |
| 103 | has_vmm: |
| 104 | type: boolean |
| 105 | required: true |
| 106 | has_vsm: |
| 107 | type: boolean |
| 108 | required: true |
| 109 | has_vsgwc: |
| 110 | type: boolean |
| 111 | required: true |
| 112 | has_vsgwu: |
| 113 | type: boolean |
| 114 | required: true |
| 115 | has_vpgwc: |
| 116 | type: boolean |
| 117 | required: true |
| 118 | has_vpgwu: |
| 119 | type: boolean |
| 120 | required: true |
| 121 | |