Update Tosca to follow the new modeling
Change-Id: I48cb2404762ecaad085fdc9ed3e2f146ddb5b6b0
diff --git a/xos/metronet.yaml b/xos/metronet.yaml
index 368cb42..b59e971 100644
--- a/xos/metronet.yaml
+++ b/xos/metronet.yaml
@@ -22,7 +22,7 @@
node_types:
- tosca.nodes.MetroNetworkService:
+ tosca.nodes.MetroNetworkSystem:
derived_from: tosca.nodes.Root
description: >
CORD: The Metro Network Service.
@@ -48,37 +48,13 @@
type: string
required: false
descrption: Replaces/renames this object
- kind:
+ administrativeState:
type: string
- default: generic
- description: Type of service.
- view_url:
+ required: true
+ restUrl:
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.
- private_key_fn:
- type: string
- required: false
- description: Location of private key file
- versionNumber:
- type: string
- required: false
- description: Version number of Service.
+
tosca.nodes.MetroNetworkDevice:
derived_from: tosca.nodes.Root
@@ -116,3 +92,6 @@
authType:
type: string
required: false
+ id:
+ type: string
+ required: true