Andy Bavier | 7a08049 | 2018-08-30 14:26:09 -0700 | [diff] [blame] | 1 | --- |
| 2 | # Copyright 2018-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 17 | imports: |
| 18 | - custom_types/rcordsubscriber.yaml |
| 19 | |
| 20 | description: Pre-provsion a subscriber |
| 21 | |
| 22 | topology_template: |
| 23 | node_templates: |
| 24 | |
| 25 | # Pre-provision the subscriber the subscriber |
| 26 | my_house: |
| 27 | type: tosca.nodes.RCORDSubscriber |
| 28 | properties: |
| 29 | name: QQClient |
| 30 | status: pre-provisioned |
| 31 | c_tag: 111 |
| 32 | s_tag: 222 |
| 33 | onu_device: PSMO12345678 |
| 34 | mac_address: 00:AA:00:00:00:01 # subscriber mac address |
| 35 | ip_address: 10.8.2.1 # subscriber IP |