blob: 446c68fd0c39ad4c0c9e1dc29bab2e4acb3f4c71 [file] [log] [blame]
Omar Abdelkader401e1cb2017-06-21 15:52:54 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3# compile this with "m4 vpgwc.m4 > vpgwc.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
Omar Abdelkader401e1cb2017-06-21 15:52:54 -070021node_types:
22 tosca.nodes.VPGWCService:
23 derived_from: tosca.nodes.Root
24 description: >
Omar Abdelkader6da1a6a2017-07-28 11:15:14 -060025 CORD - The vPGWC Service
Omar Abdelkader401e1cb2017-06-21 15:52:54 -070026 capabilities:
27 scalable:
28 type: tosca.capabilities.Scalable
29 service:
30 type: tosca.capabilities.xos.Service
31 properties:
32 no-delete:
33 type: boolean
34 default: false
35 description: Do not allow Tosca to delete this object
36 no-create:
37 type: boolean
38 default: false
39 description: Do not allow Tosca to create this object
40 no-update:
41 type: boolean
42 default: false
43 description: Do not allow Tosca to update this object
44 replaces:
45 type: string
46 required: false
47 descrption: Replaces/renames this object
48 kind:
49 type: string
50 default: generic
51 description: Type of service.
52 view_url:
53 type: string
54 required: false
55 description: URL to follow when icon is clicked in the Service Directory.
56 icon_url:
57 type: string
58 required: false
59 description: ICON to display in the Service Directory.
60 enabled:
61 type: boolean
62 default: true
63 published:
64 type: boolean
65 default: true
66 description: If True then display this Service in the Service Directory.
67 public_key:
68 type: string
69 required: false
70 description: Public key to install into Instances to allows Services to SSH into them.
71 private_key_fn:
72 type: string
73 required: false
74 description: Location of private key file
75 versionNumber:
76 type: string
77 required: false
78 description: Version number of Service.
Omar Abdelkader401e1cb2017-06-21 15:52:54 -070079
80 tosca.nodes.VPGWCTenant:
81 derived_from: tosca.nodes.Root
82 description: >
Omar Abdelkader6da1a6a2017-07-28 11:15:14 -060083 CORD - The vPGWC Tenant
Omar Abdelkader401e1cb2017-06-21 15:52:54 -070084 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
Omar Abdelkader8e0f0302017-09-06 19:30:40 -050093
94 tosca.nodes.VPGWCVendor:
95 derived_from: tosca.nodes.Root
96 description: >
97 VPGWC Vendor
Omar Abdelkader8e0f0302017-09-06 19:30:40 -050098 properties:
Omar Abdelkadera9808972017-09-15 12:50:32 -050099 no-delete:
100 type: boolean
101 default: false
102 description: Do not allow Tosca to delete this object
103 no-create:
104 type: boolean
105 default: false
106 description: Do not allow Tosca to create this object
107 no-update:
108 type: boolean
109 default: false
110 description: Do not allow Tosca to update this object
111 replaces:
112 type: string
113 required: false
114 descrption: Replaces/renames this object
Omar Abdelkader8e0f0302017-09-06 19:30:40 -0500115 name:
116 type: string
117 required: true
118
119 tosca.relationships.VendorOfTenant:
120 derived_from: tosca.relationships.Root
121 valid_target_types: [ tosca.capabilities.xos.VPGWCTenant ]
122