Package com.tailf.ned
Class NedCapability
Object
com.tailf.ned.NedCapability
NedCapability is used to communicate the capabilities (supported
namespace, revision, features and deviations) of a NedConnection
(NedGeneric or NedCli).
-
Constructor Summary
ConstructorsConstructorDescriptionNedCapability
(String uri, String module) NedCapability
(String str, String uri, String module, List<String> features, String revision, List<String> deviations) This class mimics a capability as returned by a NETCONF agent over the NETCONF protocol.NedCapability
(String uri, String module, List<String> features, String revision, List<String> deviations) -
Method Summary
-
Constructor Details
-
NedCapability
-
NedCapability
public NedCapability(String str, String uri, String module, List<String> features, String revision, List<String> deviations) This class mimics a capability as returned by a NETCONF agent over the NETCONF protocol. A NED needs to return an array of these after it has connected to its managed device. This returned list of Capabilities make NCS handle a NED connection in a manner similar to a NETCONF connection. The list of capabilities returned by the NED connect code needs to precisely identify the actual capabilities of the device i.e which YANG modules NCS shall use when communication with the device.- Parameters:
str
- The full capability string similar to how a NETCONF agent returns. This optional parameter can be set to ""uri
- The actual capability uri. This parameter is required.module
- The name of the YANG module that implements this capability Required parameter.features
- If the modules is using the features 'feature' of YANG, which features are enabled by this device.revision
- If there exists multiple revisions of the yang module that implements this capability, which revision does this particular device run.deviations
- If the YANG feature 'deviations' are used, which deviations does this device have.
-
NedCapability
-
-
Method Details