This is a major change to the netconf-java library. This version changes how Devices are created. Instead of passing in parameters in a constructor, Device now uses a Builder. This allows passing in whichver parameters you need and creating a unique Device object. Once created, you no longer change change attributes like userName or port.
Scribd is the world's largest social reading and publishing site.
Recently I have started playing around with the PHP library for NETCONF (https://github.com/Juniper/netconf-php). So far I have been able to get configurations from
origin: Juniper/netconf-java /** * Set the client capabilities to be advertised to the Netconf server. * @param capabilities * Client capabilities to be advertised to the Netconf server. */ public void setCapabilities(ArrayList capabilities) throws NetconfException { if ...
/**Send an RPC(as XML object) over the Netconf session and get the response * as a BufferedReader. * <p> * @param rpc * RPC to be sent. Use the XMLBuilder to create RPC as an * XML object. * @return RPC reply sent by Netconf server as a BufferedReader. This is * useful if we want continuous stream of output, rather than wait * for whole output till command execution