From 0be59f0dc21ef77cbf24f476346ad4bebd5be0c7 Mon Sep 17 00:00:00 2001 From: Saju Madhavan Date: Mon, 13 Mar 2017 02:11:19 +0530 Subject: [PATCH] Add FloatingIP Node Change-Id: I7ed187c7691a815e65a26a688e4a53d1cdf359df Partial-Bug: 1537636 --- .../elements/TOSCA_definition_1_0.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/toscaparser/elements/TOSCA_definition_1_0.yaml b/toscaparser/elements/TOSCA_definition_1_0.yaml index aa208a4..27c3e49 100644 --- a/toscaparser/elements/TOSCA_definition_1_0.yaml +++ b/toscaparser/elements/TOSCA_definition_1_0.yaml @@ -339,6 +339,26 @@ node_types: relationship: tosca.relationships.network.LinksTo node: tosca.nodes.network.Network + tosca.nodes.network.FloatingIP: + derived_from: tosca.nodes.Root + description: > + The TOSCA FloatingIP node represents a floating IP that can associate to a Port. + properties: + floating_network: + type: string + required: true + floating_ip_address: + type: string + required: false + port_id: + type: string + required: false + requirements: + - link: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + node: tosca.nodes.network.Port + tosca.nodes.ObjectStorage: derived_from: tosca.nodes.Root description: >