aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";
+
}