blob: c9e6eb87566aecb77d93d160a0d637fb0bdb838c [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:
Andrea Campanellae92c9092017-03-17 10:44:37 +010067 properties:
68 xos_base_props
69 bwpcfgcbs:
70 type: integer
71 required: false
72 bwpcfgebs:
73 type: integer
74 required: false
75 bwpcfgcir:
76 type: integer
77 required: false
78 bwpcfgeir:
79 type: integer
80 required: false
81 name:
82 type: string
83 required: true
84
Andrea Campanella11237552017-03-21 17:21:20 +010085 tosca.nodes.EcordUserNetworkInterface:
86 derived_from: tosca.nodes.Root
87 description: >
88 CORD: The ecord user netowrk interface
89 capabilities:
90 properties:
91 xos_base_props
92 enabled:
93 type: boolean
94 required: false
95 capacity:
96 type: integer
97 required: false
98 bw_used:
99 type: integer
100 required: false
101 vlanIds:
102 type: string
103 required: false
104 name:
105 type: string
106 required: true
107 location:
108 type: string
109 required: false
110 latlng:
111 type: string
112 required: false
113
Andrea Campanellae92c9092017-03-17 10:44:37 +0100114 tosca.relationships.UsesBandwidthProfile:
115 derived_from: tosca.relationships.Root
116 valid_target_types: [ tosca.capabilities.xos.EcordBandwidthProfile ]