Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
data_types:
onap.datatypes.AddressData:
# = tosca.datatypes.nfv.AddressData
capability_types:
tosca.capabilities.network.Linkable:
# a capability type from the TOSCA Specs
tosca.capabilities.network.Bindable:
# a capability type from the TOSCA Specs
##### ONAP derivations - to provide information required by the IM
onap.capabilities.Linkable:
derived_from: tosca.capabilities.network.Linkable
onap.capabilities.Bindable:
derived_from: tosca.capabilities.network.Bindable
policy_types:
onap.policy.AddressAssignment:
description: governs address assignment to CPs
derived_from: tosca.policies.Root
properties:
automatic_assignment:
type: boolean
required: false
address_type:
type: string
required: false
constraints:
- valid_values: [IPv4, IPv6, Mac]
# create derived types to carry extra info, like is_floating_ip, pool size/id, etc.
onap.policies.QualityOfService:
description: specifies a bunch of QoS parameters
derived_from: tosca.policies.Root
properties:
max_latency:
latency_variation:
packet_loss_ratio:
node_types:
onap.nodes.CP:
derived_from: onap.nodes.Resource
description: a connection point
requirements:
- binding:
description: binding with a VFC
capability: onap.capabilities.Bindable
occurrences: [1, 1]
- link:
description: link to a network
capability: onap.capabilities.Linkable
occurrences: [1, 1]
attributes:
address:
type: onap.datatypes.AddressData
description: the address received after assignment
onap.nodes.VL:
derived_from: onap.nodes.Resource
description: a virtual link
capabilities:
link:
type: onap.capabilities.Linkable
occurrences: [0, UNBOUNDED]
node_types:
onap.node.samples.SampleVFC1:
derived_from: onap.nodes.VFC:
requirements:
- host:
capabilities:
binding_1:
type: onap.capabilities.Bindable
occurrences: [1, 1]
binding_2:
type: onap.capabilities.Bindable
occurrences: [1, 1]
onap.node.samples.SampleVFC2:
derived_from: onap.nodes.VFC:
requirements:
- host:
capabilities:
binding_1:
type: onap.capabilities.Bindable
occurrences: [1, 1]
node_templates:
vfc_1:
type: onap.node.samples.SampleVFC1
requirements:
- host:
node: vdu_1
capability: host
capabilities:
binding_1:
binding_2:
vfc_2:
type: onap.node.samples.SampleVFC1
requirements:
- host:
node: vdu_2
capability: host
capabilities:
binding_1:
binding_2:
cp_1:
type: onap.nodes.CP
requirements:
- binding:
node: vfc_1
capability: binding_1
- link: # a requirement for an external VL => this is an external CP
node_filter:
cp_2:
type: onap.nodes.CP
requirements:
- binding:
node: vfc_1
capability: binding_2
- link: # linked to the internal VL => this is an internal CP
node: vl_1
capability: link
cp_3:
type: onap.nodes.CP
requirements:
- binding:
node: vfc_2
capability: binding_1
- link: # linked to the internal VL
node: vl_1
capability: link
vl_1:
type: onap.nodes.VL
capabilities:
- link:
# The capabilities of this VL are not exposed through
# the substitution mapping => this is an internal VL
vdu_1:
type: onap.node.VDU
capabilities:
host:
requirements:
- cpu:
- memory:
- storage:
- io:
- nic:
vdu_2:
type: onap.node.VDU
capabilities:
host:
requirements:
- cpu:
- memory:
- storage:
- io:
- nic:
policies:
cp_address_assignment_1:
type: onap.policies.AddressAssignment
properties:
automatic_assignment: true
address_type: IPv4
targets: cp2, cp3
qos_1:
type: onap.policies.QualityOfService
properties:
max_latency: 100 ms
latency_jitter: 10 ms
packet_loss_ratio: 0.01
targets: vl_1
subtitution_mapping:
type: #.... the node type of this VNF
requirements:
- ext_link_1:
mapping: [cp_1, link]