add Vendor model to select flavor/image at Tenant creation
Change-Id: I98b13d345b773ebaf8aff7f5294ce9bbf17d0960
diff --git a/xos/tosca/custom_types/vsm.m4 b/xos/tosca/custom_types/vsm.m4
index 1613c4f..16fc1ed 100644
--- a/xos/tosca/custom_types/vsm.m4
+++ b/xos/tosca/custom_types/vsm.m4
@@ -22,3 +22,19 @@
VSM Tenant
properties:
xos_base_tenant_props
+
+ tosca.nodes.VSMVendor:
+ derived_from: tosca.nodes.Root
+ description: >
+ VSM Vendor
+ capabilities:
+ xos_bas_service_caps
+ properties:
+ name:
+ type: string
+ required: true
+
+ tosca.relationships.VendorOfTenant:
+ derived_from: tosca.relationships.Root
+ valid_target_types: [ tosca.capabilities.xos.VSMTenant ]
+