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 | |
Matteo Scandolo | 7454871 | 2018-09-19 13:12:43 -0700 | [diff] [blame] | 15 | # 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 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 | 162d462 | 2018-09-17 15:46:50 -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 | 162d462 | 2018-09-17 15:46:50 -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 |
Luca Prete | 162d462 | 2018-09-17 15:46:50 -0700 | [diff] [blame] | 33 | onu_device: ISKT71e81130 |
| 34 | nas_port_id : "nas-port-id-ISKT71e81130" |
| 35 | circuit_id: "circuit-id-ISKT71e81130" |
| 36 | remote_id: "remote-id-ISKT71e81130" |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 37 | |
Luca Prete | 162d462 | 2018-09-17 15:46:50 -0700 | [diff] [blame] | 38 | ISKT71e81050: |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 39 | type: tosca.nodes.RCORDSubscriber |
| 40 | properties: |
Luca Prete | 162d462 | 2018-09-17 15:46:50 -0700 | [diff] [blame] | 41 | name: ISKT71e81050 |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 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 | 162d462 | 2018-09-17 15:46:50 -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" |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 49 | |
Luca Prete | 448d584 | 2018-09-17 16:25:35 -0700 | [diff] [blame] | 50 | ISKT71e810c0: |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 51 | type: tosca.nodes.RCORDSubscriber |
| 52 | properties: |
Luca Prete | 448d584 | 2018-09-17 16:25:35 -0700 | [diff] [blame] | 53 | name: ISKT71e810c0 |
Luca Prete | 901cc2e | 2018-09-14 14:15:31 -0700 | [diff] [blame] | 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 | 448d584 | 2018-09-17 16:25:35 -0700 | [diff] [blame] | 57 | onu_device: ISKT71e810c0 |
| 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 | |
Luca Prete | 162d462 | 2018-09-17 15:46:50 -0700 | [diff] [blame] | 62 | ALPHe3d1cea3: |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 63 | type: tosca.nodes.RCORDSubscriber |
| 64 | properties: |
Luca Prete | 162d462 | 2018-09-17 15:46:50 -0700 | [diff] [blame] | 65 | name: ALPHe3d1cea3 |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 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 | 162d462 | 2018-09-17 15:46:50 -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" |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 73 | |
Luca Prete | 162d462 | 2018-09-17 15:46:50 -0700 | [diff] [blame] | 74 | ALPHe3d1cee9: |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 75 | type: tosca.nodes.RCORDSubscriber |
| 76 | properties: |
Luca Prete | 162d462 | 2018-09-17 15:46:50 -0700 | [diff] [blame] | 77 | name: ALPHe3d1cee9 |
Luca Prete | bcc5027 | 2018-09-17 10:50:16 -0700 | [diff] [blame] | 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 | 162d462 | 2018-09-17 15:46:50 -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" |