blob: 7fcc6b46ad8d3f815f6d699d03858b53a50f311c [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:
Andrea Campanellae92c9092017-03-17 10:44:37 +01009
10 tosca.nodes.VNodGlobalService:
11 description: >
12 CORD: The MetroNet Service.
13 derived_from: tosca.nodes.Root
14 capabilities:
15 xos_base_service_caps
16 properties:
17 xos_base_props
18 xos_base_service_props
19
20 tosca.nodes.MetroNetworkSystem:
Matteo Scandolo770c49f2016-09-23 15:07:38 -070021 derived_from: tosca.nodes.Root
22 description: >
23 CORD: The Metro Network Service.
24 capabilities:
25 xos_base_service_caps
26 properties:
27 xos_base_props
Andrea Campanellae92c9092017-03-17 10:44:37 +010028 xos_base_service_props
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070029 administrativeState:
30 type: string
31 required: true
32 restUrl:
33 type: string
34 required: false
35
Matteo Scandoloddce4ec2016-09-26 13:11:03 -070036
Andrea Campanellae92c9092017-03-17 10:44:37 +010037 tosca.nodes.MetroNetworkDevice:
Matteo Scandoloddce4ec2016-09-26 13:11:03 -070038 derived_from: tosca.nodes.Root
39 description: >
40 CORD: The Metro Network Device.
41 properties:
42 xos_base_props
43 restCtrlUrl:
44 type: string
45 required: true
46 username:
47 type: string
48 required: true
49 password:
50 type: string
51 required: true
52 administrativeState:
53 type: string
54 required: true
55 authType:
56 type: string
57 required: false
Matteo Scandolo9563aeb2016-09-28 16:07:58 -070058 id:
59 type: string
60 required: true
Andrea Campanellae92c9092017-03-17 10:44:37 +010061
62 tosca.nodes.EcordBandwidthProfile:
63 derived_from: tosca.nodes.Root
64 description: >
65 CORD: The ecord bandwith profile.
66 capabilities:
67 xos_base_service_caps
68 properties:
69 xos_base_props
70 bwpcfgcbs:
71 type: integer
72 required: false
73 bwpcfgebs:
74 type: integer
75 required: false
76 bwpcfgcir:
77 type: integer
78 required: false
79 bwpcfgeir:
80 type: integer
81 required: false
82 name:
83 type: string
84 required: true
85
86 tosca.relationships.UsesBandwidthProfile:
87 derived_from: tosca.relationships.Root
88 valid_target_types: [ tosca.capabilities.xos.EcordBandwidthProfile ]