blob: 368cb42eca929de9cdc9836efa77babb35507860 [file] [log] [blame]
Matteo Scandolo770c49f2016-09-23 15:07:38 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3# compile this with "m4 metronet.m4 > metronet.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
23node_types:
24
25 tosca.nodes.MetroNetworkService:
26 derived_from: tosca.nodes.Root
27 description: >
28 CORD: The Metro Network Service.
29 capabilities:
30 scalable:
31 type: tosca.capabilities.Scalable
32 service:
33 type: tosca.capabilities.xos.Service
34 properties:
35 no-delete:
36 type: boolean
37 default: false
38 description: Do not allow Tosca to delete this object
39 no-create:
40 type: boolean
41 default: false
42 description: Do not allow Tosca to create this object
43 no-update:
44 type: boolean
45 default: false
46 description: Do not allow Tosca to update this object
47 replaces:
48 type: string
49 required: false
50 descrption: Replaces/renames this object
51 kind:
52 type: string
53 default: generic
54 description: Type of service.
55 view_url:
56 type: string
57 required: false
58 description: URL to follow when icon is clicked in the Service Directory.
59 icon_url:
60 type: string
61 required: false
62 description: ICON to display in the Service Directory.
63 enabled:
64 type: boolean
65 default: true
66 published:
67 type: boolean
68 default: true
69 description: If True then display this Service in the Service Directory.
70 public_key:
71 type: string
72 required: false
73 description: Public key to install into Instances to allows Services to SSH into them.
74 private_key_fn:
75 type: string
76 required: false
77 description: Location of private key file
78 versionNumber:
79 type: string
80 required: false
81 description: Version number of Service.
Matteo Scandoloddce4ec2016-09-26 13:11:03 -070082
83 tosca.nodes.MetroNetworkDevice:
84 derived_from: tosca.nodes.Root
85 description: >
86 CORD: The Metro Network Device.
87 properties:
88 no-delete:
89 type: boolean
90 default: false
91 description: Do not allow Tosca to delete this object
92 no-create:
93 type: boolean
94 default: false
95 description: Do not allow Tosca to create this object
96 no-update:
97 type: boolean
98 default: false
99 description: Do not allow Tosca to update this object
100 replaces:
101 type: string
102 required: false
103 descrption: Replaces/renames this object
104 restCtrlUrl:
105 type: string
106 required: true
107 username:
108 type: string
109 required: true
110 password:
111 type: string
112 required: true
113 administrativeState:
114 type: string
115 required: true
116 authType:
117 type: string
118 required: false