aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManzon, Inna (im453s) <im453s@intl.att.com>2018-08-02 11:33:37 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-08-07 07:29:49 +0000
commita53629a4c022f8cbfca7d7ead1c13ae7d30042e9 (patch)
tree876c0e647583c954d1d77f00fce7de28f8a39ee5
parent4da15282e4715d6b359873f260399a7b9a3d8666 (diff)
Add FabricConfiguration capability
Change-Id: Ic1c25a1310f3f285d57c86a1645ab0d5ecd02876 Issue-ID: SDC-1593 Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
-rw-r--r--common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/capabilities.yml6
-rw-r--r--openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/datatypes/ToscaCapabilityType.java2
2 files changed, 7 insertions, 1 deletions
diff --git a/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/capabilities.yml b/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/capabilities.yml
index 12cecb94b0..979cd95b96 100644
--- a/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/capabilities.yml
+++ b/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/capabilities.yml
@@ -116,4 +116,8 @@ capability_types:
vfc_instance_group_reference:
type: string
description: ability to recognize capability per vfc instance group on vnf instance
- required: true \ No newline at end of file
+ required: true
+
+ org.openecomp.capabilities.FabricConfiguration:
+ derived_from: tosca.capabilities.Root
+ description: fabric configuration capability of VFC depended on the VFC's port property \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/datatypes/ToscaCapabilityType.java b/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/datatypes/ToscaCapabilityType.java
index 8cb21cce1f..9ef0a8de93 100644
--- a/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/datatypes/ToscaCapabilityType.java
+++ b/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/datatypes/ToscaCapabilityType.java
@@ -51,4 +51,6 @@ public class ToscaCapabilityType {
public static final String METRIC_SNMP_TRAP = CAPABILITY_PREFIX + "metric.SnmpTrap";
public static final String METRIC_SNMP_POLLING = CAPABILITY_PREFIX + "metric.SnmpPolling";
+ public static final String FABRIC_CONFIGURATION = CAPABILITY_PREFIX + "FabricConfiguration";
+
}