From 050841e0724876c2a5ad10d91711f385c2cfda5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dragan=20Radolovi=C4=87?= <54895612+dradX@users.noreply.github.com> Date: Thu, 4 Mar 2021 12:34:24 +0100 Subject: [PATCH] Added host requirement for dockerized component Added host requirement for dockerized component --- docker/docker_component.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/docker_component.yaml b/docker/docker_component.yaml index 1d1502c..a62cd0a 100644 --- a/docker/docker_component.yaml +++ b/docker/docker_component.yaml @@ -101,6 +101,10 @@ node_types: description: IP address of dockerized component type: string requirements: + - host: + capability: tosca.capabilities.Compute + node: tosca.nodes.SoftwareComponent + relationship: tosca.relationships.HostedOn - network: capability: tosca.capabilities.Network node: sodalite.nodes.DockerNetwork @@ -111,6 +115,7 @@ node_types: node: sodalite.nodes.DockerRegistry relationship: tosca.relationships.DependsOn occurrences: [ 1, 1 ] + interfaces: Standard: type: tosca.interfaces.node.lifecycle.Standard