MCPcopy Index your code
hub / github.com/Juniper/netconf-java / unlockConfig

Method unlockConfig

src/main/java/net/juniper/netconf/Device.java:972–978  ·  view source on GitHub ↗

Unlocks the candidate configuration. @return true if successful. @throws java.io.IOException If there are errors communicating with the netconf server. @throws org.xml.sax.SAXException If there are errors parsing the XML reply.

()

Source from the content-addressed store, hash-verified

970 * @throws org.xml.sax.SAXException If there are errors parsing the XML reply.
971 */
972 public boolean unlockConfig() throws IOException, SAXException {
973 if (netconfSession == null) {
974 throw new IllegalStateException("Cannot execute RPC, you need to " +
975 "establish a connection first.");
976 }
977 return this.netconfSession.unlockConfig();
978 }
979
980 /**
981 * Loads the candidate configuration, Configuration should be in XML format.

Calls

no outgoing calls