blob: 1f48f1089a1e3117bbf071aebf0eb3b99a282b4b [file] [log] [blame]
Andrea Campanella45536f72017-02-23 15:20:06 +01001# Note: Tosca derived_from isn't working the way I think it should, it's not
2# inheriting from the parent template. Until we get that figured out, use
3# m4 macros do our inheritance
4
5define(xos_base_props,
6 no-delete:
7 type: boolean
8 default: false
9 description: Do not allow Tosca to delete this object
10 no-create:
11 type: boolean
12 default: false
13 description: Do not allow Tosca to create this object
14 no-update:
15 type: boolean
16 default: false
17 description: Do not allow Tosca to update this object
18 replaces:
19 type: string
20 required: false
21 descrption: Replaces/renames this object)
22# Service
23define(xos_base_service_caps,
24 scalable:
25 type: tosca.capabilities.Scalable
26 service:
27 type: tosca.capabilities.xos.Service)
28define(xos_base_service_props,
29 kind:
30 type: string
31 default: generic
32 description: Type of service.
33 view_url:
34 type: string
35 required: false
36 description: URL to follow when icon is clicked in the Service Directory.
37 icon_url:
38 type: string
39 required: false
40 description: ICON to display in the Service Directory.
41 enabled:
42 type: boolean
43 default: true
44 published:
45 type: boolean
46 default: true
47 description: If True then display this Service in the Service Directory.
48 public_key:
49 type: string
50 required: false
51 description: Public key to install into Instances to allows Services to SSH into them.
52 private_key_fn:
53 type: string
54 required: false
55 description: Location of private key file
56 versionNumber:
57 type: string
58 required: false
59 description: Version number of Service.)
60# Subscriber
61define(xos_base_subscriber_caps,
62 subscriber:
63 type: tosca.capabilities.xos.Subscriber)
64define(xos_base_subscriber_props,
65 kind:
66 type: string
67 default: generic
68 description: Kind of subscriber
69 service_specific_id:
70 type: string
71 required: false
72 description: Service specific ID opaque to XOS but meaningful to service)
73define(xos_base_tenant_props,
74 kind:
75 type: string
76 default: generic
77 description: Kind of tenant
78 service_specific_id:
79 type: string
80 required: false
81 description: Service specific ID opaque to XOS but meaningful to service)
82
83# end m4 macros
84