2 * Copyright (c) 2017 Inocybe Technologies and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netconf.util;
11 import io.netty.channel.local.LocalAddress;
12 import java.net.InetSocketAddress;
13 import java.util.concurrent.TimeUnit;
16 * Configuration for NETCONF northbound.
18 public interface NetconfConfiguration {
21 * LocalAddress constant for NETCONF northbound.
23 LocalAddress NETCONF_LOCAL_ADDRESS = new LocalAddress("netconf");
26 * Default timeout for NETCONF northbound connections.
28 long DEFAULT_TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(30);
31 * NETCONF SSH server address.
33 * @return NETCONF SSH server address
35 InetSocketAddress getSshServerAddress();
38 * NETCONF TCP server address.
40 * @return NETCONF TCP server address.
42 InetSocketAddress getTcpServerAddress();
45 * Private key path for NETCONF.
47 * @return Private key path for NETCONF.
49 String getPrivateKeyPath();