blob: 4b3ceaaaa4cdcd1089345aced462820689023c4e [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
Luca Prete082af612018-10-15 16:18:53 +020032 edgecore:
Luca Preteda53c892018-09-26 16:10:43 -070033 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
Luca Pretee10208e2018-10-16 16:40:42 +020049 adtran:
50 type: tosca.nodes.OLTDevice
51 properties:
52 name: Adtran OLT
53 device_type: adtran_olt
54 host: 192.168.100.112
55 port: 830
56 switch_datapath_id: of:0000000000000001
57 switch_port: "50"
58 outer_tpid: "0x8100"
59 uplink: "1"
60 nas_id: "NAS_ID"
61 requirements:
62 - volt_service:
63 node: service#volt
64 relationship: tosca.relationships.BelongsToOne
Luca Preteda53c892018-09-26 16:10:43 -070065
Luca Prete58727d62018-10-16 12:43:07 +020066 cig:
67 type: tosca.nodes.OLTDevice
68 properties:
69 name: CIG OLT
70 device_type: openolt
71 host: 192.168.100.113
72 port: 10400
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
Luca Preteda53c892018-09-26 16:10:43 -070082
Luca Pretefc71a642018-10-16 11:23:42 +020083 # iskratel-xgspon:
84 # 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: "46"
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
Luca Preteda53c892018-09-26 16:10:43 -070099
Luca Pretefc71a642018-10-16 11:23:42 +0200100 # iskratel-gpon:
101 # 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
115 # relationship: tosca.relationships.BelongsToOne