blob: b85690757309f2e72c20f45577451c2405e83e0d [file] [log] [blame]
Luca Pretea67d3532018-09-14 10:16:10 -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
Luca Prete901cc2e2018-09-14 14:15:31 -070015# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @edgecore-pod1-subscriber.yaml http://10.90.0.101:30007/run
Luca Pretea67d3532018-09-14 10:16:10 -070016
17tosca_definitions_version: tosca_simple_yaml_1_0
18imports:
19 - custom_types/rcordsubscriber.yaml
20
21description: Pre-provsion a subscriber
22
23topology_template:
24 node_templates:
25
Luca Prete901cc2e2018-09-14 14:15:31 -070026 ISKT71E81130:
Luca Pretea67d3532018-09-14 10:16:10 -070027 type: tosca.nodes.RCORDSubscriber
28 properties:
Luca Prete901cc2e2018-09-14 14:15:31 -070029 name: ISKT71E81130
Luca Pretea67d3532018-09-14 10:16:10 -070030 status: pre-provisioned
Luca Pretea67d3532018-09-14 10:16:10 -070031 s_tag: 111
Luca Prete901cc2e2018-09-14 14:15:31 -070032 c_tag: 11
33 onu_device: ISKT71E81130
34 nas_port_id : "nas-port-id-ISKT71E81130"
35 circuit_id: "circuit-id-ISKT71E81130"
36 remote_id: "remote-id-ISKT71E81130"
37
38 ISKT71E81050:
39 type: tosca.nodes.RCORDSubscriber
40 properties:
41 name: ISKT71E81050
42 status: pre-provisioned
43 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070044 c_tag: 22
Luca Prete901cc2e2018-09-14 14:15:31 -070045 onu_device: ISKT71E81050
46 nas_port_id : "nas-port-id-ISKT71E81050"
47 circuit_id: "circuit-id-ISKT71E81050"
48 remote_id: "remote-id-ISKT71E81050"
49
50 ISKT71E81130:
51 type: tosca.nodes.RCORDSubscriber
52 properties:
53 name: ISKT71E810C0
54 status: pre-provisioned
55 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070056 c_tag: 33
Luca Pretea67d3532018-09-14 10:16:10 -070057 onu_device: ISKT71E810C0
Luca Prete901cc2e2018-09-14 14:15:31 -070058 nas_port_id : "nas-port-id-ISKT71E810C0"
59 circuit_id: "circuit-id-ISKT71E810C0"
60 remote_id: "remote-id-ISKT71E810C0"
Luca Pretebcc50272018-09-17 10:50:16 -070061
62 ALPHE3D1CEA3:
63 type: tosca.nodes.RCORDSubscriber
64 properties:
65 name: ALPHE3D1CEA3
66 status: pre-provisioned
67 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070068 c_tag: 44
Luca Pretebcc50272018-09-17 10:50:16 -070069 onu_device: ALPHE3D1CEA3
70 nas_port_id : "nas-port-id-ALPHE3D1CEA3"
71 circuit_id: "circuit-id-ALPHE3D1CEA3"
72 remote_id: "remote-id-ALPHE3D1CEA3"
73
74 ALPHE3D1CEE9:
75 type: tosca.nodes.RCORDSubscriber
76 properties:
77 name: ALPHE3D1CEE9
78 status: pre-provisioned
79 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070080 c_tag: 55
Luca Pretebcc50272018-09-17 10:50:16 -070081 onu_device: ALPHE3D1CEE9
82 nas_port_id : "nas-port-id-ALPHE3D1CEE9"
83 circuit_id: "circuit-id-ALPHE3D1CEE9"
84 remote_id: "remote-id-ALPHE3D1CEE9"