blob: c9e6eb87566aecb77d93d160a0d637fb0bdb838c [file] [log] [blame]
Andrea Campanella65e91e62017-05-22 17:50:37 +02001tosca_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
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:
21 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
28 xos_base_service_props
29 administrativeState:
30 type: string
31 required: true
32 restUrl:
33 type: string
34 required: false
35
36
37 tosca.nodes.MetroNetworkDevice:
38 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
58 id:
59 type: string
60 required: true
61
62 tosca.nodes.EcordBandwidthProfile:
63 derived_from: tosca.nodes.Root
64 description: >
65 CORD: The ecord bandwith profile.
66 capabilities:
67 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
85 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
114 tosca.relationships.UsesBandwidthProfile:
115 derived_from: tosca.relationships.Root
116 valid_target_types: [ tosca.capabilities.xos.EcordBandwidthProfile ]