public class DefaultNetconfClient extends Object implements NetconfClient
| 构造器和说明 |
|---|
DefaultNetconfClient(MultiNetconfDataSource multiNetconfDataSource) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.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.NodeSet get(String url, String username, String password, String xpath) throws NetconfException
get 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet get(NetconfDevice netconfDevice, String xpath) throws NetconfException
get 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet get(String url, String username, String password, com.tailf.jnc.Element subtreeFilter) throws NetconfException
get 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet get(NetconfDevice netconfDevice, com.tailf.jnc.Element subtreeFilter) throws NetconfException
get 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(String url, String username, String password, String xpath) throws NetconfException
getConfig 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(NetconfDevice netconfDevice, String xpath) throws NetconfException
getConfig 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(String url, String username, String password, com.tailf.jnc.Element subtreeFilter) throws NetconfException
getConfig 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet getConfig(NetconfDevice netconfDevice, com.tailf.jnc.Element subtreeFilter) throws NetconfException
getConfig 在接口中 NetconfClientNetconfExceptionpublic void editConfig(String url, String username, String password, com.tailf.jnc.Element configTree) throws NetconfException
editConfig 在接口中 NetconfClientNetconfExceptionpublic void editConfig(NetconfDevice netconfDevice, com.tailf.jnc.Element configTree) throws NetconfException
editConfig 在接口中 NetconfClientNetconfExceptionpublic void editConfig(NetconfDevice netconfDevice, com.tailf.jnc.NodeSet nodeSet) throws NetconfException
editConfig 在接口中 NetconfClientNetconfExceptionpublic NetconfPooledConnection getConnection(String url, String username, String password) throws NetconfException
getConnection 在接口中 NetconfClientNetconfExceptionpublic NetconfPooledConnection getConnection(NetconfDevice netconfDevice) throws NetconfException
getConnection 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet callRpc(NetconfDevice netconfDevice, com.tailf.jnc.Element data) throws NetconfException
callRpc 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.NodeSet callRpc(String url, String username, String password, com.tailf.jnc.Element data) throws NetconfException
callRpc 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(NetconfDevice netconfDevice, String request) throws NetconfException
rpc 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(String url, String username, String password, String request) throws NetconfException
rpc 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(NetconfDevice netconfDevice, com.tailf.jnc.Element request) throws NetconfException
rpc 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.Element rpc(String url, String username, String password, com.tailf.jnc.Element request) throws NetconfException
rpc 在接口中 NetconfClientNetconfExceptionpublic int sendRequest(NetconfDevice netconfDevice, String request) throws NetconfException
sendRequest 在接口中 NetconfClientNetconfExceptionpublic int sendRequest(String url, String username, String password, String request) throws NetconfException
sendRequest 在接口中 NetconfClientNetconfExceptionpublic int sendRequest(NetconfDevice netconfDevice, com.tailf.jnc.Element request) throws NetconfException
sendRequest 在接口中 NetconfClientNetconfExceptionpublic int sendRequest(String url, String username, String password, com.tailf.jnc.Element request) throws NetconfException
sendRequest 在接口中 NetconfClientNetconfExceptionpublic int sendRpc(NetconfDevice netconfDevice, com.tailf.jnc.Element data) throws NetconfException
sendRpc 在接口中 NetconfClientNetconfExceptionpublic int sendRpc(String url, String username, String password, com.tailf.jnc.Element data) throws NetconfException
sendRpc 在接口中 NetconfClientNetconfExceptionpublic void validate(NetconfDevice netconfDevice, com.tailf.jnc.Element configTree) throws NetconfException
validate 在接口中 NetconfClientNetconfExceptionpublic void validate(String url, String username, String password, com.tailf.jnc.Element configTree) throws NetconfException
validate 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.Element action(String url, String username, String password, com.tailf.jnc.Element data) throws NetconfException
action 在接口中 NetconfClientNetconfExceptionpublic com.tailf.jnc.Element action(NetconfDevice netconfDevice, com.tailf.jnc.Element data) throws NetconfException
action 在接口中 NetconfClientNetconfExceptionCopyright © 2020 airlenet. All rights reserved.