add icon_url/view_url, Service objs for VBNG, VCPE, and CDN
diff --git a/xos/tosca/custom_types/xos.m4 b/xos/tosca/custom_types/xos.m4
index 35af5d3..2d3cf22 100644
--- a/xos/tosca/custom_types/xos.m4
+++ b/xos/tosca/custom_types/xos.m4
@@ -21,6 +21,9 @@
define(xos_base_service_props,
view_url:
type: string
+ required: false
+ icon_url:
+ type: string
required: false)
# end m4 macros
@@ -35,7 +38,7 @@
properties:
xos_base_service_props
- tosca.nodes.VcpeService:
+ tosca.nodes.VCPEService:
derived_from: tosca.nodes.Root
capabilities:
xos_base_service_caps
@@ -45,6 +48,23 @@
type: string
required: false
+ tosca.nodes.VBNGService:
+ derived_from: tosca.nodes.Root
+ capabilities:
+ xos_base_service_caps
+ properties:
+ xos_base_service_props
+ vbng_url:
+ type: string
+ required: false
+
+ tosca.nodes.CDNService:
+ derived_from: tosca.nodes.Root
+ capabilities:
+ xos_base_service_caps
+ properties:
+ xos_base_service_props
+
tosca.nodes.User:
derived_from: tosca.nodes.Root
diff --git a/xos/tosca/custom_types/xos.yaml b/xos/tosca/custom_types/xos.yaml
index 16a120f..22419c5 100644
--- a/xos/tosca/custom_types/xos.yaml
+++ b/xos/tosca/custom_types/xos.yaml
@@ -24,8 +24,11 @@
view_url:
type: string
required: false
+ icon_url:
+ type: string
+ required: false
- tosca.nodes.VcpeService:
+ tosca.nodes.VCPEService:
derived_from: tosca.nodes.Root
capabilities:
scalable:
@@ -36,10 +39,46 @@
view_url:
type: string
required: false
+ icon_url:
+ type: string
+ required: false
backend_network_label:
type: string
required: false
+ tosca.nodes.VBNGService:
+ derived_from: tosca.nodes.Root
+ capabilities:
+ scalable:
+ type: tosca.capabilities.Scalable
+ service:
+ type: tosca.capabilities.xos.Service
+ properties:
+ view_url:
+ type: string
+ required: false
+ icon_url:
+ type: string
+ required: false
+ vbng_url:
+ type: string
+ required: false
+
+ tosca.nodes.CDNService:
+ derived_from: tosca.nodes.Root
+ capabilities:
+ scalable:
+ type: tosca.capabilities.Scalable
+ service:
+ type: tosca.capabilities.xos.Service
+ properties:
+ view_url:
+ type: string
+ required: false
+ icon_url:
+ type: string
+ required: false
+
tosca.nodes.User:
derived_from: tosca.nodes.Root