blob: 3f561380022e7baac88f93e4457690030a5b1223 [file] [log] [blame]
Luca Preteda53c892018-09-26 16:10:43 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @onlab-pod1-olt.yaml http://10.90.0.101:30007/run
16
17tosca_definitions_version: tosca_simple_yaml_1_0
18imports:
19 - custom_types/oltdevice.yaml
20 - custom_types/onudevice.yaml
21 - custom_types/voltservice.yaml
Luca Pretedd1e3502018-10-11 09:44:40 -070022description: Creates OLT devices
Luca Preteda53c892018-09-26 16:10:43 -070023topology_template:
24 node_templates:
25
26 service#volt:
27 type: tosca.nodes.VOLTService
28 properties:
29 name: volt
30 must-exist: true
31
32 olt_device:
33 type: tosca.nodes.OLTDevice
34 properties:
35 name: EdgeCore OLT
36 device_type: openolt
37 host: 192.168.100.111
38 port: 9191
39 switch_datapath_id: of:0000000000000001
40 switch_port: "49"
41 outer_tpid: "0x8100"
42 uplink: "65536"
43 nas_id: "NAS_ID"
44 requirements:
45 - volt_service:
46 node: service#volt
47 relationship: tosca.relationships.BelongsToOne
48
49 olt_device:
50 type: tosca.nodes.OLTDevice
51 properties:
52 name: Adtran OLT
53 device_type: openolt
54 host: 192.168.100.112
55 port: 9191
56 switch_datapath_id: of:0000000000000001
57 switch_port: "50"
58 outer_tpid: "0x8100"
59 uplink: "65536"
60 nas_id: "NAS_ID"
61 requirements:
62 - volt_service:
63 node: service#volt
64 relationship: tosca.relationships.BelongsToOne
65
66 olt_device:
67 type: tosca.nodes.OLTDevice
68 properties:
69 name: CIG OLT
70 device_type: openolt
71 host: 192.168.100.113
72 port: 9191
73 switch_datapath_id: of:0000000000000001
74 switch_port: "51"
75 outer_tpid: "0x8100"
76 uplink: "65536"
77 nas_id: "NAS_ID"
78 requirements:
79 - volt_service:
80 node: service#volt
81 relationship: tosca.relationships.BelongsToOne
82
Luca Pretedd1e3502018-10-11 09:44:40 -070083 olt_device:
Luca Preteda53c892018-09-26 16:10:43 -070084 type: tosca.nodes.OLTDevice
85 properties:
86 name: Iskratel XGS-PON OLT
87 device_type: openolt
88 host: 192.168.100.114
89 port: 9191
90 switch_datapath_id: of:0000000000000001
91 switch_port: "52"
92 outer_tpid: "0x8100"
93 uplink: "65536"
94 nas_id: "NAS_ID"
95 requirements:
96 - volt_service:
97 node: service#volt
98 relationship: tosca.relationships.BelongsToOne
99
Luca Pretedd1e3502018-10-11 09:44:40 -0700100 olt_device:
Luca Preteda53c892018-09-26 16:10:43 -0700101 type: tosca.nodes.OLTDevice
102 properties:
103 name: Iskratel GPON OLT
104 device_type: openolt
105 host: 192.168.100.115
106 port: 9191
107 switch_datapath_id: of:0000000000000001
108 switch_port: "47"
109 outer_tpid: "0x8100"
110 uplink: "65536"
111 nas_id: "NAS_ID"
112 requirements:
113 - volt_service:
114 node: service#volt
Luca Pretedd1e3502018-10-11 09:44:40 -0700115 relationship: tosca.relationships.BelongsToOne