blob: e5b9fbd035e25acae8fb921b8923a920a2962528 [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
description: Persist xos-sample-gui-extension
imports:
- custom_types/user.yaml
- custom_types/site.yaml
- custom_types/xosguiextension.yaml
topology_template:
node_templates:
# UI Extension
test:
type: tosca.nodes.XOSGuiExtension
properties:
name: test
files: /spa/extensions/test/vendor.js, /spa/extensions/test/app.js
# Site
onlab:
type: tosca.nodes.Site
properties:
name: Open Networking Lab
site_url: http://onlab.us/
hosts_nodes: True
# User
test@opencord.org:
type: tosca.nodes.User
properties:
password: mypwd
firstname: User
lastname: Test
is_admin: True
requirements:
- site:
node: onlab
relationship: tosca.relationships.BelongsToOne