[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: issue about tosca.capabilities.Compute
Hi Chris, Matt and all I went through tosca-simple-profile-yaml document today, and find out an issue in the document.
In tosca.nodes.Compute, it contains capabilities: host:
type:
tosca.capabilities.Compute valid_source_types: [tosca.nodes.SoftwareComponent] and in tosca.nodes.SoftwareComponent it contains requirements: - host:
capability:
tosca.capabilities.Compute node:
tosca.nodes.Compute
relationship:
tosca.relationships.HostedOn the above model is a basic model based on requirement-capability in TOSCA. Then I find out that tosca.nodes.WebServer: derived_from:
tosca.nodes.SoftwareComponent
capabilities: # Private, layer 4 endpoints
data_endpoint:
tosca.capabilities.Endpoint admin_endpoint:
tosca.capabilities.Endpoint.Admin
host: type:
tosca.capabilities.Compute valid_source_types: [
tosca.nodes.WebApplication
] how can Webserver node (derived from SoftwareComponent) also contains the
tosca.capabilities.Compute capability?
Should here be tosca.capabilities.container? The same issue is for tosca.nodes.Container.Runtime: derived_from:
tosca.nodes.SoftwareComponent capabilities: host:
type:
tosca.capabilities.Compute valid_source_types: [tosca.nodes.Container.Application] scalable: type:
tosca.capabilities.Scalable regards shitao |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]