com.vhosting.netconf
Class Validate

java.lang.Object
  extended by com.vhosting.netconf.Operation
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vhosting.netconf.Operation
Operation.Reply
 
Field Summary
 
Fields inherited from class com.vhosting.netconf.Operation
operation, session
 
Constructor Summary
Validate(Session session, Datastore source)
          Create the validate Netconf operation.
Validate(Session session, java.net.URL source)
          Create the validate Netconf operation.
 
Method Summary
 
Methods inherited from class com.vhosting.netconf.Operation
execute, execute, executeSync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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'.