blob: 60796f95c912f8b71e4d5251cfdfc019aadffa45 [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
6include(macros.m4)
7
8node_types:
9
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070010 tosca.nodes.MetroNetworkSystem:
Matteo Scandolo770c49f2016-09-23 15:07:38 -070011 derived_from: tosca.nodes.Root
12 description: >
13 CORD: The Metro Network Service.
14 capabilities:
15 xos_base_service_caps
16 properties:
17 xos_base_props
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070018 administrativeState:
19 type: string
20 required: true
21 restUrl:
22 type: string
23 required: false
24
Matteo Scandoloddce4ec2016-09-26 13:11:03 -070025
26 tosca.nodes.MetroNetworkDevice:
27 derived_from: tosca.nodes.Root
28 description: >
29 CORD: The Metro Network Device.
30 properties:
31 xos_base_props
32 restCtrlUrl:
33 type: string
34 required: true
35 username:
36 type: string
37 required: true
38 password:
39 type: string
40 required: true
41 administrativeState:
42 type: string
43 required: true
44 authType:
45 type: string
46 required: false
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070047 id:
48 type: string
49 required: true