blob: b59e9710e7288676aad6a988e43801213241d6eb [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
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070025 tosca.nodes.MetroNetworkSystem:
Matteo Scandolo770c49f2016-09-23 15:07:38 -070026 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
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070051 administrativeState:
Matteo Scandolo770c49f2016-09-23 15:07:38 -070052 type: string
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070053 required: true
54 restUrl:
Matteo Scandolo770c49f2016-09-23 15:07:38 -070055 type: string
56 required: false
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070057
Matteo Scandoloddce4ec2016-09-26 13:11:03 -070058
59 tosca.nodes.MetroNetworkDevice:
60 derived_from: tosca.nodes.Root
61 description: >
62 CORD: The Metro Network Device.
63 properties:
64 no-delete:
65 type: boolean
66 default: false
67 description: Do not allow Tosca to delete this object
68 no-create:
69 type: boolean
70 default: false
71 description: Do not allow Tosca to create this object
72 no-update:
73 type: boolean
74 default: false
75 description: Do not allow Tosca to update this object
76 replaces:
77 type: string
78 required: false
79 descrption: Replaces/renames this object
80 restCtrlUrl:
81 type: string
82 required: true
83 username:
84 type: string
85 required: true
86 password:
87 type: string
88 required: true
89 administrativeState:
90 type: string
91 required: true
92 authType:
93 type: string
94 required: false
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070095 id:
96 type: string
97 required: true