Versions Compared

Key

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

...

Code Block
title tosca.nodes.asd
collapsetrue
tosca.nodes.asd:
    derived_from: tosca.nodes.Root  
    description: "The ASD node type"
    version: 0.1
    properties:
      descriptor_id:
          type: string # UUID
          required: true
          description: Identifier of this ASD. It is in UUID format as specified in RFC 4122
      descriptor_invariant_id:
          type: string # UUID
          required: true
          description: >
              Identifier of this descriptor in a version independent manner. This attribute 
              is invariant across versions of ASD. It is in UUID format as specified in RFC 4122
         descriptor_version:
          type: string
          required: true
          description: Identifies the version of the ASD.
      schema_version:
          type: string
          required: true
          description: Identifies the Identifies the version of this ASD’s schema.
      function_description:
          type: string
          required: false 
          description: Description of the application service described by this ASD.
      provider:
          type: string
          required: true
          description: Identifies the provider of the ASD.
      application_name:
          type: string 
          required: true
          description: Name to identify the application service described by this ASD
      application_version:
          type: string
          required: true
          description: Identifies the version of the application service described by this ASD.
      ext_cpds:
          type: list
          required: false
          entry_schema:
               type: tosca.datatype.asd.extCpdData
          description: >
                   Describes the externally exposed connection points of the application 
                   service described by this ASD
      enhanced_cluster_capabilities:
          type: tosca.datatype.asd.enhancedClusterCapabilities
          required: false
          description: >
                  A list of  expected capabilities of the target Kubernetes cluster to aid 
                  placement of the application service on a suitable cluster.   

...

Code Block
title tosca.nodes.asd_in_nsasdInNsd
collapsetrue
tosca.nodes.asd_in_nsasdInNsd:
    derived_from: tosca.nodes.nfv.VNF
    description: "The generic ASD node types for NS requirements. Optional properties are not list here."
    version: 0.1
    properties:
      flavourdescriptor_id: 
          type: string # UUID
          required: true
          constraints: ["simple"]
          default: "simple"description: Identifier of an ASD. It is in UUID format as specified in RFC 4122
          required: true
      flavourdescriptor_descriptionversion: 
          type: string 
          requireddescription: true
          constraints: [""]Identifies the version of the ASD.
          required: true
          default: "" 
      vnfm_infoprovider: 
          type: liststring
          requireddescription: true
Identifies the provider of       entry_schema:the ASD
               typerequired: listtrue
               constraintsdefault: [""] 
          defaultproduct_name: ""
    requirements:
      - virtual_link_1:type: string
          capability: tosca.capabilities.nfv.VirtualLinkabledescription: Please use the application_name property
          relationshiprequired: tosca.relationships.nfv.VirtualLinkableTotrue
          constraints: [""]
          occurrencesdefault: [0,1] "" 
      - virtual_link_2:software_version: 
          capabilitytype: tosca.capabilities.nfv.VirtualLinkablestring
          relationship: tosca.relationships.nfv.VirtualLinkableTo
description: Please use the application_version property
           occurrencesrequired: true
          constraints: [0,1""]
         - virtual_link_3  default: ""  
      flavour_id:
          capabilitytype: tosca.capabilities.nfv.VirtualLinkable string 
          relationshiprequired: tosca.relationships.nfv.VirtualLinkableTotrue
          constraints: ["simple"]
          occurrencesdefault: [0,1]"simple"
      - virtual_link_4flavour_description:
          capabilitytype: tosca.capabilities.nfv.VirtualLinkablestring 
          relationshiprequired: tosca.relationships.nfv.VirtualLinkableTotrue
          constraints: [""]
      occurrences    default: [0,1]""
      - virtual_link_5vnfm_info:
          capabilitytype: tosca.capabilities.nfv.VirtualLinkablelist
          relationshiprequired: tosca.relationships.nfv.VirtualLinkableTotrue
          occurrences: [0,1]entry_schema:
      - virtual_link_6:
          capabilitytype: tosca.capabilities.nfv.VirtualLinkablelist
              relationship constraints: tosca.relationships.nfv.VirtualLinkableTo[""]
          default: ""
    occurrences: [0,1]requirements:
      - virtual_link_7:
          capability: tosca.capabilities.nfv.VirtualLinkable
          relationship: tosca.relationships.nfv.VirtualLinkableTo
          occurrences: [0,10]
      - virtual_link_8links:
          capability: tosca.capabilities.nfv.VirtualLinkable
          relationship: tosca.relationships.nfv.VirtualLinkableTo
          occurrences: [0,1UNBOUNDED]