...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
capability_types: com.intel.capabilities.hpa.CPU: derived_from: onap.capabilities.infrastructure.hpa.CPU schema_selector: type: string required: true constraints: # fixed value for this vendor - equal_to: Intel64 schema_version: type: version required: false constraints: - equal_to: 2.0 instructionSetExtensions: type: string constraints: # changes property definitions - valid_values: [aes, sse, avx, cat, cmt, mbm] required: false a_well_known_property_of_this_vendor: # adds new strictly typed properties type: integer required: false |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
node_types: onap.nodes.VDU: derived_from: onap.nodes.Resource capabilities: host: type: onap.capabilities.Container requirements: - cpu: capability: onap.capabilities.infrastructure.CPU: occurrences: [0..UNBOUNDED] - memory: capability: onap.capabilities.infrastructure.Memory: occurrences: [0..UNBOUNDED] - storage: capability: onap.capabilities.infrastructure.Storage: occurrences: [0..UNBOUNDED] - io: capability: onap.capabilities.infrastructure.IO: occurrences: [0..UNBOUNDED] - nic: capability: onap.capabilities.infrastructure.NIC: occurrences: [0..UNBOUNDED] |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
node_templates:
vdu_123:
capabilities:
host:
requirements:
- memory:
node_filter:
capabilities:
- onap.capabilities.infrastructure.Memory:
properties:
- mem_size: {greater_or_equal: 2MB}
- cpu:
node_filter:
capabilities:
- onap.capabilities.infrastructure.hpa.CPU:
properties:
- schema_selector:
constraints: # fixed value for this vendor
- equal_to: Intel64
- schema_version:
constraints:
- greater_or_equal: 2.0
- custom_features:
constraints:
- schema: http://json.schema.url
|