2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.generator.util;
23 public class GeneratorConstants {
24 public static final String ALLOWED_FLAVORS_PROPERTY = "allowed_flavors";
25 public static final String IMAGES_PROPERTY = "images";
26 public static final String RELEASE_VENDOR = "releaseVendor";
27 public static final String VNF_CONFIG_NODE_TEMPLATE_ID_SUFFIX = "_VNF_Configuration";
28 public static final String VNF_NODE_TEMPLATE_ID_SUFFIX = "_VNF";
29 public static final String PORT_TYPE_INTERNAL_NODE_TEMPLATE_SUFFIX = "_lan";
30 public static final String PORT_TYPE_EXTERNAL_NODE_TEMPLATE_SUFFIX = "_wan";
31 public static final String PORT_NODE_TEMPLATE_ID_SUFFIX = "_port";
33 public static final String TOSCA_SERVICE_TEMPLATE_FILE_NAME_SUFFIX = "ServiceTemplate.yaml";
35 //Manual VSP propeties
36 public static final String NUM_CPUS = "num_cpus";
37 public static final String DISK_SIZE = "disk_size";
38 public static final String MEM_SIZE = "mem_size";
40 public static final String NUM_CPUS_PROP_DESC_PREFIX = "Number of cpu for ";
41 public static final String DISK_SIZE_PROP_DESC_PREFIX = "Disk size for ";
42 public static final String MEM_SIZE_PROP_DESC_PREFIX = "Memory size for ";