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 3
Next »
######### Types shared by the provider and the consumer
capability_types:
onap.examples.capabilities.Firewall:
derived_from: onap.capabilities.Firewall
node_types:
onap.examples.nodes.Firewall:
derived_from: tosca.nodes.Root
description: an abstract firewall
capabilities:
i_can_be_a_firewall:
type: onap.examples.capabilities.Firewall
onap.nodes.Service
onap.capabilities.AllottedResourceProvider
onap.relationships.AllottedBy
node_types:
onap.examples.nodes.FirewallShare:
derived_from: onap.examples.nodes.Firewall
description: an abstract firewall
capabilities:
i_can_be_a_firewall:
type: onap.examples.capabilities.Firewall
requirements:
- i_need_a_providing_service:
capability: onap.capabilities.AllottedResourceProvider
########## Providing Service
capability_types:
vendorXXX.capabilities.FirewallsProvider:
derived_from: onap.capabilities.AllottedResourceProvider
valid_source_types: [onap.examples.nodes.Firewall]
node_types:
vendorXXX.nodes.FirewallsProvidingService:
derived_from: onap.nodes.Service
capabilities:
i_can_provide_firewalls:
type: vendorXXX.capabilities.FirewallsProvider
vendorXXX.nodes.MyVerySpecialFirewall:
derived_from: onap.examples.nodes.Firewall
capabilities:
i_can_provide_firewalls:
type: vendorXXX.capabilities.FirewallsProvider
topology_template:
node_templates:
firewalls_manager:
type: ....
capabilities:
i_can_provide_firewalls:
type: vendorXXX.capabilities.FirewallsProvider
substitution_mappings:
type: vendorXXX.nodes.FirewallsProvidingService
capabilities:
i_can_provide_firewalls: [firewalls_manager, i_can_provide_firewalls]
####################### Consuming service
topology_template:
node_templates:
firewall_1:
type: onap.examples.nodes.FirewallShare