...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
node_templates: vdu_123: type: onap.nodes.sample.MyVDU capabilities: host: # just saying... 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 |
VFCs meet VDUs:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
node_templates:
vdu_123:
type: onap.nodes.VDU
capabilities:
host:
#....
vfc_1:
type: onap.nodes.Resource
requirements:
- host:
node: vdu_123
capability: host
vfc_2:
type: onap.nodes.Resource
requirements:
- host:
node: vdu_123
capability: host |
See also: Hardware Platform Requirements
...