Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderStylesolid
titleNode Types
Code Block
languagexml
titletosca.nodes.nfv.VDU.Compute
linenumberstrue
collapsetrue
tosca.nodes.nfv.VDU.Compute:
  derived_from: tosca.nodes.Compute
  properties:
    #id:
      # node name
    name:
      type: string
      required: true
    description:
      type: string
      required: true
    boot_order:
      type: list # explicit index (boot index) not necessary, contrary to IFA011
      entry_schema:
        type: string
      required: false
    nfvi_constraints:
      type: list
      entry_schema:
        type: string
      required: false
    configurable_properties:
       type: map
       entry_schema:
          type: tosca.datatypes.nfv.VnfcConfigurableProperties
       required: true 
    inject_files:
       type: list
       entry_schema: 
         type: string
       required: true
attributes:  #attributes: NOT DEFINED IN ONAP IM and SOL001
    private#private_address:
    #  status: deprecated
    public#public_address:
    #  status: deprecated
    networks#networks:
    #  status: deprecated
    ports#ports:
    #  status: deprecated
  capabilities:
    virtual_compute: 
      type: tosca.capabilities.nfv.VirtualCompute
    virtual_binding: 
      type: tosca.capabilities.nfv.VirtualBindable
      occurrences: [1, UNBOUND]
    #monitoringmonitoring_parameter:
      # modeled as ad hoc (named) capabilities in VDU node template
      # for example:
      #capabilities:
      #  cpu_loadtype: tosca.capabilities.nfv.Metric
      # memory_usage: tosca.capabilities.nfv.Metric
    host: #Editor note: FFS. How this capabilities should be used in NFV Profile
      type: tosca.capabilities.Container
      valid_source_types: [tosca.nodes.SoftwareComponent]
        occurrences: [0,UNBOUNDED]  
    endpoint: 
        occurrences: [0,0]  
    os: 
        occurrences: [0,0]  
    scalable: #Editor note: FFS. How this capabilities should be used in NFV Profile
      type: tosca.capabilities.Scalable
    binding: 
        occurrences: [0,UNBOUND]
  requirements:
    - virtual_storage:
        capability: tosca.capabilities.nfv.VirtualStorage
        relationship: tosca.relationships.nfv.VDU.AttachedTo
        node: tosca.nodes.nfv.VDU.VirtualStorage
        occurences: [ 0, UNBOUNDED ]
    - local_storage: #For NFV Profile, this requirement is deprecated.
        occurrences: [0,0]  
  artifacts:
    - sw_image:
        file:
        type: tosca.artifacts.nfv.SwImage
Code Block
languagexml
titletosca.nodes.nfv.VDU.VirtualStorage
linenumberstrue
collapsetrue
tosca.nodes.nfv.VDU.VirtualStorage: 
  derived_from: tosca.nodes.Root
  properties:
    #id:
      # node name
    type_of_storage:
      type: string
      required: true 
    size_of_storage:
      type: scalar-unit.size
      required: true
   #vduStorageRequirements:
   #  type: map
   #  entrySchema:
   #    type: TBD, missing in ONAP IM
   #  required: false
    rdma_enabled:
      type: boolean
      required: false
  capabilities:
    virtual_storage:
      type: tosca.capabilities.nfv.VirtualStorage
  artifacts:
    - sw_image:
        file: 
        type: tosca.artifacts.Deployment.Image
Code Block
languagexml
titletosca.nodes.nfv.Cp
linenumberstrue
collapsetrue
tosca.nodes.nfv.Cp:
  derived_from: tosca.nodes.Root 
    properties:
    layer_protocol:
      type:string
        constraints:
          - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
      required:true
    role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
      type:string
      constraints:
        - valid_values: [ root, leaf ]
      required:false
    description:
      type: string
      required: false
    protocol_data:
      type: list
      entry_schema:
        type: tosca.datatype.nfv.CpProtocolData
      required:true
    allowedAddressData:
      type: tosca.datatype.nfv.AddressData
      required: false
