Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SDC TypeRelationship to [TOSCA-YAML-1.2] [SOL001] [TOSCA-NFV]issueNote
org.openecomp.annotations.SourceSDC privateThis is SDC's own private extension 'annotation_type' to TOSCA.Parser SHOULD ignore this unknown 'annotation_type'.

tosca.artifacts.Root

tosca.artifacts.Deployment

tosca.artifacts.Deployment.Image

tosca.artifacts.Deployment.Image.VM

tosca.artifacts.Implementation

tosca.artifacts.Implementation.Bash

tosca.artifacts.Implementation.Python

tosca.artifacts.File

same as [TOSCA-YAML-1.2]n/a
tosca.artifacts.nfv.SwImagesame as [SOL001]n/a

tosca.capabilities.Root

tosca.capabilities.Attachment

tosca.capabilities.Node

tosca.capabilities.Endpoint

tosca.capabilities.Endpoint.Database

tosca.capabilities.OperatingSystem

tosca.capabilities.Scalable

tosca.capabilities.network.Bindable

same as [TOSCA-YAML-1.2]n/a
tosca.capabilities.Containerquite like the tosca.capabilities.Compute defined [TOSCA-YAML-1.2]Compared to tosca.capabilities.Compute defined [TOSCA-YAML-1.2], 'name' property is not defined in SDC's tosca.capabilities.Container type.

org.openecomp.capabilities.PortMirroring

org.openecomp.capabilities.AllottedResource

org.openecomp.capabilities.Metric

SDC private

tosca.capabilities.DatabaseEndpointsame as the tosca.capabilities.Endpoint.Database defined in [TOSCA-YAML-1.2]

tosca.capabilities.Endpoint.Public

Code Block
languageyml
collapsetrue
tosca.capabilities.Endpoint.Public:
  derived_from: tosca.capabilities.Endpoint
  properties:
    network_name: PUBLIC
    ... ...

tosca.capabilities.Endpoint.Admin

Code Block
languageyml
collapsetrue
tosca.capabilities.Endpoint.Admin:
  derived_from: tosca.capabilities.Endpoint
  properties:
    secure: true
same as [TOSCA-YAML-1.2]

SDC's definitions doesn't follow TOSCA grammar, it should be a SDC bug.

The grammar correct definition should be as the following:

Code Block
languageyml
titletosca.capabilities.Endpoint.Public
collapsetrue
tosca.capabilities.Endpoint.Public:
  derived_from: tosca.capabilities.Endpoint
  properties:
    network_name:
      type: string
      default: PUBLIC
      constraints:
      - equal: PUBLIC
... ...

Code Block
languageyml
titletosca.capabilities.Endpoint.Admin
collapsetrue
tosca.capabilities.Endpoint.Admin:
  derived_from: tosca.capabilities.Endpoint
  properties:
    secure:
      type: boolean
      default: true
      constraints:
        - equal: true

tosca.capabilities.Container.Dockerquite like the tosca.capabilities.Container.Docker
defined [TOSCA-YAML-1.2]

Compared to [TOSCA-YAML-1.2], the following properties are missing in SDC's definition:

Code Block
languageyml
titlemissing properties:
collapsetrue
... ...
  properties:
    host_id: 
      type: string
      required: false
    volume_id: 
      type: string
      required: false

tosca.capabilities.network.Linkable






...