abstract void
Is invoked by NCS to abort the configuration to the state before the
previous prepare() invocation.
void
abstract void
Is invoked by NCS to abort the current transaction and
bring the configuration back to the state before the
previous
prepare()
invocation.
void
void
abstract void
This method is invoked when the connection is terminated.
void
abstract void
This is for any optional commands on the device that are
not part of the yang files config data, but is modeled as
tailf:actions or rpcs in the device yang files.
void
abstract void
This indicates that the current set of operations should be
committed to the running configuration.
SSHClient default factory method.
void
This method is invoked to create a notification subscription.
void
abstract void
When this method is invoked the NED should produce a transaction
id that must be changed if any changes has been made to the
configuration since the last time the transaction id was requested.
void
void
Used for initializing an transaction.
Make a new instance of Ned object without establishing a connection
towards the device.
Make a new instance of Ned object without establishing a connection
towards the device.
boolean
This method is invoked to check if a connection is still
alive.
boolean
This method is invoked periodically to keep an connection
alive.
NedCliBase.newConnection(String deviceId,
InetAddress ip,
int port,
String proto,
String ruser,
String pass,
String secpass,
String publicKeyDir,
boolean trace,
int connectTimeout,
int readTimeout,
int writeTimeout,
NedMux mux,
NedWorker w)
Establish a new connection to a device and send response to
NCS with information about the device.
NedCliBaseTemplate.newConnection(String device_id,
InetAddress ip,
int port,
String proto,
String ruser,
String pass,
String secpass,
String publicKeyDir,
boolean trace,
int connectTimeout,
int readTimeout,
int writeTimeout,
NedMux mux,
NedWorker worker)
Establish a new connection to a device and send response to
NCS with information about the device using the method
setConnectionData()
A new instance representing the new connection should
be returned.
void
abstract void
This method is invoked when the currently committed change set
should be made permanent.
abstract void
Is invoked by NCS to take the configuration to a new state.
void
abstract void
Is invoked by NCS to take the configuration to a new state.
abstract void
Is invoked by NCS to tell the NED what actions it should take towards
the device if it should do a prepare.
void
void
Is invoked by NCS to ask the NED what actions it would take towards
the device if it would do a prepare.
void
abstract void
Used for resuming a connection found in the connection pool.
abstract void
Is invoked by NCS to undo the changes introduced in the last commit
operation (communicated to the NED in the prepare method invocation).
void
abstract void
Is invoked by NCS to undo the changes introduced in the last commit
operation (communicated to the NED in the prepare method invocation).
void
void
abstract void
Extract parts of the configuration and send it to NCS.
void
abstract void
Read parts of the configuration and applies it to the transaction
provided in
the method invocation.
void
Extract parts of the configuration and send it to NCS.
void
Read parts of the configuration and applies it to the
transaction, both provided in the method invocation.
void
Extract parts of the configuration and send it to NCS.
void
Extract parts of the configuration and send it to NCS.
void
void
Read parts of the configuration and applies it to the transaction
provided in
the method invocation.
void
When this method is invoked the NED should populate the provided
transaction th with the data corresponding to the filter.
void
When this method is invoked the NED should populate the provided
transaction th with the data corresponding to the filter.
void
When this method is invoked the NED should populate the provided
transaction th with the data corresponding to the filter.
void
When this method is invoked depending on the node type the NED should:
* If the path points to the list node or leaf-list node without
specifying the key, then the NED should populate the list keys.
void
void
If the transaction is not completed and the NED has done initialize
this method is called to undo the transaction preparations.
NedCliBase.showPartial(NedWorker,ConfPath[],String[])
instead.