tosca custom_types for onos
diff --git a/xos/tosca/custom_types/xos.m4 b/xos/tosca/custom_types/xos.m4
index 00805e7..3d766f1 100644
--- a/xos/tosca/custom_types/xos.m4
+++ b/xos/tosca/custom_types/xos.m4
@@ -89,6 +89,35 @@
properties:
xos_base_service_props
+ tosca.nodes.ONOSService:
+ derived_from: tosca.nodes.Root
+ description: >
+ ONOS Service
+ capabilities:
+ xos_base_service_caps
+ properties:
+ xos_base_service_props
+
+ tosca.nodes.ONOSApp:
+ derived_from: tosca.nodes.Root
+ description: >
+ An ONOS Application.
+ properties:
+ xos_base_tenant_props
+
+ tosca.nodes.ONOSvBNGApp:
+ derived_from: tosca.nodes.Root
+ description: >
+ An ONOS Application.
+ properties:
+ xos_base_tenant_props
+ config_addresses_json:
+ type: string
+ required: false
+ config_virtualbng_json:
+ type: string
+ required: false
+
tosca.nodes.VCPEService:
description: >
CORD: The vCPE Service.
diff --git a/xos/tosca/custom_types/xos.yaml b/xos/tosca/custom_types/xos.yaml
index 2a904c1..97031a6 100644
--- a/xos/tosca/custom_types/xos.yaml
+++ b/xos/tosca/custom_types/xos.yaml
@@ -57,6 +57,78 @@
required: false
description: Version number of Service.
+ tosca.nodes.ONOSService:
+ derived_from: tosca.nodes.Root
+ description: >
+ ONOS Service
+ capabilities:
+ scalable:
+ type: tosca.capabilities.Scalable
+ service:
+ type: tosca.capabilities.xos.Service
+ properties:
+ kind:
+ type: string
+ default: generic
+ description: Type of service.
+ view_url:
+ type: string
+ required: false
+ description: URL to follow when icon is clicked in the Service Directory.
+ icon_url:
+ type: string
+ required: false
+ description: ICON to display in the Service Directory.
+ enabled:
+ type: boolean
+ default: true
+ published:
+ type: boolean
+ default: true
+ description: If True then display this Service in the Service Directory.
+ public_key:
+ type: string
+ required: false
+ description: Public key to install into Instances to allows Services to SSH into them.
+ versionNumber:
+ type: string
+ required: false
+ description: Version number of Service.
+
+ tosca.nodes.ONOSApp:
+ derived_from: tosca.nodes.Root
+ description: >
+ An ONOS Application.
+ properties:
+ kind:
+ type: string
+ default: generic
+ description: Kind of tenant
+ service_specific_id:
+ type: string
+ required: false
+ description: Service specific ID opaque to XOS but meaningful to service
+
+ tosca.nodes.ONOSvBNGApp:
+ derived_from: tosca.nodes.Root
+ description: >
+ An ONOS Application.
+ properties:
+ kind:
+ type: string
+ default: generic
+ description: Kind of tenant
+ service_specific_id:
+ type: string
+ required: false
+ description: Service specific ID opaque to XOS but meaningful to service
+ config_addresses_json:
+ type: string
+ required: false
+ config_virtualbng_json:
+ type: string
+ required: false
+
tosca.nodes.VCPEService:
description: >
CORD: The vCPE Service.