...
Code Block |
---|
title | Simple service, topology |
---|
linenumbers | true |
---|
collapse | true |
---|
|
###### Simple service, topology
topology_template:
substitution_mappings:
node_type: operatorXXX.services.Service123
capabilities:
requirements:
- data_link: [node_01, unprotected]
- admin_link: [node_02, admin_link]
node_templates:
node_01:
type: vendorXXX.nodes.VerySpecialFirewall
requirements:
- protected:
node: vl_01
capability: link
- unprotected:
capability: onap.capabilities.Linkable # dangling
vl_01:
type: onap.nodes.VL
node_02:
type: vendorXXX.nodes.VerySpecialVnf
requirements:
- inbound_link:
node: vl_01
capability: link
- admin_link:
capability: onap.capabilities.Linkable # dangling
|
TODO: Drill down to the VNF topology
TODO: example for inputs
Simple Service Type
Code Block |
---|
title | Simple service, type definition |
---|
linenumbers | true |
---|
collapse | true |
---|
|
###### Simple service, type definition
node_types:
operatorXXX.services.Service123:
derived_from: onap.nodes.ServicesService
capabilities:
requirements:
- data_link:
capability: onap.capabilities.Linkable # dangling
- admin_link:
capability: onap.capabilities.Linkable # dangling |
...
Code Block |
---|
title | Complex service, type definition |
---|
linenumbers | true |
---|
collapse | true |
---|
|
###### Complex service type definition
node_types:
operatorYYY.services.Service789:
derived_from: onap.nodes.ServicesService
capabilities:
requirements:
- admin_link_01:
capability: onap.capabilities.Linkable
- admin_link_02:
capability: onap.capabilities.Linkable |
...