Skip to content

UpdateStrategy

Cloud service customer expect cloud images to be updated regularly, in order to always get the image with the lasted patches. Technically, an updated image is a new image in cloud service' image catalogue having it's own unique image ID and replaces its old version. It is recommended to hide outdated version, but keep them referencable by its ID for a transition period for customers' convenience. This class defines important aspects of providers image update policy.

URI: gx:UpdateStrategy

 classDiagram
    class UpdateStrategy
    click UpdateStrategy href "../UpdateStrategy"
      UpdateStrategy : hotfixHours




    UpdateStrategy --> "0..1" Integer : hotfixHours
    click Integer href "../Integer"


      UpdateStrategy : oldVersionsValidUntil




    UpdateStrategy --> "0..1" String : oldVersionsValidUntil
    click String href "../String"


      UpdateStrategy : providedUntil




    UpdateStrategy --> "0..1" String : providedUntil
    click String href "../String"


      UpdateStrategy : replaceFrequency




    UpdateStrategy --> "0..1" UpdateFrequency : replaceFrequency
    click UpdateFrequency href "../UpdateFrequency"


Slots

Name Cardinality and Range Description Inheritance
replaceFrequency 0..1
UpdateFrequency
Frequency, in which the provider updates the image on a regular basis direct
hotfixHours 0..1
xsd:integer
Time in hours passed after image's distributor published a critical hot fix a... direct
oldVersionsValidUntil 0..1
xsd:string or 
Validity1 or 
Validity2 or 
LatestN or 
date
Defines, how long outdated and hidden images are available by its ID direct
providedUntil 0..1
xsd:string or 
Validity1 or 
date
Details, how long the image will be provided in image catalogue direct

Usages

used by used in type used
ContainerImage updateStrategy range UpdateStrategy
Image updateStrategy range UpdateStrategy
PXEImage updateStrategy range UpdateStrategy
VMImage updateStrategy range UpdateStrategy

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/gaia-x/development#image

LinkML Source

Direct

name: UpdateStrategy
description: Cloud service customer expect cloud images to be updated regularly, in
  order to always get the image with the lasted patches. Technically, an updated image
  is a new image in cloud service' image catalogue having it's own unique image ID
  and replaces its old version. It is recommended to hide outdated version, but keep
  them referencable by its ID for a transition period for customers' convenience.
  This class defines important aspects of providers image update policy.
from_schema: https://w3id.org/gaia-x/development#image
attributes:
  replaceFrequency:
    name: replaceFrequency
    description: 'Frequency, in which the provider updates the image on a regular
      basis. Possible values are: yearly, quarterly, monthly, weekly, daily, critical_bug,
      and never.'
    title: Replace Frequency
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    domain_of:
    - UpdateStrategy
    range: UpdateFrequency
  hotfixHours:
    name: hotfixHours
    description: Time in hours passed after image's distributor published a critical
      hot fix and cloud provider updated this image with the critical patch. A critical
      bug is defined as a security vulnerability with a CVSS score of 9.0 or higher.
    title: Hotfix hours
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    domain_of:
    - UpdateStrategy
    range: integer
    minimum_value: 0
  oldVersionsValidUntil:
    name: oldVersionsValidUntil
    description: Defines, how long outdated and hidden images are available by its
      ID. Allowed values are "none" (none information are given), "notice" (outdated
      version is valid until deprecation notice from provider), "forever" (Outdated
      version will never be deleted), non-negative integer n (latest n version keep
      available) and date in UTC (outdated version is valid until given date).
    title: Old versions Valid until
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    domain_of:
    - UpdateStrategy
    any_of:
    - range: Validity_1
    - range: Validity_2
    - range: Latest_N
    - range: date
  providedUntil:
    name: providedUntil
    description: Details, how long the image will be provided in image catalogue.
      Allowed values are "none" (none information are given), "notice" (image is available
      until deprecation notice from provider), and date in UTC (date until the image
      is available).
    title: Provided until
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    domain_of:
    - UpdateStrategy
    any_of:
    - range: Validity_1
    - range: date

Induced

name: UpdateStrategy
description: Cloud service customer expect cloud images to be updated regularly, in
  order to always get the image with the lasted patches. Technically, an updated image
  is a new image in cloud service' image catalogue having it's own unique image ID
  and replaces its old version. It is recommended to hide outdated version, but keep
  them referencable by its ID for a transition period for customers' convenience.
  This class defines important aspects of providers image update policy.
from_schema: https://w3id.org/gaia-x/development#image
attributes:
  replaceFrequency:
    name: replaceFrequency
    description: 'Frequency, in which the provider updates the image on a regular
      basis. Possible values are: yearly, quarterly, monthly, weekly, daily, critical_bug,
      and never.'
    title: Replace Frequency
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    alias: replaceFrequency
    owner: UpdateStrategy
    domain_of:
    - UpdateStrategy
    range: UpdateFrequency
  hotfixHours:
    name: hotfixHours
    description: Time in hours passed after image's distributor published a critical
      hot fix and cloud provider updated this image with the critical patch. A critical
      bug is defined as a security vulnerability with a CVSS score of 9.0 or higher.
    title: Hotfix hours
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    alias: hotfixHours
    owner: UpdateStrategy
    domain_of:
    - UpdateStrategy
    range: integer
    minimum_value: 0
  oldVersionsValidUntil:
    name: oldVersionsValidUntil
    description: Defines, how long outdated and hidden images are available by its
      ID. Allowed values are "none" (none information are given), "notice" (outdated
      version is valid until deprecation notice from provider), "forever" (Outdated
      version will never be deleted), non-negative integer n (latest n version keep
      available) and date in UTC (outdated version is valid until given date).
    title: Old versions Valid until
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    alias: oldVersionsValidUntil
    owner: UpdateStrategy
    domain_of:
    - UpdateStrategy
    range: string
    any_of:
    - range: Validity_1
    - range: Validity_2
    - range: Latest_N
    - range: date
  providedUntil:
    name: providedUntil
    description: Details, how long the image will be provided in image catalogue.
      Allowed values are "none" (none information are given), "notice" (image is available
      until deprecation notice from provider), and date in UTC (date until the image
      is available).
    title: Provided until
    from_schema: https://w3id.org/gaia-x/development#image
    rank: 1000
    alias: providedUntil
    owner: UpdateStrategy
    domain_of:
    - UpdateStrategy
    range: string
    any_of:
    - range: Validity_1
    - range: date