com.vhosting.netconf
Class Validate
java.lang.Object
com.vhosting.netconf.Operation
com.vhosting.netconf.Validate
public class Validate
- extends Operation
The validate Netconf operation.
This operation validates the contents of the specified
configuration.
urn:ietf:params:netconf:capability:validate:1.0
urn:ietf:params:netconf:capability:candidate:1.0
urn:ietf:params:netconf:capability:startup:1.0
urn:ietf:params:netconf:capability:url:1.0
- Version:
- 1.00, 02/11/2010
- Author:
- Giuseppe Palmeri
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validate
public Validate(Session session,
java.net.URL source)
throws CapabilityException
- Create the validate Netconf operation.
- Parameters:
session
- The active session.source
- The source URL Container.
- Throws:
CapabilityException
- Throw this exception if the server
does not have the :validate:1.0 capability.
Throw this exception if the server
does not have the :url:1.0 capability or if the used URL
schema is not supported by server.
Validate
public Validate(Session session,
Datastore source)
throws CapabilityException
- Create the validate Netconf operation.
- Parameters:
session
- The active session.source
- The source Container.
- Throws:
CapabilityException
- Throw this exception if the server
does not have the :validate:1.0 capability.
Throw this exception if the server
does not have the :candidate:1.0 capability and the source
container is 'candidate'..
Throw this exception if the server
does not have the :startup:1.0 capability and the source
container is 'startup'.