public class DefaultNetconfClient extends Object implements NetconfClient
| Constructor and Description |
|---|
DefaultNetconfClient(MultiNetconfDataSource multiNetconfDataSource) |
| Modifier and Type | Method and Description |
|---|---|
com.tailf.jnc.Element |
action(NetconfDevice netconfDevice,
com.tailf.jnc.Element data) |
com.tailf.jnc.Element |
action(String url,
String username,
String password,
com.tailf.jnc.Element data) |
com.tailf.jnc.NodeSet |
callRpc(NetconfDevice netconfDevice,
com.tailf.jnc.Element data) |
com.tailf.jnc.NodeSet |
callRpc(String url,
String username,
String password,
com.tailf.jnc.Element data) |
void |
editConfig(NetconfDevice netconfDevice,
com.tailf.jnc.Element configTree) |
void |
editConfig(NetconfDevice netconfDevice,
com.tailf.jnc.NodeSet nodeSet) |
void |
editConfig(String url,
String username,
String password,
com.tailf.jnc.Element configTree) |
com.tailf.jnc.NodeSet |
get(NetconfDevice netconfDevice,
com.tailf.jnc.Element subtreeFilter) |
com.tailf.jnc.NodeSet |
get(NetconfDevice netconfDevice,
String xpath) |
com.tailf.jnc.NodeSet |
get(String url,
String username,
String password,
com.tailf.jnc.Element subtreeFilter) |
com.tailf.jnc.NodeSet |
get(String url,
String username,
String password,
String xpath) |
com.tailf.jnc.Capabilities |
getCapabilities(NetconfDevice netconfDevice) |
com.tailf.jnc.NodeSet |
getConfig(NetconfDevice netconfDevice,
com.tailf.jnc.Element subtreeFilter) |
com.tailf.jnc.NodeSet |
getConfig(NetconfDevice netconfDevice,
String xpath) |
com.tailf.jnc.NodeSet |
getConfig(String url,
String username,
String password,
com.tailf.jnc.Element subtreeFilter) |
com.tailf.jnc.NodeSet |
getConfig(String url,
String username,
String password,
String xpath) |
NetconfPooledConnection |
getConnection(NetconfDevice netconfDevice) |
NetconfPooledConnection |
getConnection(String url,
String username,
String password) |
com.tailf.jnc.Element |
rpc(NetconfDevice netconfDevice,
com.tailf.jnc.Element request) |
com.tailf.jnc.Element |
rpc(NetconfDevice netconfDevice,
String request) |
com.tailf.jnc.Element |
rpc(String url,
String username,
String password,
com.tailf.jnc.Element request) |
com.tailf.jnc.Element |
rpc(String url,
String username,
String password,
String request) |
int |
sendRequest(NetconfDevice netconfDevice,
com.tailf.jnc.Element request) |
int |
sendRequest(NetconfDevice netconfDevice,
String request) |
int |
sendRequest(String url,
String username,
String password,
com.tailf.jnc.Element request) |
int |
sendRequest(String url,
String username,
String password,
String request) |
int |
sendRpc(NetconfDevice netconfDevice,
com.tailf.jnc.Element data) |
int |
sendRpc(String url,
String username,
String password,
com.tailf.jnc.Element data) |
void |
validate(NetconfDevice netconfDevice,
com.tailf.jnc.Element configTree) |
void |
validate(String url,
String username,
String password,
com.tailf.jnc.Element configTree) |
public DefaultNetconfClient(MultiNetconfDataSource multiNetconfDataSource)
public com.tailf.jnc.Capabilities getCapabilities(NetconfDevice netconfDevice) throws NetconfException
getCapabilities in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet get(String url, String username, String password, String xpath) throws NetconfException
get in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet get(NetconfDevice netconfDevice, String xpath) throws NetconfException
get in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet get(String url, String username, String password, com.tailf.jnc.Element subtreeFilter) throws NetconfException
get in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet get(NetconfDevice netconfDevice, com.tailf.jnc.Element subtreeFilter) throws NetconfException
get in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(String url, String username, String password, String xpath) throws NetconfException
getConfig in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(NetconfDevice netconfDevice, String xpath) throws NetconfException
getConfig in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(String url, String username, String password, com.tailf.jnc.Element subtreeFilter) throws NetconfException
getConfig in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(NetconfDevice netconfDevice, com.tailf.jnc.Element subtreeFilter) throws NetconfException
getConfig in interface NetconfClientNetconfExceptionpublic void editConfig(String url, String username, String password, com.tailf.jnc.Element configTree) throws NetconfException
editConfig in interface NetconfClientNetconfExceptionpublic void editConfig(NetconfDevice netconfDevice, com.tailf.jnc.Element configTree) throws NetconfException
editConfig in interface NetconfClientNetconfExceptionpublic void editConfig(NetconfDevice netconfDevice, com.tailf.jnc.NodeSet nodeSet) throws NetconfException
editConfig in interface NetconfClientNetconfExceptionpublic NetconfPooledConnection getConnection(String url, String username, String password) throws NetconfException
getConnection in interface NetconfClientNetconfExceptionpublic NetconfPooledConnection getConnection(NetconfDevice netconfDevice) throws NetconfException
getConnection in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet callRpc(NetconfDevice netconfDevice, com.tailf.jnc.Element data) throws NetconfException
callRpc in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet callRpc(String url, String username, String password, com.tailf.jnc.Element data) throws NetconfException
callRpc in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(NetconfDevice netconfDevice, String request) throws NetconfException
rpc in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(String url, String username, String password, String request) throws NetconfException
rpc in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(NetconfDevice netconfDevice, com.tailf.jnc.Element request) throws NetconfException
rpc in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(String url, String username, String password, com.tailf.jnc.Element request) throws NetconfException
rpc in interface NetconfClientNetconfExceptionpublic int sendRequest(NetconfDevice netconfDevice, String request) throws NetconfException
sendRequest in interface NetconfClientNetconfExceptionpublic int sendRequest(String url, String username, String password, String request) throws NetconfException
sendRequest in interface NetconfClientNetconfExceptionpublic int sendRequest(NetconfDevice netconfDevice, com.tailf.jnc.Element request) throws NetconfException
sendRequest in interface NetconfClientNetconfExceptionpublic int sendRequest(String url, String username, String password, com.tailf.jnc.Element request) throws NetconfException
sendRequest in interface NetconfClientNetconfExceptionpublic int sendRpc(NetconfDevice netconfDevice, com.tailf.jnc.Element data) throws NetconfException
sendRpc in interface NetconfClientNetconfExceptionpublic int sendRpc(String url, String username, String password, com.tailf.jnc.Element data) throws NetconfException
sendRpc in interface NetconfClientNetconfExceptionpublic void validate(NetconfDevice netconfDevice, com.tailf.jnc.Element configTree) throws NetconfException
validate in interface NetconfClientNetconfExceptionpublic void validate(String url, String username, String password, com.tailf.jnc.Element configTree) throws NetconfException
validate in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.Element action(String url, String username, String password, com.tailf.jnc.Element data) throws NetconfException
action in interface NetconfClientNetconfExceptionpublic com.tailf.jnc.Element action(NetconfDevice netconfDevice, com.tailf.jnc.Element data) throws NetconfException
action in interface NetconfClientNetconfExceptionCopyright © 2021 airlenet. All rights reserved.