blob: a1fad9ab534289fe412a3c12ce098d8118bad5e4 [file] [log] [blame]
Joey Armstrong003e83e2023-01-09 20:23:48 -05001# Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Luca Pretea67d3532018-09-14 10:16:10 -07002#
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
Matteo Scandolo74548712018-09-19 13:12:43 -070015# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @edgecore-pod1-subscriber.yaml http://192.168.99.181: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 Prete162d4622018-09-17 15:46:50 -070026 ISKT71e81130:
Luca Pretea67d3532018-09-14 10:16:10 -070027 type: tosca.nodes.RCORDSubscriber
28 properties:
Luca Prete162d4622018-09-17 15:46:50 -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
Luca Prete162d4622018-09-17 15:46:50 -070033 onu_device: ISKT71e81130
34 nas_port_id : "nas-port-id-ISKT71e81130"
35 circuit_id: "circuit-id-ISKT71e81130"
36 remote_id: "remote-id-ISKT71e81130"
Luca Prete901cc2e2018-09-14 14:15:31 -070037
Luca Prete162d4622018-09-17 15:46:50 -070038 ISKT71e81050:
Luca Prete901cc2e2018-09-14 14:15:31 -070039 type: tosca.nodes.RCORDSubscriber
40 properties:
Luca Prete162d4622018-09-17 15:46:50 -070041 name: ISKT71e81050
Luca Prete901cc2e2018-09-14 14:15:31 -070042 status: pre-provisioned
43 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070044 c_tag: 22
Luca Prete162d4622018-09-17 15:46:50 -070045 onu_device: ISKT71e81050
46 nas_port_id : "nas-port-id-ISKT71e81050"
47 circuit_id: "circuit-id-ISKT71e81050"
48 remote_id: "remote-id-ISKT71e81050"
Luca Prete901cc2e2018-09-14 14:15:31 -070049
Luca Prete448d5842018-09-17 16:25:35 -070050 ISKT71e810c0:
Luca Prete901cc2e2018-09-14 14:15:31 -070051 type: tosca.nodes.RCORDSubscriber
52 properties:
Luca Prete448d5842018-09-17 16:25:35 -070053 name: ISKT71e810c0
Luca Prete901cc2e2018-09-14 14:15:31 -070054 status: pre-provisioned
55 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070056 c_tag: 33
Luca Prete448d5842018-09-17 16:25:35 -070057 onu_device: ISKT71e810c0
58 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
Luca Prete162d4622018-09-17 15:46:50 -070062 ALPHe3d1cea3:
Luca Pretebcc50272018-09-17 10:50:16 -070063 type: tosca.nodes.RCORDSubscriber
64 properties:
Luca Prete162d4622018-09-17 15:46:50 -070065 name: ALPHe3d1cea3
Luca Pretebcc50272018-09-17 10:50:16 -070066 status: pre-provisioned
67 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070068 c_tag: 44
Luca Prete162d4622018-09-17 15:46:50 -070069 onu_device: ALPHe3d1cea3
70 nas_port_id : "nas-port-id-ALPHe3d1cea3"
71 circuit_id: "circuit-id-ALPHe3d1cea3"
72 remote_id: "remote-id-ALPHe3d1cea3"
Luca Pretebcc50272018-09-17 10:50:16 -070073
Luca Prete162d4622018-09-17 15:46:50 -070074 ALPHe3d1cee9:
Luca Pretebcc50272018-09-17 10:50:16 -070075 type: tosca.nodes.RCORDSubscriber
76 properties:
Luca Prete162d4622018-09-17 15:46:50 -070077 name: ALPHe3d1cee9
Luca Pretebcc50272018-09-17 10:50:16 -070078 status: pre-provisioned
79 s_tag: 111
Luca Prete31a9d692018-09-17 10:52:15 -070080 c_tag: 55
Luca Prete162d4622018-09-17 15:46:50 -070081 onu_device: ALPHe3d1cee9
82 nas_port_id : "nas-port-id-ALPHe3d1cee9"
83 circuit_id: "circuit-id-ALPHe3d1cee9"
84 remote_id: "remote-id-ALPHe3d1cee9"