teone | e9ff486 | 2018-11-29 14:36:50 -0800 | [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 | |
| 15 | # curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @onf-demo-pod-subscriber.yaml http://192.168.100.1:30007/run |
| 16 | |
| 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | imports: |
| 19 | - custom_types/rcordsubscriber.yaml |
Matteo Scandolo | 9679ae2 | 2019-05-29 11:38:25 -0700 | [diff] [blame] | 20 | - custom_types/bandwidthprofile.yaml |
teone | e9ff486 | 2018-11-29 14:36:50 -0800 | [diff] [blame] | 21 | |
| 22 | description: Pre-provsion subscribers |
| 23 | |
| 24 | topology_template: |
| 25 | node_templates: |
| 26 | |
Matteo Scandolo | 8367cfe | 2019-06-26 17:31:20 -0700 | [diff] [blame] | 27 | default: |
| 28 | type: tosca.nodes.BandwidthProfile |
| 29 | properties: |
| 30 | name: Default |
| 31 | must-exist: true |
| 32 | air: 100000 |
| 33 | cbs: 30 |
| 34 | cir: 600 |
| 35 | ebs: 30 |
| 36 | eir: 400 |
| 37 | |
Matteo Scandolo | e9fb254 | 2019-06-26 17:18:23 -0700 | [diff] [blame] | 38 | high_speed_bp: |
| 39 | type: tosca.nodes.BandwidthProfile |
| 40 | properties: |
| 41 | air: 100000 |
| 42 | cbs: 2000 |
| 43 | cir: 5000 |
| 44 | ebs: 2000 |
| 45 | eir: 3000 |
| 46 | name: Bronze |
Matteo Scandolo | 4587460 | 2019-04-30 15:50:32 -0700 | [diff] [blame] | 47 | |
teone | e9ff486 | 2018-11-29 14:36:50 -0800 | [diff] [blame] | 48 | # EdgeCore OLT subscribers |
teone | e9ff486 | 2018-11-29 14:36:50 -0800 | [diff] [blame] | 49 | edgecore_iskratel_subscriber: |
| 50 | type: tosca.nodes.RCORDSubscriber |
| 51 | properties: |
Matteo Scandolo | 3668706 | 2019-04-30 11:44:31 -0700 | [diff] [blame] | 52 | name: Sub_ISKT71e801a0 |
teone | e9ff486 | 2018-11-29 14:36:50 -0800 | [diff] [blame] | 53 | status: pre-provisioned |
| 54 | c_tag: 12 |
| 55 | s_tag: 111 |
Matteo Scandolo | 3668706 | 2019-04-30 11:44:31 -0700 | [diff] [blame] | 56 | onu_device: ISKT71e801a0 |
teone | e9ff486 | 2018-11-29 14:36:50 -0800 | [diff] [blame] | 57 | nas_port_id : "PON 1/1/04/1:1.1.1" |
| 58 | circuit_id: edgecore_iskratel_circuit |
| 59 | remote_id: edgecore_iskratel_remote |
Matteo Scandolo | 1f09aad | 2019-06-18 18:37:36 -0700 | [diff] [blame] | 60 | tech_profile_id: 64 |
Matteo Scandolo | 9679ae2 | 2019-05-29 11:38:25 -0700 | [diff] [blame] | 61 | requirements: |
| 62 | - upstream_bps: |
Matteo Scandolo | e9fb254 | 2019-06-26 17:18:23 -0700 | [diff] [blame] | 63 | node: high_speed_bp |
Matteo Scandolo | 9679ae2 | 2019-05-29 11:38:25 -0700 | [diff] [blame] | 64 | relationship: tosca.relationships.BelongsToOne |
| 65 | - downstream_bps: |
Matteo Scandolo | e9fb254 | 2019-06-26 17:18:23 -0700 | [diff] [blame] | 66 | node: high_speed_bp |
Matteo Scandolo | 9679ae2 | 2019-05-29 11:38:25 -0700 | [diff] [blame] | 67 | relationship: tosca.relationships.BelongsToOne |
Matteo Scandolo | 81a0952 | 2019-05-16 12:04:36 -0700 | [diff] [blame] | 68 | |
| 69 | edgecore_brcm_subscriber: |
| 70 | type: tosca.nodes.RCORDSubscriber |
| 71 | properties: |
| 72 | name: Sub_BRCM22222222 |
| 73 | status: pre-provisioned |
| 74 | c_tag: 11 |
| 75 | s_tag: 111 |
| 76 | onu_device: BRCM22222222 |
| 77 | nas_port_id : "PON 1/1/04/1:1.1.2" |
| 78 | circuit_id: edgecore_brcm_circuit |
| 79 | remote_id: edgecore_brcm_remote |
Matteo Scandolo | 1f09aad | 2019-06-18 18:37:36 -0700 | [diff] [blame] | 80 | tech_profile_id: 64 |
Matteo Scandolo | 9679ae2 | 2019-05-29 11:38:25 -0700 | [diff] [blame] | 81 | requirements: |
| 82 | - upstream_bps: |
Matteo Scandolo | e9fb254 | 2019-06-26 17:18:23 -0700 | [diff] [blame] | 83 | node: high_speed_bp |
Matteo Scandolo | 9679ae2 | 2019-05-29 11:38:25 -0700 | [diff] [blame] | 84 | relationship: tosca.relationships.BelongsToOne |
| 85 | - downstream_bps: |
Matteo Scandolo | e9fb254 | 2019-06-26 17:18:23 -0700 | [diff] [blame] | 86 | node: high_speed_bp |
Matteo Scandolo | 9679ae2 | 2019-05-29 11:38:25 -0700 | [diff] [blame] | 87 | relationship: tosca.relationships.BelongsToOne |