refactor
Change-Id: I833f751ab3f307f6996d0822bef7a749dc6f6d2f
diff --git a/test/tosca/test.yaml b/test/tosca/test.yaml
index 5f5d6e6..e5b9fbd 100644
--- a/test/tosca/test.yaml
+++ b/test/tosca/test.yaml
@@ -4,6 +4,7 @@
imports:
- custom_types/user.yaml
+ - custom_types/site.yaml
- custom_types/xosguiextension.yaml
topology_template:
@@ -16,14 +17,23 @@
name: test
files: /spa/extensions/test/vendor.js, /spa/extensions/test/app.js
- xosadmin@opencord.org:
+ # 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: rk1UYDHZXbu6KVCMkhmV
- firstname: XOS
- lastname: Admin
-# is_admin: True
-# requirements:
-# - site:
-# node: some
-# relationship: tosca.relationships.MemberOfSite
\ No newline at end of file
+ password: mypwd
+ firstname: User
+ lastname: Test
+ is_admin: True
+ requirements:
+ - site:
+ node: onlab
+ relationship: tosca.relationships.BelongsToOne
\ No newline at end of file