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 |
| 44 | c_tag: 12 |
| 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 | |
| 50 | ISKT71E81130: |
| 51 | type: tosca.nodes.RCORDSubscriber |
| 52 | properties: |
| 53 | name: ISKT71E810C0 |
| 54 | status: pre-provisioned |
| 55 | s_tag: 111 |
| 56 | c_tag: 13 |
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" |