blob: cb1570650ea3f75207a0e361695d5e8a4d9850c8 [file] [log] [blame]
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -07001/*
2 * Copyright 2018-present Open Networking Foundation
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
17package org.onosproject.netconf.ctl.impl;
18
19/**
20 * Constants for default values of configurable properties.
21 */
22public final class OsgiPropertyConstants {
23
24 private OsgiPropertyConstants() {}
25
26 public static final String NETCONF_CONNECT_TIMEOUT = "netconfConnectTimeout";
27 public static final int NETCONF_CONNECT_TIMEOUT_DEFAULT = 5;
28
29 public static final String NETCONF_REPLY_TIMEOUT = "netconfReplyTimeout";
30 public static final int NETCONF_REPLY_TIMEOUT_DEFAULT = 5;
31
32 public static final String NETCONF_IDLE_TIMEOUT = "netconfIdleTimeout";
33 public static final int NETCONF_IDLE_TIMEOUT_DEFAULT = 300;
34
35 public static final String SSH_LIBRARY = "sshLibrary";
36 public static final String SSH_LIBRARY_DEFAULT = "apache-mina";
Anurag Chadha46732372021-05-10 17:32:59 +053037
38 public static final String SSH_KEY_PATH = "sshKeyPath";
39 public static final String SSH_KEY_PATH_DEFAULT = "/root/.ssh/id_rsa";
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070040}