Luca Prete | a67d353 | 2018-09-14 10:16:10 -0700 | [diff] [blame] | 1 | # 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 Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 15 | # 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 Prete | a67d353 | 2018-09-14 10:16:10 -0700 | [diff] [blame] | 16 | |
| 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | imports: |
| 19 | - custom_types/rcordsubscriber.yaml |
| 20 | |
| 21 | description: Pre-provsion a subscriber |
| 22 | |
| 23 | topology_template: |
| 24 | node_templates: |
| 25 | |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 26 | ISKT71E81130: |
Luca Prete | a67d353 | 2018-09-14 10:16:10 -0700 | [diff] [blame] | 27 | type: tosca.nodes.RCORDSubscriber |
| 28 | properties: |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 29 | name: ISKT71E81130 |
Luca Prete | a67d353 | 2018-09-14 10:16:10 -0700 | [diff] [blame] | 30 | status: pre-provisioned |
Luca Prete | a67d353 | 2018-09-14 10:16:10 -0700 | [diff] [blame] | 31 | s_tag: 111 |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 32 | 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 Prete | 31a9d69 | 2018-09-17 10:52:15 -0700 | [diff] [blame] | 44 | c_tag: 22 |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 45 | onu_device: ISKT71E81050 |
| 46 | nas_port_id : "nas-port-id-ISKT71E81050" |
| 47 | circuit_id: "circuit-id-ISKT71E81050" |
| 48 | remote_id: "remote-id-ISKT71E81050" |
| 49 | |
Luca Prete | 4bf4296 | 2018-09-17 11:20:25 -0700 | [diff] [blame] | 50 | ISKT71E810C0: |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 51 | type: tosca.nodes.RCORDSubscriber |
| 52 | properties: |
| 53 | name: ISKT71E810C0 |
| 54 | status: pre-provisioned |
| 55 | s_tag: 111 |
Luca Prete | 31a9d69 | 2018-09-17 10:52:15 -0700 | [diff] [blame] | 56 | c_tag: 33 |
Luca Prete | a67d353 | 2018-09-14 10:16:10 -0700 | [diff] [blame] | 57 | onu_device: ISKT71E810C0 |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 58 | nas_port_id : "nas-port-id-ISKT71E810C0" |
| 59 | circuit_id: "circuit-id-ISKT71E810C0" |
| 60 | remote_id: "remote-id-ISKT71E810C0" |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 61 | |
| 62 | ALPHE3D1CEA3: |
| 63 | type: tosca.nodes.RCORDSubscriber |
| 64 | properties: |
| 65 | name: ALPHE3D1CEA3 |
| 66 | status: pre-provisioned |
| 67 | s_tag: 111 |
Luca Prete | 31a9d69 | 2018-09-17 10:52:15 -0700 | [diff] [blame] | 68 | c_tag: 44 |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 69 | 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 Prete | 31a9d69 | 2018-09-17 10:52:15 -0700 | [diff] [blame] | 80 | c_tag: 55 |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 81 | onu_device: ALPHE3D1CEE9 |
| 82 | nas_port_id : "nas-port-id-ALPHE3D1CEE9" |
| 83 | circuit_id: "circuit-id-ALPHE3D1CEE9" |
| 84 | remote_id: "remote-id-ALPHE3D1CEE9" |