Code Block
languagexml
titletosca.nodes.nfv.VduCp
linenumberstrue
collapsetrue
tosca.nodes.nfv.VduCp:
  derived_from: tosca.nodes.nfv.Cp
  properties:
    bitrate_requirement:
      type: integer
      required:false
    vnicName:
      type: String
      required:false
    vnicOrder:
      type: integer
      required:false
    vnicType:
      type: String
	  constraints:
          - valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder]
      required:false
    virtual_network_interface_requirements: 
      type: list
      entry_schema:
        type: VirtualNetworkInterfaceRequirements
      required:false
    requirements:
        - virtual_link:
          capability: tosca.capabilities.nfv.VirtualLinkable
          relationship: tosca.relationships.nfv.VirtualLinksTo
          node: tosca.nodes.nfv.VnfVirtualLinkDesc    
        - virtual_binding:
          capability: tosca.capabilities.nfv.VirtualBindable
          relationship: tosca.relationships.nfv.VirtualBindsTo
          node: tosca.nodes.nfv.VDU  
Code Block
languagexml
titletosca.nodes.nfv.VnfExtCp
linenumberstrue
collapsetrue
tosca.nodes.nfv.VnfExtCp:
  derived_from: tosca.nodes.nfv.Cp
  properties:
    virtual_network_interface_requirements:
      type: list
      entry_schema:
        type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
      required: false
  requirements:
    - external_virtual_link:
        capability: tosca.capabilities.nfv.VirtualLinkable
        relationship: tosca.relationships.nfv.VirtualLinksTo
        node: tosca.nodes.nfv.VL
   
    - internal_virtual_link: #name in ETSI NFV IFA011 v0.7.3 intVirtualLinkDesc
        capability: tosca.capabilities.nfv.VirtualLinkable
        relationship: tosca.relationships.nfv.VirtualLinksTo
        node: tosca.nodes.nfv.VL
        occurrences: [ 0, 1 ] # 0 if re-exposing a VduCp
# 1 if connecting to an internal VL
Code Block
languagexml
titletosca.nodes.nfv.VnfVirtualLink
linenumberstrue
collapsetrue
tosca.nodes.nfv.VnfVirtualLink:
  derived_from: tosca.nodes.Root
  properties:
    connectivity_type:
      type: tosca.datatypes.nfv.ConnectivityType
      required: true
    description:
      type: string
      required: false
    test_access:
      type: list
    entry_schema:
      type: string
      required: false
    vl_profile:
      type: tosca.datatypes.nfv.VlProfile
      required: true
  capabilities:
    monitoring_parameter:
      type: tosca.capabilities.nfv.Metric
      occurrences: [0,UNBOUND]
    virtual_linkable:
      type: tosca.capabilities.nfv.VirtualLinkable
Code Block
languagexml
titletosca.nodes.nfv.VDU.Composition
linenumberstrue
collapsetrue
tosca.nodes.nfv.VDU.Composition:
  derived_from: tosca.nodes.root
  properties:
    name:
      type: string
      required: true
    description:
      type: string
      required: true
    boot_order:
      type: list 
      entry_schema:
        type: string
      required: false
    nfvi_constraints:
      type: list
      entry_schema:
        type: string
      required: false
    configurable_properties:
       type: map
       entry_schema:
          type: tosca.datatypes.nfv.VnfcConfigurableProperties
       required: true 
  capabilities:
    virtual_compute: 
      type: tosca.capabilities.nfv.VirtualCompute
    virtual_storage:
      type: tosca.capabilities.nfv.VirtualStorage
occurrences: [0,UNBOUNDED]
  requirements:
    - virtual_link:
        capability: tosca.capabilities.nfv.VirtualLinkable
        relationship: tosca.relationships.nfv.VirtualLinksTo
        node: tosca.nodes.nfv.VnfVirtualLinkDesc    
       occurrences: [1,UNBOUNDED]