You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
All infrastructure capability types inherit from the basic onap.capabilities.Infrastructure:
capability_types:
onap.capabilities.Infrastracture:
derived_from: tosca.capabilities.Root
description: a basic description of infrastructure resources
properties:
architecture:
description: vendor+architecture, for example, Intel64
type: string
required: false
custom_features:
description: |
Additional features description, serialized in a well-known format.
type: string
required: false
Since all HPA-oriented capability types are derived from this basic type, they will all inherit its properties:
- architecture - allows the VFC vendors to focus their requirements on a specific hardware architecture, for example "Intel x86".
- custom_features - an opaque container for a list of feature definitions. Any text, the only limitation is that it should not break the YAML/TOSCA formatting. The contents of this property is actually not part of the TOSCA model!
Based on this generic onap,capabilities.Infrastructure capability type, the Data Model introduces a family of types that provide TOSCA support for the Informational Model elements.
capability_types:
onap.capabilities.infrastructure.CPU:
derived_from: onap.capabilities.Infrastracture
description: processor capabilities
properties:
num_cpus:
type: integer
required: false
constraints:
- greater_or_equal: 1
cpu_frequency:
type: scalar-unit.frequency
required: false
constraints:
- greater_or_equal: 0.1 GHz
capability_types:
onap.capabilities.infrastructure.Memory:
derived_from: onap.capabilities.Infrastracture
description: memory capabilities
properties:
mem_size:
type: scalar-unit.size
required: false
constraints:
- greater_or_equal: 0 MB
capability_types:
onap.capabilities.infrastructure.Storage:
derived_from: onap.capabilities.Infrastracture
description: storage specifications
properties:
storage_size:
type: scalar-unit.size
required: false
constraints:
- greater_or_equal: 0 MB
capability_types:
onap.capabilities.infrastructure.IO:
derived_from: onap.capabilities.Infrastracture
description: basic IO specifications
bitrate:
description: bits per second
type: integer
required: false
capability_types:
onap.capabilities.infrastructure.NIC:
derived_from: onap.capabilities.Infrastracture
description: basic IO specifications
bitrate:
description: bits per second
type: integer
required: false