Moving all files to root directory
[appc.git] / appc-adapters / appc-netconf-adapter / appc-netconf-adapter-bundle / src / main / java / org / openecomp / appc / adapter / netconf / util / Constants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.openecomp.appc.adapter.netconf.util;
23
24 public class Constants {
25
26     public static final String CONFIGURE_PATH = "/restconf/config/opendaylight-inventory:nodes/node/";
27     public static final String CONNECT_PATH = "/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules";
28     public static final String CHECK_CONNECTION_PATH = "/restconf/operational/opendaylight-inventory:nodes/node/";
29     public static final String DISCONNECT_PATH = "/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules/module/odl-sal-netconf-connector-cfg:sal-netconf-connector/";
30
31     public static final String CONTROLLER_IP = "127.0.0.1";
32     public static final int CONTROLLER_PORT = 8181;
33     public static final String PROTOCOL = "http";
34
35     // tables and fields
36     public static final String NETCONF_SCHEMA = "sdnctl";
37     public static final String DEVICE_AUTHENTICATION_TABLE_NAME = "DEVICE_AUTHENTICATION";
38     public static final String CONFIGFILES_TABLE_NAME = "CONFIGFILES";
39     public static final String DEVICE_INTERFACE_LOG_TABLE_NAME = "DEVICE_INTERFACE_LOG";
40     public static final String FILE_CONTENT_TABLE_FIELD_NAME = "FILE_CONTENT";
41     public static final String FILE_NAME_TABLE_FIELD_NAME = "FILE_NAME";
42     public static final String USER_NAME_TABLE_FIELD_NAME = "USER_NAME";
43     public static final String PASSWORD_TABLE_FIELD_NAME = "PASSWORD";
44     public static final String VM_HOST_TABLE_FIELD_NAME = "VM_HOST";
45     public static final String VM_NAME_TABLE_FIELD_NAME = "VM_NAME";
46     public static final String PORT_NUMBER_TABLE_FIELD_NAME = "PORT_NUMBER";
47     public static final String VNF_TYPE_TABLE_FIELD_NAME = "VNF_TYPE";
48     public static final String SERVICE_INSTANCE_ID_FIELD_NAME = "SERVICE_INSTANCE_ID";
49     public static final String REQUEST_ID_FIELD_NAME = "REQUEST_ID";
50     public static final String CREATION_DATE_FIELD_NAME = "CREATION_DATE";
51     public static final String LOG_FIELD_NAME = "LOG";
52
53     // input fields names
54     public static final String VNF_TYPE_FIELD_NAME = "org.openecomp.appc.vftype";
55     public static final String TARGET_VNF_TYPE = "target-vnf-type";
56     public static final String FILE_CONTENT_FIELD_NAME = "file-content";
57     public static final String CONNECTION_DETAILS_FIELD_NAME = "connection-details";
58     public static final String CONFIGURATION_FILE_FIELD_NAME = "configuration-file-name";
59     public static final String VNF_HOST_IP_ADDRESS_FIELD_NAME = "vnf-host-ip-address";
60     public static final String DG_ERROR_FIELD_NAME = "org.openecomp.appc.dg.error";
61     public static final String RESOURCEKEY = "resourceKey";
62     public static final String DG_OUTPUT_STATUS_MESSAGE = "output.status.message";
63
64 }