WIP: adding metronet as a tosca service
Change-Id: I59e2bdc7c168aa388dc634b94f3c3353351b5ed2
diff --git a/xos/metronet.m4 b/xos/metronet.m4
index 60796f9..7fcc6b4 100644
--- a/xos/metronet.m4
+++ b/xos/metronet.m4
@@ -6,8 +6,18 @@
include(macros.m4)
node_types:
-
- tosca.nodes.MetroNetworkSystem:
+
+ tosca.nodes.VNodGlobalService:
+ description: >
+ CORD: The MetroNet Service.
+ derived_from: tosca.nodes.Root
+ capabilities:
+ xos_base_service_caps
+ properties:
+ xos_base_props
+ xos_base_service_props
+
+ tosca.nodes.MetroNetworkSystem:
derived_from: tosca.nodes.Root
description: >
CORD: The Metro Network Service.
@@ -15,6 +25,7 @@
xos_base_service_caps
properties:
xos_base_props
+ xos_base_service_props
administrativeState:
type: string
required: true
@@ -23,7 +34,7 @@
required: false
- tosca.nodes.MetroNetworkDevice:
+ tosca.nodes.MetroNetworkDevice:
derived_from: tosca.nodes.Root
description: >
CORD: The Metro Network Device.
@@ -47,3 +58,31 @@
id:
type: string
required: true
+
+ tosca.nodes.EcordBandwidthProfile:
+ derived_from: tosca.nodes.Root
+ description: >
+ CORD: The ecord bandwith profile.
+ capabilities:
+ xos_base_service_caps
+ properties:
+ xos_base_props
+ bwpcfgcbs:
+ type: integer
+ required: false
+ bwpcfgebs:
+ type: integer
+ required: false
+ bwpcfgcir:
+ type: integer
+ required: false
+ bwpcfgeir:
+ type: integer
+ required: false
+ name:
+ type: string
+ required: true
+
+ tosca.relationships.UsesBandwidthProfile:
+ derived_from: tosca.relationships.Root
+ valid_target_types: [ tosca.capabilities.xos.EcordBandwidthProfile ]
\ No newline at end of file