Presentation is loading. Please wait.

Presentation is loading. Please wait.

SwImageDesc Shitao li.

Similar presentations


Presentation on theme: "SwImageDesc Shitao li."— Presentation transcript:

1 SwImageDesc Shitao li

2 Artifact type, artifact definition in TOSCA
Keyname Required Type Description mime_type no string The required mime type property for the Artifact Type. file_ext string[] The required file extension property for the Artifact Type. properties list of property definitions An optional list of property definitions for the Artifact Type. 3.6.7 Artifact definition Keyname Required Type Description type yes string The required artifact type for the artifact definition. file The required URI string (relative or absolute) which can be used to locate the artifact’s file. repository no The optional name of the repository definition which contains the location of the external repository that contains the artifact. The artifact is expected to be referenceable by its file URI within the repository. description The optional description for the artifact definition. deploy_path The file path the associated file would be deployed into within the target node’s container. No properties as defined currently in tosca-simple-profile-yaml v1.1 and v1.2. May need to added. The properties can only be considered as metadata information of the artifact itself. 2018/11/21

3 SwImageDesc Metadata of the image(could be mapped as artifact name)
Attribute Qualifier Cardinality Content Description id M 1 Identifier The identifier of this software image. name String The name of this software image. version The version of this software image. checksum The checksum of the software image file. containerFormat The container format describes the container file format in which software image is provided. diskFormat The disk format of a software image is the format of the underlying disk image. minDisk Number The minimal disk size requirement for this software image. The value of the "size of storage" attribute of the VirtualStorageDesc referencing this SwImageDesc shall not be smaller than the value of minDisk. minRam 0..1 The minimal RAM requirement for this software image. The value of the "size" attribute of VirtualMemoryData of the Vdu referencing this SwImageDesc shall not be smaller than the value of minRam. Size The size of this software image. swImage Identifier (Reference to SwImage) This is a reference to the actual software image. The reference can be relative to the root of the VNF Package or can be a URL. operatingSystem Identifies the operating system used in the software image. This attribute may also identify if a 32 bit or 64 bit software image is used. supportedVirtualisationEnvironment 0..N Identifies the virtualisation environments (e.g. hypervisor) compatible with this software image. Metadata of the image, it is not required for TOSCA orchestrator (could be a property of the artifact) Could move into vnf package manifest file Type of the artifact or file_ext of the artifact type(such as, tosca.artifacts.Deployment.Image.Container.Docker, tosca.artifacts.Deployment.Image.VM.ISO) Could delete and use the value “size of the storage” in VirtualStorageDesc Could delete and use the value in VirtualMemoryData Metadata of the image, it is not required for TOSCA orchestrator (could be a property of the artifact) ‘file’ of this artifact Metadata of the image, it is not required for TOSCA orchestrator (could be a property of the artifact) Could move to Vdu.compute

4 Artifact type tosca.artifacts.nfv.SwImage:   derived_from: tosca.artifacts.Deployment.Image   file_ext: #diskFormat of the image properties: version: size: operationSystem:      This type can be extended to support other container format, such as docker, tosca.artifacts.nfv.SwImage.docker Node template: VDU_compute: type:tosca.nodes.nfv.Vdu.Compute properties: supportedVirtualisationEnvironment: capabilities: virtualCompute: virtual_memory: virtual_mem_size: # MB bigger than minRam of image requirement artifact: My_Image: # The identifier and name of this software image. type: tosca.artifacts.nfv.SwImage # could indicate the container format file: image_url# file_ext: qcow2 #disc format deploy_path: VDU_Storage_1 #node template name of a Vdu.VirtualStorage, in case, #it has more one VirtualStorage attached in the Vdu.Compute version: 1.0 size: 1 # G os: suse VDU_Storage_1: type:tosca.nodes.nfv.Vdu.VirtualStorage      properties: size_of_storage: 50 # G bigger than minDisk of image requirement


Download ppt "SwImageDesc Shitao li."

Similar presentations


Ads by Google