Matteo Scandolo | 920e8fd | 2017-08-08 13:05:24 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-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 | |
Matteo Scandolo | d12be21 | 2017-07-07 10:44:34 -0700 | [diff] [blame] | 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | |
| 19 | description: Persist xos-sample-gui-extension |
| 20 | |
| 21 | imports: |
| 22 | - custom_types/user.yaml |
| 23 | - custom_types/site.yaml |
| 24 | - custom_types/xosguiextension.yaml |
| 25 | |
| 26 | topology_template: |
| 27 | node_templates: |
| 28 | |
| 29 | # Site |
| 30 | site_onlab: |
| 31 | type: tosca.nodes.Site |
| 32 | properties: |
| 33 | name: Open Networking Lab |
| 34 | must-exist: True |
| 35 | |
| 36 | # User |
| 37 | user_test: |
| 38 | type: tosca.nodes.User |
| 39 | properties: |
| 40 | username: test@opencord.org |
| 41 | email: test@opencord.org |
| 42 | password: mypwd |
| 43 | firstname: User |
| 44 | lastname: Test |
| 45 | is_admin: True |
| 46 | requirements: |
| 47 | - site: |
| 48 | node: site_onlab |
| 49 | relationship: tosca.relationships.BelongsToOne |