Subinterface_indicator property create VF bug fix

Added toggle to fix regression bug for create VF
when VLAN tagging is not enabled.

Change-Id: I7751ae1a7ba48315319b5522cc230ece2f46e84d
Issue-ID: SDC-1206
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/UnifiedCompositionService.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/UnifiedCompositionService.java
index 86a360b..e8a4656 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/UnifiedCompositionService.java
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/main/java/org/openecomp/sdc/translator/services/heattotosca/UnifiedCompositionService.java
@@ -50,6 +50,7 @@
 import org.openecomp.config.api.Configuration;
 import org.openecomp.config.api.ConfigurationManager;
 import org.openecomp.core.utilities.CommonMethods;
+import org.openecomp.sdc.common.togglz.ToggleableFeature;
 import org.openecomp.sdc.datatypes.configuration.ImplementationConfiguration;
 import org.openecomp.sdc.heat.services.HeatConstants;
 import org.openecomp.sdc.tosca.datatypes.ToscaFunctions;
@@ -2166,7 +2167,8 @@
       }
 
       if (unifiedCompositionEntity == UnifiedCompositionEntity.PORT
-          && entityConsolidationData instanceof PortTemplateConsolidationData) {
+          && entityConsolidationData instanceof PortTemplateConsolidationData
+          && ToggleableFeature.VLAN_TAGGING.isActive()) {
         properties.put(SUB_INTERFACE_INDICATOR_PROPERTY,
             ((PortTemplateConsolidationData) entityConsolidationData).isPortBoundToSubInterface());
       }