VLAN tagging - Pattern 1A, 1C1
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / main / java / org / openecomp / sdc / translator / services / heattotosca / Constants.java
1 /*
2  * Copyright © 2016-2018 European Support Limited
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.openecomp.sdc.translator.services.heattotosca;
18
19 public class Constants {
20   //Service Template - Template Names
21   public static final String GLOBAL_SUBSTITUTION_TYPES_TEMPLATE_NAME = "GlobalSubstitutionTypes";
22   public static final String MAIN_TEMPLATE_NAME = "Main";
23   //properties
24   public static final String MAX_INSTANCES_PROPERTY_NAME = "max_instances";
25   public static final String DESCRIPTION_PROPERTY_NAME = "description";
26   public static final String NAME_PROPERTY_NAME = "name";
27   public static final String SECURITY_GROUPS_PROPERTY_NAME = "security_groups";
28   public static final String PORT_PROPERTY_NAME = "port";
29   //General
30   public static final String PROP = "properties";
31   public static final String ATTR = "attributes";
32   public static final String SERVICE_INSTANCE_PORT_PREFIX = "port_";
33   public static final String SERVICE_INSTANCE_LINK_PREFIX = "link_";
34   //Unified model
35   static final String COMPUTE_IDENTICAL_VALUE_PROPERTY_PREFIX = "vm_";
36   static final String COMPUTE_IDENTICAL_VALUE_PROPERTY_SUFFIX = "_name";
37   static final String PORT_IDENTICAL_VALUE_PROPERTY_PREFIX = "port_";
38   static final String SUB_INTERFACE_PROPERTY_VALUE_PREFIX = "subinterface_";
39   public static final String ABSTRACT_NODE_TEMPLATE_ID_PREFIX = "abstract_";
40
41   private Constants() {
42   }
43 }