Development of NETCONF RPCs for tr-069 adapter to
[oam/tr069-adapter.git] / ves-agent / src / main / java / org / commscope / tr069adapter / vesagent / util / VesAgentConstants.java
1 /*
2  * ============LICENSE_START========================================================================
3  * ONAP : tr-069-adapter
4  * =================================================================================================
5  * Copyright (C) 2020 CommScope Inc Intellectual Property.
6  * =================================================================================================
7  * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
9  * may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14  * either express or implied. See the License for the specific language governing permissions and
15  * limitations under the License.
16  * ===============LICENSE_END=======================================================================
17  */
18
19 package org.commscope.tr069adapter.vesagent.util;
20
21 /**
22  * 
23  * @version 1.0
24  * @since June 5, 2020
25  * @author Prashant Kumar
26  */
27
28 public class VesAgentConstants {
29   private VesAgentConstants() {}
30
31   public static final String HEART_BEAT = "heartbeat";
32
33   public static final String HEART_BEAT_PERIOD = "heartbeat.heartbeatPeriod";
34   public static final String HEART_BEAT_PERIOD_DEFAULT_VAL = "5"; // IN MIUTES
35
36   public static final String COUNT_DOWN_TIMER = "heartbeat.countDownTimer";
37
38   public static final String ENODEB_NAME = "ENODEB_NAME";
39
40   public static final String OBJECT_DATA_TYPE = "object";
41   public static final String COUNT_DOWN_TIMER_ZERO = "0";
42
43   public static final String REMOVE_HEART_BEAT_TIMER_VAL = "0";
44   public static final int DEVICE_IS_REACHABLE = 100;
45   public static final String ABORTED_BY_BOOT_BOOTSTRAP = "8002";
46
47   public static final int RPC_SUCCESS = 0;
48   public static final int RPC_FAILED = 1;
49   public static final String INVALID_ARGUMENTS = "9003";
50   public static final String INVALID_PARAMETER_NAME = "9005";
51   public static final String INVALID_PARAMETER_VALUE = "9007";
52
53
54 }