- callRpc(Element) - Method in class com.tailf.jnc.NetconfSession
-
Calls rpc method.
- camelize(String) - Static method in class com.tailf.jnc.YangElement
-
- CANDIDATE - Static variable in class com.tailf.jnc.NetconfSession
-
The CANDIDATE datastore.
- CANDIDATE_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :candidate capability.
- candidateCapability - Variable in class com.tailf.jnc.Capabilities
-
- canEqual(Object) - Method in class com.tailf.jnc.YangBaseString
-
Compares type of obj with this object to see if they can be equal.
- canEqual(Object) - Method in class com.tailf.jnc.YangBinary
-
Compares type of obj with this object to see if they can be equal.
- canEqual(Object) - Method in class com.tailf.jnc.YangBits
-
- canEqual(Object) - Method in class com.tailf.jnc.YangBoolean
-
Compares type of obj with this object to see if they can be equal.
- canEqual(Object) - Method in class com.tailf.jnc.YangDecimal64
-
- canEqual(Object) - Method in class com.tailf.jnc.YangEmpty
-
Compares type of obj with this object to see if they can be equal.
- canEqual(Object) - Method in class com.tailf.jnc.YangEnumeration
-
Compares type of obj with this object to see if they can be equal.
- canEqual(Object) - Method in class com.tailf.jnc.YangIdentityref
-
- canEqual(Object) - Method in class com.tailf.jnc.YangString
-
Compares type of obj with this object to see if they can be equal.
- canEqual(Object) - Method in interface com.tailf.jnc.YangType
-
Compares type of obj with this object to see if they can be equal.
- canEqual(Object) - Method in class com.tailf.jnc.YangUnion
-
Compares type of obj with this object to see if they can be equal.
- Capabilities - Class in com.tailf.jnc
-
- Capabilities(Element) - Constructor for class com.tailf.jnc.Capabilities
-
- capabilities - Variable in class com.tailf.jnc.NetconfSession
-
The capability elements for the session.
- check() - Method in class com.tailf.jnc.YangBinary
-
Nop method provided because this class extends the YangBaseType class.
- check() - Method in class com.tailf.jnc.YangBits
-
Checks that the value matches mask.
- check() - Method in class com.tailf.jnc.YangBoolean
-
Nop method provided because this class extends the YangBaseType class.
- check() - Method in class com.tailf.jnc.YangDecimal64
-
Checks that the value of this object does not violate any invariants.
- check() - Method in class com.tailf.jnc.YangEmpty
-
- check() - Method in class com.tailf.jnc.YangEnumeration
-
- check() - Method in interface com.tailf.jnc.YangType
-
Checks that the value of this object is not null.
- check() - Method in class com.tailf.jnc.YangUnion
-
Checks that the value of this object is not null and is instance of a
member type.
- checkSync(YangElement) - Method in class com.tailf.jnc.YangElement
-
Checks if two configurations are equal, or if a sync is needed.
- checkSync(NodeSet, NodeSet) - Static method in class com.tailf.jnc.YangElement
-
Checks if two configurations are equal, or if a sync is needed.
- checkSync(YangElement, YangElement) - Static method in class com.tailf.jnc.YangElement
-
Checks if two configurations are equal, or if a sync is needed.
- children - Variable in class com.tailf.jnc.Element
-
Children to the node, if container element.
- children - Variable in class com.tailf.jnc.SchemaNode
-
- childrenNames() - Method in class com.tailf.jnc.YangElement
-
Structure information.
- clearConfig(String) - Method in class com.tailf.jnc.Device
-
Clears the accumulation config tree for a named NETCONF session
- clone() - Method in class com.tailf.jnc.Attribute
-
Clones the attribute, returning an exact copy.
- clone() - Method in class com.tailf.jnc.Element
-
Clones the tree, making an exact copy.
- clone() - Method in class com.tailf.jnc.Leaf
-
- clone() - Method in class com.tailf.jnc.YangEmpty
-
- clone() - Method in interface com.tailf.jnc.YangType
-
Clones this object and its value.
- cloneAttrs(Element) - Method in class com.tailf.jnc.Element
-
Clones the attributes to the target copy.
- cloneContent(YangElement) - Method in class com.tailf.jnc.YangElement
-
Clones the content of this YangElement into a target copy.
- cloneShallow() - Method in class com.tailf.jnc.Element
-
Clones the tree, making an exact copy.
- cloneShallow() - Method in class com.tailf.jnc.YangBaseString
-
- cloneShallow() - Method in class com.tailf.jnc.YangBinary
-
- cloneShallow() - Method in class com.tailf.jnc.YangBits
-
- cloneShallow() - Method in class com.tailf.jnc.YangBoolean
-
- cloneShallow() - Method in class com.tailf.jnc.YangDecimal64
-
- cloneShallow() - Method in class com.tailf.jnc.YangElement
-
Clones a YangElement.
- cloneShallow() - Method in class com.tailf.jnc.YangEnumeration
-
- cloneShallow() - Method in class com.tailf.jnc.YangIdentityref
-
- cloneShallow() - Method in class com.tailf.jnc.YangInt16
-
- cloneShallow() - Method in class com.tailf.jnc.YangInt32
-
- cloneShallow() - Method in class com.tailf.jnc.YangInt64
-
- cloneShallow() - Method in class com.tailf.jnc.YangInt8
-
- cloneShallow() - Method in class com.tailf.jnc.YangUInt16
-
- cloneShallow() - Method in class com.tailf.jnc.YangUInt32
-
- cloneShallow() - Method in class com.tailf.jnc.YangUInt64
-
- cloneShallow() - Method in class com.tailf.jnc.YangUInt8
-
- cloneShallow() - Method in class com.tailf.jnc.YangUnion
-
- cloneShallowContent(YangElement) - Method in class com.tailf.jnc.YangElement
-
Clones the contents of this YangElement into a target copy.
- cloneValue(Element) - Method in class com.tailf.jnc.Element
-
clones the value to the target copy.
- close() - Method in class com.tailf.jnc.Device
-
end all NETCONF sessions and close the SSH socket associated to this
device It also clears all accumulated config trees.
- close() - Method in class com.tailf.jnc.SSHConnection
-
Closes the SSH session/connection.
- close() - Method in class com.tailf.jnc.SSHSession
-
Closes the SSH channnel
- close() - Method in interface com.tailf.jnc.Transport
-
Closes the Transport session/connection.
- closeSession(String) - Method in class com.tailf.jnc.Device
-
Close the named session associated with this device.
- closeSession() - Method in class com.tailf.jnc.NetconfSession
-
Requests graceful termination of a NETCONF session.
- COLON_UNEXPECTED_ELEMENT - Static variable in class com.tailf.jnc.YangElement
-
- com.tailf.jnc - package com.tailf.jnc
-
Classes and interfaces to interact with NETCONF devices, both in an agnostic
and in a data model aware way.
- commit() - Method in class com.tailf.jnc.NetconfSession
-
When a candidate configuration's content is complete, the configuration
data can be committed, publishing the data set to the rest of the device
and requesting the device to conform to the behavior described in the
new configuration.
- compare(Element) - Method in class com.tailf.jnc.Element
-
Compare two elements.
- compare(YangElement) - Method in class com.tailf.jnc.YangElement
-
Compares children values of this YangElement with those of another
YangElement.
- compare(Element) - Method in class com.tailf.jnc.YangElement
-
Compares children values of this YangElement with those of another
Element.
- con - Variable in class com.tailf.jnc.Device
-
An SSH Connection to this device.
- CONFIG_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- ConfigurationMergeHandler - Class in com.tailf.jnc
-
Handles merging of netconf configurations.
- ConfigurationMergeHandler() - Constructor for class com.tailf.jnc.ConfigurationMergeHandler
-
- CONFIRMED_COMMIT_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :confirmed-commit capability.
- confirmedCommit(int) - Method in class com.tailf.jnc.NetconfSession
-
The :confirmed-commit capability indicates that the server
supports the confirmed commit.
- confirmedCommitCapability - Variable in class com.tailf.jnc.Capabilities
-
- connect(String) - Method in class com.tailf.jnc.Device
-
This method finds the
DeviceUser associated to the localUser
user name and SSH connects to the device, this method must be called
prior to establishing any sessions (channels)
- connect(String, int) - Method in class com.tailf.jnc.Device
-
This connect() method has an additional timeout paramater.
- connSessions - Variable in class com.tailf.jnc.Device
-
The NETCONF sessions (channels) for this device.
- CONTINUE_ON_ERROR - Static variable in class com.tailf.jnc.NetconfSession
-
Value for error option.
- COPY_CONFIG_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- copyConfig(Element, int) - Method in class com.tailf.jnc.NetconfSession
-
Creates or replace an entire configuration datastore with the contents
of another complete configuration datastore.
- copyConfig(NodeSet, int) - Method in class com.tailf.jnc.NetconfSession
-
variant of copyConfig() that takes a NodeSet as param
- copyConfig(Element, String) - Method in class com.tailf.jnc.NetconfSession
-
- copyConfig(NodeSet, String) - Method in class com.tailf.jnc.NetconfSession
-
- copyConfig(int, int) - Method in class com.tailf.jnc.NetconfSession
-
Creates or replace an entire configuration datastore with the contents
of another complete configuration datastore.
- copyConfig(int, String) - Method in class com.tailf.jnc.NetconfSession
-
- copyConfig(String, String) - Method in class com.tailf.jnc.NetconfSession
-
- copyConfig(String, int) - Method in class com.tailf.jnc.NetconfSession
-
- create(String, String) - Static method in class com.tailf.jnc.Element
-
Static method that creates a new configuration element tree given a
path.
- create(Prefix, String) - Static method in class com.tailf.jnc.Element
-
Static method that creates a new configuration element tree, given a
path.
- create(PrefixMap, String) - Static method in class com.tailf.jnc.Element
-
Static method that creates a new configuration element tree, given a
path.
- create(String) - Static method in class com.tailf.jnc.SchemaTree
-
If no hashmap exists for namespace, it is created.
- CREATE_MERGE - Static variable in class com.tailf.jnc.Element
-
Creates a new path and merges with the existing nodes when possible.
- CREATE_MERGE_MULTI - Static variable in class com.tailf.jnc.Element
-
Creates a new path and merges with the existing nodes when possible.
- CREATE_NEW - Static variable in class com.tailf.jnc.Element
-
Creates a new path.
- createChild(String) - Method in class com.tailf.jnc.Element
-
Creates a child element to the context node.
- createChild(String, Object) - Method in class com.tailf.jnc.Element
-
Creates a child element with specified value.
- createChild(String, String, Object) - Method in class com.tailf.jnc.Element
-
Creates a child element with specified value.
- createInstance(ElementHandler, Element, String, String) - Static method in class com.tailf.jnc.YangElement
-
Creates an instance of a child using class generated by the JNC pyang
plugin.
- createPath(String) - Method in class com.tailf.jnc.Element
-
Creates an element tree as a child to the context node from a create
path expression.
- createPath(int, String) - Method in class com.tailf.jnc.Element
-
Creates an element tree as a child to the context node from a create
path expression.
- createPath(String, String) - Method in class com.tailf.jnc.Element
-
Creates an element tree as a child to the context node from a create
path expression.
- createPath(Prefix, String) - Method in class com.tailf.jnc.Element
-
Creates an element tree as a child to the context node from a create
path expression.
- createPath(PrefixMap, String) - Method in class com.tailf.jnc.Element
-
Creates an element tree as a child to the context node from a create
path expression.
- createPath(int, PrefixMap, String) - Method in class com.tailf.jnc.Element
-
Creates an element tree as a child to the context node.
- createSubscription() - Method in class com.tailf.jnc.NetconfSession
-
The notification capability makes it possible to receive notifications
specified in a subscription.
- createSubscription(String) - Method in class com.tailf.jnc.NetconfSession
-
The notification capability makes it possible to receive notifications
specified in a subscription.
- createSubscription(String, NodeSet, String, String) - Method in class com.tailf.jnc.NetconfSession
-
The notification capability makes it possible to receive notifications
specified in a subscription.
- createSubscription(String, String, String, String) - Method in class com.tailf.jnc.NetconfSession
-
- EDIT_CONFIG_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- editConfig(Element) - Method in class com.tailf.jnc.NetconfSession
-
Edits the configuration.
- editConfig(NodeSet) - Method in class com.tailf.jnc.NetconfSession
-
Edits the configuration.
- editConfig(int, Element) - Method in class com.tailf.jnc.NetconfSession
-
Edits the configuration.
- editConfig(int, NodeSet) - Method in class com.tailf.jnc.NetconfSession
-
- editConfig(int, String) - Method in class com.tailf.jnc.NetconfSession
-
Edits the configuration.
- Element - Class in com.tailf.jnc
-
A configuration element sub-tree.
- Element(String, String) - Constructor for class com.tailf.jnc.Element
-
Constructor that creates a new element tree.
- ELEMENT_ALREADY_IN_USE - Static variable in exception com.tailf.jnc.JNCException
-
This element has already been used.
- ELEMENT_MISSING - Static variable in exception com.tailf.jnc.JNCException
-
This element does not exist.
- ELEMENT_MISSING - Static variable in exception com.tailf.jnc.YangException
-
- ElementChildrenIterator - Class in com.tailf.jnc
-
This is an iterator class that is used for iterating over all the children
with a specified name in a NodeSet.
- ElementChildrenIterator(NodeSet) - Constructor for class com.tailf.jnc.ElementChildrenIterator
-
Constructor to create new children iterator for all children.
- ElementChildrenIterator(NodeSet, String) - Constructor for class com.tailf.jnc.ElementChildrenIterator
-
Constructor to create a new children iterator for children of a specific
name.
- ElementLeafListValueIterator - Class in com.tailf.jnc
-
This is an iterator class that is used for iterating over all leaf-list
children with a specified name in a NodeSet.
- ElementLeafListValueIterator(NodeSet, String) - Constructor for class com.tailf.jnc.ElementLeafListValueIterator
-
Constructor to create a new children iterator for leaf-list children of
a specific name.
- enableNewerRevisionSupport() - Static method in class com.tailf.jnc.RevisionInfo
-
Enables revision support for older schema at the device.
- enableOlderRevisionSupport() - Static method in class com.tailf.jnc.RevisionInfo
-
Enables revision support for newer data.
- encode(Transport) - Method in class com.tailf.jnc.Element
-
Encode to XML and send it to the provided stream.
- encode(Transport, Capabilities) - Method in class com.tailf.jnc.Element
-
Encode to XML and send it to the provided stream.
- encode(Transport, boolean) - Method in class com.tailf.jnc.Element
-
Encode to XML and send it to the provided stream.
- encode(Transport, boolean, Capabilities) - Method in class com.tailf.jnc.Element
-
Encode to XML and send it to the provided stream.
- encode(Transport, boolean, Capabilities) - Method in class com.tailf.jnc.Leaf
-
- encode(Transport, boolean, Capabilities) - Method in class com.tailf.jnc.YangElement
-
- encode_rpc_begin(Transport) - Method in class com.tailf.jnc.NetconfSession
-
Encodes the RPC header and writes it to the provided output transport.
- encode_rpc_begin(Transport, Attribute) - Method in class com.tailf.jnc.NetconfSession
-
Encodes the RPC header and writes it to the provided output transport.
- encode_rpc_end(Transport) - Method in class com.tailf.jnc.NetconfSession
-
Closes the rpc tag.
- enums() - Method in class com.tailf.jnc.YangEnumeration
-
Get the allowed type names for this enumeration.
- equals(Object) - Method in class com.tailf.jnc.Element
-
Compare if equal to another Object.
- equals(Object) - Method in class com.tailf.jnc.Tagpath
-
- equals(Object) - Method in class com.tailf.jnc.YangBits
-
- equals(Object) - Method in class com.tailf.jnc.YangDecimal64
-
- equals(Object) - Method in class com.tailf.jnc.YangEnumeration
-
Compares this enumeration with another object for equality.
- equals(Object) - Method in class com.tailf.jnc.YangUnion
-
Compares this union with another object for equality.
- EQUALS_QUOTE - Static variable in class com.tailf.jnc.Attribute
-
- errorAppTag - Variable in class com.tailf.jnc.RpcError
-
Contains a string identifying the data-model-specific or
implementation-specific error condition, if one exists.
- errorCode - Variable in exception com.tailf.jnc.JNCException
-
An error code indicating what went wrong.
- errorInfo - Variable in class com.tailf.jnc.RpcError
-
Contains protocol- or data-model-specific error content.
- errorMessage - Variable in class com.tailf.jnc.RpcError
-
Contains a string suitable for human display that describes the error
condition.
- errorPath - Variable in class com.tailf.jnc.RpcError
-
Contains the absolute XPath expression identifying the element path to
the node that is associated with the error being reported in a
particular rpc-error element.
- errorSeverity - Variable in class com.tailf.jnc.RpcError
-
Contains a string identifying the error severity, as determined by the
device.
- errorTag - Variable in class com.tailf.jnc.RpcError
-
Contains a string identifying the error condition.
- errorType - Variable in class com.tailf.jnc.RpcError
-
The error type defines the conceptual layer that the error occurred.
- eval(Element) - Method in class com.tailf.jnc.Path
-
Evaluates the Path given a contextNode.
- eval(PrefixMap) - Method in class com.tailf.jnc.PathCreate
-
Evaluates the path expression and build a new Element subtree.
- exact(int) - Method in class com.tailf.jnc.YangBaseString
-
Checks that the value of this object has the specified length.
- exact(int) - Method in class com.tailf.jnc.YangBinary
-
Checks that the value buffer of this object has the specified number of
octets/bytes.
- exists(String) - Method in class com.tailf.jnc.Element
-
Check if any nodes in this element matches a given path string.
- get(String) - Method in class com.tailf.jnc.Element
-
Gets all nodes matching a given path expression.
- get() - Method in class com.tailf.jnc.NetconfSession
-
Retrieves running configuration and device state information.
- get(Element) - Method in class com.tailf.jnc.NetconfSession
-
Retrieves running configuration and device state information.
- get(String) - Method in class com.tailf.jnc.NetconfSession
-
Retrieves running configuration and device state information.
- get(String) - Method in class com.tailf.jnc.NodeSet
-
'Get' using path expression on nodes within the set.
- get(Element) - Static method in class com.tailf.jnc.SchemaNode
-
Finds the schema class for a data element
- GET_CONFIG_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- GET_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- getAttr(String) - Method in class com.tailf.jnc.Element
-
Gets an Attribute
- getAttrs() - Method in class com.tailf.jnc.Element
-
Gets all attributes for this element.
- getAttrValue(String) - Method in class com.tailf.jnc.Element
-
Returns the string value of the named attribute.
- getBacklog() - Method in class com.tailf.jnc.Device
-
Return the backlog.
- getCapabilities() - Method in class com.tailf.jnc.NetconfSession
-
Return a Capabilities object with the NETCONF capabilities for this
session.
- getChild(String) - Method in class com.tailf.jnc.Element
-
Get the (first) child with specified name, from children list
- getChild(Element) - Method in class com.tailf.jnc.Element
-
Tries to find an element with the same namespace and name as x.
- getChildren() - Method in class com.tailf.jnc.Element
-
Returns the children of this node.
- getChildren(String) - Method in class com.tailf.jnc.Element
-
Get the children with specified name, from children list
- getConfig(String) - Method in class com.tailf.jnc.Device
-
Returns the accumulated config tree for a named NETCONF session.
- getConfig(Element) - Method in class com.tailf.jnc.NetconfSession
-
Gets the device configuration data specified by subtree filtering.
- getConfig() - Method in class com.tailf.jnc.NetconfSession
-
Gets the device configuration data.
- getConfig(int) - Method in class com.tailf.jnc.NetconfSession
-
Gets the device configuration data.
- getConfig(String) - Method in class com.tailf.jnc.NetconfSession
-
Gets the device configuration data specified by an xpath expression.
- getConfig(int, Element) - Method in class com.tailf.jnc.NetconfSession
-
Gets the device configuration data specified by subtree filtering.
- getConfig(int, String) - Method in class com.tailf.jnc.NetconfSession
-
Gets the device configuration data specified by an xpath filter.
- getContextPrefixMap() - Method in class com.tailf.jnc.Element
-
Returns a prefix map, as it is in the current context.
- getDiff(YangElement, YangElement, NodeSet, NodeSet, NodeSet, NodeSet) - Static method in class com.tailf.jnc.YangElement
-
Produces the 'diff' between two trees.
- getElement(int) - Method in class com.tailf.jnc.NodeSet
-
Gets an element from the node set.
- getElementPath(String) - Method in class com.tailf.jnc.Element
-
Returns the path for this element including an appended sub-path.
- getElementPath() - Method in class com.tailf.jnc.Element
-
Returns the path as a string
- getFirst(String) - Method in class com.tailf.jnc.Element
-
Returns first node that matches the path expression, or
null if no such node was found.
- getFirst(String) - Method in class com.tailf.jnc.NodeSet
-
'Get' using path expression on nodes within the set.
- getFractionDigits() - Method in class com.tailf.jnc.YangDecimal64
-
- getGanymedConnection() - Method in class com.tailf.jnc.SSHConnection
-
This is required if wish to have access to the ganymed connection object
outside of this package.
- getHashMap(String) - Static method in class com.tailf.jnc.SchemaTree
-
- getKeyPassPhrase() - Method in class com.tailf.jnc.DeviceUser
-
- getLast(String) - Method in class com.tailf.jnc.Element
-
Returns the last node that matches the path expression, or
null if no such node was found.
- getLoadedNamespaces() - Static method in class com.tailf.jnc.SchemaTree
-
- getLocalUser() - Method in class com.tailf.jnc.DeviceUser
-
- getPackage(String) - Static method in class com.tailf.jnc.YangElement
-
Locate package from Namespace.
- getParent() - Method in class com.tailf.jnc.Element
-
Returns the parent node of this node.
- getPassword() - Method in class com.tailf.jnc.DeviceUser
-
- getPemFile() - Method in class com.tailf.jnc.DeviceUser
-
- getPemPrivateKey() - Method in class com.tailf.jnc.DeviceUser
-
- getPrefix(int) - Method in class com.tailf.jnc.PrefixMap
-
Gets the prefix at specified index.
- getReadTimeout(String) - Method in class com.tailf.jnc.Device
-
Gets the readTimeout associated to a named session
- getReadTimeout() - Method in class com.tailf.jnc.SSHSession
-
Return the readTimeout value that is used to read data from the ssh
socket.
- getRemoteuser() - Method in class com.tailf.jnc.DeviceUser
-
- getRevision(String) - Method in class com.tailf.jnc.Capabilities
-
Returns the revision for a specific uri, return null if no revision
found.
- getRootElement() - Method in class com.tailf.jnc.Element
-
- getSession(String) - Method in class com.tailf.jnc.Device
-
Returns a named NetconfSession for this NETCONF enabled device.
- getSession() - Method in class com.tailf.jnc.SSHSession
-
Needed by users that need to monitor a session for EOF .
- getSSHConnection() - Method in class com.tailf.jnc.SSHSession
-
Return the underlying ssh connection object
- getSSHSession(String) - Method in class com.tailf.jnc.Device
-
Returns a named SSHSession for this NETCONF enabled device.
- getStreams() - Method in class com.tailf.jnc.NetconfSession
-
Method to get the available streams from the agent.
- getTransport() - Method in class com.tailf.jnc.NetconfSession
-
Returns the transport object used by this session.
- getUrlSchemes() - Method in class com.tailf.jnc.Capabilities
-
- getUsers() - Method in class com.tailf.jnc.Device
-
Return the list of users.
- getValue() - Method in class com.tailf.jnc.Attribute
-
Returns the value of the attribute.
- getValue() - Method in class com.tailf.jnc.Element
-
Returns the value of this element.
- getValue(String) - Method in class com.tailf.jnc.Element
-
Returns the value of a the first subnode matching a given path string,
or null if there are no matches.
- getValue() - Method in class com.tailf.jnc.YangEmpty
-
- getValue() - Method in interface com.tailf.jnc.YangType
-
- getValueOfChild(String) - Method in class com.tailf.jnc.Element
-
Finds the value of child with specified name, if it exists.
- getValues(String) - Method in class com.tailf.jnc.Element
-
Returns the value(s) of nodes in a given path expression.
- getValuesAsSet(String) - Method in class com.tailf.jnc.Element
-
Returns the values of nodes in a given path expression.
- hasActions() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :actions capability.
- hasBacklog() - Method in class com.tailf.jnc.Device
-
Checks if a backlog is saved for this device.
- hasCandidate() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :candidate capability.
- hasCapability(String) - Method in class com.tailf.jnc.Capabilities
-
Checks all capabilities including the rfc 4711 ones
- hasCapability(String) - Method in class com.tailf.jnc.NetconfSession
-
Check if a specific named capability is supported.
- hasChildren() - Method in class com.tailf.jnc.Element
-
Returns true if this node has any children,
false otherwise.
- hasConfig(String) - Method in class com.tailf.jnc.Device
-
Check if the named session have a saved configuration tree.
- hasConfirmedCommit() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :confirmed-commit capability.
- hashCode() - Method in class com.tailf.jnc.Element
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tailf.jnc.Tagpath
-
- hashCode() - Method in class com.tailf.jnc.YangBits
-
- hashCode() - Method in class com.tailf.jnc.YangDecimal64
-
- hashCode() - Method in class com.tailf.jnc.YangEnumeration
-
- hashCode() - Method in class com.tailf.jnc.YangUnion
-
- hasInterleave() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :interleave capablity
- hasNext() - Method in class com.tailf.jnc.ElementChildrenIterator
-
- hasNext() - Method in class com.tailf.jnc.ElementLeafListValueIterator
-
- hasNotification() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :notification capablity
- hasPartialLock() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :partial-lock capability.
- hasRollbackOnError() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :rollback-on-error capability.
- hasSession(String) - Method in class com.tailf.jnc.Device
-
Checks if this device has any sessions with specified name.
- hasStartup() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :startup capablity
- hasTransactions() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :transactions capability.
- hasUrl() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :url capability.
- hasValidate() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :validate capability.
- hasWithDefaults() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :with-defaults capability.
- hasWritableRunning() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :writable-running capability.
- hasXPath() - Method in class com.tailf.jnc.Capabilities
-
Predicate for the :xpath capability.
- hello() - Method in class com.tailf.jnc.NetconfSession
-
Capabilities are advertised in messages sent by each peer during session
establishment.
- HTTP_TAIL_F_COM - Static variable in class com.tailf.jnc.Capabilities
-
- idata - Variable in class com.tailf.jnc.RevisionInfo
-
- indexOfName(String) - Method in class com.tailf.jnc.PrefixMap
-
Returns the index of the prefix name in the prefix map.
- initTransients() - Method in class com.tailf.jnc.Device
-
If Device is stored on disk as a serialized object, we need to init the
transient variables after we read a Device from disk.
- input(String) - Method in class com.tailf.jnc.DefaultIOSubscriber
-
Will get called as soon as we have input (data which is received).
- input(String) - Method in class com.tailf.jnc.IOSubscriber
-
Will get called as soon as we have input (data which is received).
- insertChild(Element) - Method in class com.tailf.jnc.Element
-
Inserts a child element and returns the position of (the first
occurrence of) the inserted child in the list of children.
- insertChild(Element, int) - Method in class com.tailf.jnc.Element
-
Inserts a child element at a specific index in the list of children and
returns that index upon success.
- insertChild(Element, String[]) - Method in class com.tailf.jnc.Element
-
Inserts a child element at the correct position by providing structure
information (the names of all the children, in order).
- insertFirst(Element) - Method in class com.tailf.jnc.Element
-
Inserts a child element first in the list of children.
- insertLast(Element) - Method in class com.tailf.jnc.Element
-
Inserts a child element last in the list of children.
- INTERLEAVE_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :interleave capability.
- interleaveCapability - Variable in class com.tailf.jnc.Capabilities
-
- introduced - Variable in class com.tailf.jnc.RevisionInfo
-
- IOSubscriber - Class in com.tailf.jnc
-
The IO subscriber is used for tracing, auditing, and logging of messages
which are sent and received over the SSHSession by a NETCONF session.
- IOSubscriber(boolean) - Constructor for class com.tailf.jnc.IOSubscriber
-
Constructor.
- IOSubscriber() - Constructor for class com.tailf.jnc.IOSubscriber
-
Empty constructor.
- isChild(String) - Method in class com.tailf.jnc.YangElement
-
Checks if this YangElement has a child with specified name.
- isKey() - Method in class com.tailf.jnc.Leaf
-
- isLeafDefault(String) - Method in class com.tailf.jnc.YangElement
-
- isMember(Element) - Method in class com.tailf.jnc.NodeSet
-
Checks if an element is a member of the NodeSet.
- iterator() - Method in class com.tailf.jnc.Element
-
Return an iterator for the children of this node.
- iterator(String) - Method in class com.tailf.jnc.Element
-
Return an iterator for the children of a specified name of this node.
- markCreate() - Method in class com.tailf.jnc.Element
-
Marks a node with operation create
- markCreate(String) - Method in class com.tailf.jnc.Element
-
Marks node(s) with operation create.
- markDelete() - Method in class com.tailf.jnc.Element
-
Marks a node with operation delete.
- markDelete(String) - Method in class com.tailf.jnc.Element
-
Marks node(s) with operation delete.
- markLeafCreate(String) - Method in class com.tailf.jnc.YangElement
-
- markLeafDelete(String) - Method in class com.tailf.jnc.YangElement
-
- markLeafMerge(String) - Method in class com.tailf.jnc.YangElement
-
- markLeafReplace(String) - Method in class com.tailf.jnc.YangElement
-
- markMerge() - Method in class com.tailf.jnc.Element
-
Marks a node with operation merge.
- markMerge(String) - Method in class com.tailf.jnc.Element
-
Marks node(s) with operation merge.
- markReplace() - Method in class com.tailf.jnc.Element
-
Marks a node with operation replace.
- markReplace(String) - Method in class com.tailf.jnc.Element
-
Marks node(s) with operation replace.
- max(int) - Method in class com.tailf.jnc.YangBaseString
-
Checks that the value of this object has at most the specified length.
- max(int) - Method in class com.tailf.jnc.YangBinary
-
Checks that the value buffer of this object has more than the specified
number of octets/bytes.
- max_occurs - Variable in class com.tailf.jnc.SchemaNode
-
- memberTypes() - Method in class com.tailf.jnc.YangUnion
-
Get the types allowed for this union.
- merge(Element, int) - Method in class com.tailf.jnc.Element
-
Merges a subtree into a resulting target subtree.
- MERGE - Static variable in class com.tailf.jnc.NetconfSession
-
Value for default operation.
- merge(PrefixMap) - Method in class com.tailf.jnc.PrefixMap
-
Nondestructively merges a prefix map with this object.
- merge(Prefix) - Method in class com.tailf.jnc.PrefixMap
-
Non-destructively merges a prefix in the prefix map.
- MESSAGE_ID_MISMATCH - Static variable in exception com.tailf.jnc.JNCException
-
Message-id mismatch.
- mgmt_ip - Variable in class com.tailf.jnc.Device
-
ip address as string
- mgmt_port - Variable in class com.tailf.jnc.Device
-
port number
- min(int) - Method in class com.tailf.jnc.YangBaseString
-
Checks that the value of this object has at least the specified length.
- min(int) - Method in class com.tailf.jnc.YangBinary
-
Checks that the value buffer of this object has less than the specified
number of octets/bytes.
- min_occurs - Variable in class com.tailf.jnc.SchemaNode
-
- name - Variable in class com.tailf.jnc.Device
-
The name of the device, or its IP address.
- name - Variable in class com.tailf.jnc.Element
-
The name of the node.
- namespace - Variable in class com.tailf.jnc.Element
-
The namespace this element name belongs to.
- namespace - Variable in class com.tailf.jnc.SchemaNode
-
- NETCONF_BASE_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the NETCONF base capability.
- NETCONF_NAMESPACE - Static variable in class com.tailf.jnc.Element
-
The NETCONF namespace.
- NetconfSession - Class in com.tailf.jnc
-
A NETCONF session class.
- NetconfSession(Transport) - Constructor for class com.tailf.jnc.NetconfSession
-
Creates a new session object using the given transport object.
- NetconfSession(Transport, XMLParser) - Constructor for class com.tailf.jnc.NetconfSession
-
Creates a new session object using the given transport object.
- NetconfSession() - Constructor for class com.tailf.jnc.NetconfSession
-
Creates a new session object.
- newerRevisionSupportEnabled - Static variable in class com.tailf.jnc.RevisionInfo
-
- newSession(String) - Method in class com.tailf.jnc.Device
-
Creates a new named NETCONF session.
- newSession(IOSubscriber, String) - Method in class com.tailf.jnc.Device
-
Creates a new named NETCONF session We must not have an existing session
with the same name.
- newSessionConfigTree(String) - Method in class com.tailf.jnc.Device
-
This method is mostly interesting if we want to use the backlog
functionality.
- next() - Method in class com.tailf.jnc.ElementChildrenIterator
-
Iterates the Node set.
- next() - Method in class com.tailf.jnc.ElementLeafListValueIterator
-
- nextElement() - Method in class com.tailf.jnc.ElementChildrenIterator
-
Iterates the Node set.
- nextElement() - Method in class com.tailf.jnc.ElementLeafListValueIterator
-
- NodeSet - Class in com.tailf.jnc
-
- NodeSet(Element) - Constructor for class com.tailf.jnc.NodeSet
-
Construct a new NodeSet which contains the given element.
- NodeSet() - Constructor for class com.tailf.jnc.NodeSet
-
Construct a new empty NodeSet
- NONE - Static variable in class com.tailf.jnc.NetconfSession
-
Value for default operation.
- normalize(String) - Static method in class com.tailf.jnc.YangElement
-
- NOT_SET - Static variable in class com.tailf.jnc.NetconfSession
-
Value is not set.
- NOTIFICATION_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :notification capability.
- NOTIFICATION_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
Notification error.
- notificationCapability - Variable in class com.tailf.jnc.Capabilities
-
- NS_ACTIONS - Static variable in class com.tailf.jnc.Capabilities
-
The NETCONF actions namespace.
- NS_NETCONF - Static variable in class com.tailf.jnc.Capabilities
-
The NETCONF namespace "urn:ietf:params:xml:ns:netconf:base:1.0"
- NS_NOTIFICATION - Static variable in class com.tailf.jnc.Capabilities
-
The NETCONF notifications namespace.
- NS_PARTIAL_LOCK - Static variable in class com.tailf.jnc.Capabilities
-
The NETCONF partial lock namespace.
- NS_TRANSACTIONS - Static variable in class com.tailf.jnc.Capabilities
-
The NETCONF transactions namespace.
- nsToPrefix(String) - Method in class com.tailf.jnc.Element
-
This method will find the prefix of a specified namespace, from the
given context node.
- nsToPrefix(String) - Method in class com.tailf.jnc.PrefixMap
-
Lookups namespace and returns prefix for it.
- p - Variable in class com.tailf.jnc.Tagpath
-
- parent - Variable in class com.tailf.jnc.Element
-
The parent to this node.
- parse(InputSource) - Method in class com.tailf.jnc.XMLParser
-
Parses an XML string returning an element tree from it.
- parse(String) - Method in class com.tailf.jnc.XMLParser
-
Parses an XML String, returning a Element tree representing the XML
structure.
- parse(InputSource) - Method in class com.tailf.jnc.YangXMLParser
-
Parses an XML string returning a configuration tree from it,
instantiating an ElementHandler to use as content handler.
- parser - Variable in class com.tailf.jnc.SchemaParser
-
- parser - Variable in class com.tailf.jnc.XMLParser
-
the parser implementation
- PARSER_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
- PARTIAL_LOCK_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :partial-lock capability.
- partialLockCapability - Variable in class com.tailf.jnc.Capabilities
-
- Path - Class in com.tailf.jnc
-
A path expression.
- Path(String) - Constructor for class com.tailf.jnc.Path
-
Constructor for a Path from a path expression string.
- PATH_CREATE_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
- PATH_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
- PathCreate - Class in com.tailf.jnc
-
A "path create" expression.
- PathCreate(String) - Constructor for class com.tailf.jnc.PathCreate
-
Constructor for a PathCreate (parse tree) from a "path create" string.
- pattern(String) - Method in class com.tailf.jnc.YangBaseString
-
Checks that a regular expression matches the value of this object.
- pattern(String[]) - Method in class com.tailf.jnc.YangBaseString
-
Checks that a set of regular expressions match the value of this object.
- position() - Method in class com.tailf.jnc.Element
-
Returns the position of this element in the the parent child list.
- prefix() - Method in class com.tailf.jnc.Element
-
Returns the prefix name of this element.
- Prefix - Class in com.tailf.jnc
-
This class represents a prefix mapping of a prefix string into a namespace.
- Prefix(String, String) - Constructor for class com.tailf.jnc.Prefix
-
Constructs a new Prefix object which represents a prefix mapping.
- prefixes - Variable in class com.tailf.jnc.Element
-
Prefix map are really xmlns attributes.
- PrefixMap - Class in com.tailf.jnc
-
This class implements a list of prefix mappings, which provides mappings
from namespaces to prefixes.
- PrefixMap() - Constructor for class com.tailf.jnc.PrefixMap
-
Creates an empty prefix map object.
- PrefixMap(Prefix) - Constructor for class com.tailf.jnc.PrefixMap
-
Inserts a prefix initially in the new prefix map.
- PrefixMap(Prefix[]) - Constructor for class com.tailf.jnc.PrefixMap
-
Inserts an array of prefixes initially in the new prefix map.
- prefixToNs(String) - Method in class com.tailf.jnc.PrefixMap
-
Lookups prefix and returns the associated namespace
- primitive_type - Variable in class com.tailf.jnc.SchemaNode
-
- print(int) - Method in class com.tailf.jnc.SSHSession
-
Prints an integer (as text) to the output stream.
- print(String) - Method in class com.tailf.jnc.SSHSession
-
Prints text to the output stream.
- print(int) - Method in interface com.tailf.jnc.Transport
-
Prints an integer to the transport output stream.
- print(String) - Method in interface com.tailf.jnc.Transport
-
Prints a string to the transport output stream.
- println(int) - Method in class com.tailf.jnc.SSHSession
-
Prints an integer (as text) to the output stream.
- println(String) - Method in class com.tailf.jnc.SSHSession
-
Print text to the output stream.
- println(int) - Method in interface com.tailf.jnc.Transport
-
Prints an integer to the transport output stream and an additional line
break.
- println(String) - Method in interface com.tailf.jnc.Transport
-
Prints a string to the transport output stream and an additional line
break.
- R_BITS_ADDED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_CASE_ADDED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_DEFAULT_ADDED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_ENUM_ADDED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_MANDATORY_TRUE_TO_FALSE - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_MAX_ELEM_RAISED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_MIN_ELEM_LOWERED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_NODE_ADDED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_RANGE_EXPANDED - Static variable in class com.tailf.jnc.RevisionInfo
-
- R_STATE_TO_CONFIG - Static variable in class com.tailf.jnc.RevisionInfo
-
- readFile(String) - Static method in class com.tailf.jnc.Element
-
Read file with XML text and parse it into a configuration tree.
- readFile(String, HashMap<Tagpath, SchemaNode>) - Method in class com.tailf.jnc.SchemaParser
-
Read in and parse an XML file, and populate a hashtable with SchemaNode
objects.
- readFile(URL, HashMap<Tagpath, SchemaNode>) - Method in class com.tailf.jnc.SchemaParser
-
Read in and parse an XML file, and populate a hashtable with SchemaNode
objects.
- readFile(String) - Method in class com.tailf.jnc.XMLParser
-
Read in an XML file and parse it and return an element tree.
- readFile(String) - Static method in class com.tailf.jnc.YangElement
-
Read file with XML text and parse it into a data model aware
configuration tree.
- readFile(String) - Method in class com.tailf.jnc.YangXMLParser
-
Read in an XML file, parse it using an ElementHandler as content
handler, and return the parsed YangElement tree.
- readOne() - Method in class com.tailf.jnc.SSHSession
-
Reads in "one" reply from the SSH transport input stream.
- readOne() - Method in interface com.tailf.jnc.Transport
-
Reads "one" reply from the transport input stream.
- readReply() - Method in class com.tailf.jnc.NetconfSession
-
Reads a rpc reply from NETCONF.
- readTimeout - Variable in class com.tailf.jnc.SSHSession
-
- readUntilWouldBlock() - Method in class com.tailf.jnc.SSHSession
-
If we have readTimeout set, and an outstanding operation was timed out -
the socket may still be alive.
- ready() - Method in class com.tailf.jnc.SSHSession
-
Tell whether this transport is ready to be read.
- ready() - Method in interface com.tailf.jnc.Transport
-
Tell whether this transport is ready to be read.
- receiveNotification() - Method in class com.tailf.jnc.NetconfSession
-
Receive one notification.
- recv_rpc_reply_ok(String) - Method in class com.tailf.jnc.NetconfSession
-
Receive from session
- remove() - Method in class com.tailf.jnc.ElementChildrenIterator
-
Remove is not supported.
- remove() - Method in class com.tailf.jnc.ElementLeafListValueIterator
-
Remove is not supported.
- remove(String) - Method in class com.tailf.jnc.PrefixMap
-
Removes a prefix mapping.
- removeAttr(String) - Method in class com.tailf.jnc.Element
-
Removes an attribute with specified name.
- removeAttr(String, String) - Method in class com.tailf.jnc.Element
-
Removes an attribute with specified namespace and name from this
element's attribute list.
- removeDefaultPrefix() - Method in class com.tailf.jnc.Element
-
Removes the default prefix mapping on this node (if any).
- removeMark() - Method in class com.tailf.jnc.Element
-
Removes the operation attribute from a node.
- removeMarks() - Method in class com.tailf.jnc.Element
-
Removes all operation attributes from a sub-tree.
- removeMember(Element) - Method in class com.tailf.jnc.NodeSet
-
Removes a member element from the NodeSet.
- removePackage(String) - Static method in class com.tailf.jnc.YangElement
-
Remove a package from the list of Packages
- removePrefix(String) - Method in class com.tailf.jnc.Element
-
Removes a prefix map from the context node.
- REPLACE - Static variable in class com.tailf.jnc.NetconfSession
-
Value for default operation.
- revInfo - Variable in class com.tailf.jnc.SchemaNode
-
- REVISION_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
Revision error.
- RevisionInfo - Class in com.tailf.jnc
-
- RevisionInfo() - Constructor for class com.tailf.jnc.RevisionInfo
-
- RevisionInfo(int, String, String) - Constructor for class com.tailf.jnc.RevisionInfo
-
- ROLLBACK_ON_ERROR - Static variable in class com.tailf.jnc.NetconfSession
-
Value for error option.
- ROLLBACK_ON_ERROR_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :rollback-on-error capability.
- rollbackOnErrorCapability - Variable in class com.tailf.jnc.Capabilities
-
- rpc(String) - Method in class com.tailf.jnc.NetconfSession
-
The NETCONF protocol uses a remote procedure call (RPC) paradigm.
- rpc(Element) - Method in class com.tailf.jnc.NetconfSession
-
The NETCONF protocol uses a remote procedure call (RPC) paradigm.
- RPC_REPLY_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
An rpc-reply with one or more reply-error
elements was returned from the device.
- RpcError - Class in com.tailf.jnc
-
Class for 'rpc-error' elements returned in NETCONF 'rpc-reply' messages.
- RpcError(Element) - Constructor for class com.tailf.jnc.RpcError
-
Constructor, initialized with an rpc-error element tree.
- runBacklog(String) - Method in class com.tailf.jnc.Device
-
Run the backlog.
- RUNNING - Static variable in class com.tailf.jnc.NetconfSession
-
The RUNNING datastore.
- SchemaNode - Class in com.tailf.jnc
-
The SchemaNode class is used to represent individual nodes in the schema
tree.
- SchemaNode() - Constructor for class com.tailf.jnc.SchemaNode
-
- SchemaParser - Class in com.tailf.jnc
-
A simple SAX parser, for parsing schema files with the following syntax:
- SchemaParser() - Constructor for class com.tailf.jnc.SchemaParser
-
- SchemaTree - Class in com.tailf.jnc
-
The SchemaTree class is used to represent the schemas of all namespaces
- SchemaTree() - Constructor for class com.tailf.jnc.SchemaTree
-
- searchOne(String) - Method in class com.tailf.jnc.YangElement
-
- sendRequest(String) - Method in class com.tailf.jnc.NetconfSession
-
Sends rpc request and return.
- sendRequest(Element) - Method in class com.tailf.jnc.NetconfSession
-
Sends rpc request and return.
- serverSideClosed() - Method in class com.tailf.jnc.SSHSession
-
given a live SSHSession, check if the server side has closed it's end of
the ssh socket
- SESSION_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
A session error occured.
- sessionId - Variable in class com.tailf.jnc.NetconfSession
-
Session identifier.
- SET - Static variable in class com.tailf.jnc.NetconfSession
-
Value for test option.
- set(PrefixMap) - Method in class com.tailf.jnc.PrefixMap
-
Stores the prefixes in the prefix map.
- set(Prefix) - Method in class com.tailf.jnc.PrefixMap
-
Stores a prefix in the prefix map.
- setAttr(String, String) - Method in class com.tailf.jnc.Element
-
Sets an attribute on this element, treating xmlns attributes as prefix
maps.
- setAttr(String, String, String) - Method in class com.tailf.jnc.Element
-
Sets an attribute on this element, aware of its namespace.
- setCapability(String) - Method in class com.tailf.jnc.NetconfSession
-
Set a proprietary capability.
- setConfig(String, Element) - Method in class com.tailf.jnc.Device
-
Sets the accumulation config tree for a named session
- setDebugLevel(int) - Static method in class com.tailf.jnc.Element
-
- setDefaultOperation(int) - Method in class com.tailf.jnc.NetconfSession
-
Specifies the default operation for all edit-config operations for the
session.
- setDefaultPrefix() - Method in class com.tailf.jnc.Element
-
Sets the default prefix mapping on this node.
- setDefaultReadTimeout(int) - Method in class com.tailf.jnc.Device
-
Whenever new NetconfSession objects are created through newSession() set
this timeout value (milliseconds) as the readTimeout value
- setErrorOption(int) - Method in class com.tailf.jnc.NetconfSession
-
Specifies the error-option for the edit-config operations for the
session.
- setLeafListValue(String, String, Object, String[]) - Method in class com.tailf.jnc.YangElement
-
- setLeafValue(String, String, String) - Method in class com.tailf.jnc.YangElement
-
Sets the leaf value of the specified leaf of this YangElement.
- setLeafValue(String, String, Object, String[]) - Method in class com.tailf.jnc.YangElement
-
- setPackage(String, String) - Static method in class com.tailf.jnc.YangElement
-
Assiciate a JAVA package with a namespace.
- setPrefix(String) - Method in class com.tailf.jnc.Element
-
Sets a prefix mapping to the context node.
- setPrefix(Prefix) - Method in class com.tailf.jnc.Element
-
Sets a prefix map to the context node.
- setPrefix(PrefixMap) - Method in class com.tailf.jnc.Element
-
Sets prefix mappings to the context node.
- setReadTimeout(String, int) - Method in class com.tailf.jnc.Device
-
Sets the readTimeout associated to a named session
- setReadTimeout(int) - Method in class com.tailf.jnc.SSHSession
-
Set the read timeout
- setTestOption(int) - Method in class com.tailf.jnc.NetconfSession
-
Specifies the test-option parameter for the edit-config operations for
the session.
- setTransport(Transport) - Method in class com.tailf.jnc.NetconfSession
-
Sets the transport used by this session.
- setValue(String) - Method in class com.tailf.jnc.Attribute
-
Sets the attribute value.
- setValue(Object) - Method in class com.tailf.jnc.Element
-
Sets a new value for this node element.
- setValue(String, Object) - Method in class com.tailf.jnc.Element
-
Sets value for all node elements matching specified path string.
- setValue(String) - Method in class com.tailf.jnc.YangBaseString
-
Sets the value of this object using a java.lang.String.
- setValue(String) - Method in class com.tailf.jnc.YangBinary
-
Sets the value of this object using a String.
- setValue(byte[]) - Method in class com.tailf.jnc.YangBinary
-
Sets the value of this object by copying a base 64 encoded byte buffer.
- setValue(String) - Method in class com.tailf.jnc.YangDecimal64
-
Sets the value of this object using a String.
- setValue(Number) - Method in class com.tailf.jnc.YangDecimal64
-
Sets the value of this object using a Number.
- setValue(String) - Method in class com.tailf.jnc.YangEmpty
-
This method doesn't do anything, but is part of the interface
- setValue(YangEmpty) - Method in class com.tailf.jnc.YangEmpty
-
This method doesn't do anything, but is part of the interface
- setValue(String) - Method in interface com.tailf.jnc.YangType
-
Sets the value of this object using a String.
- setValue(T) - Method in interface com.tailf.jnc.YangType
-
Sets the value of this object using a value of type T.
- setValue(Number) - Method in class com.tailf.jnc.YangUInt64
-
Sets the value of this object using a Number.
- setValue(String) - Method in class com.tailf.jnc.YangUnion
-
Sets the value of this object using a java.lang.String.
- setValue(YangType<?>) - Method in class com.tailf.jnc.YangUnion
-
Sets the value of this object using an Object.
- SOURCE_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- SSHConnection - Class in com.tailf.jnc
-
A SSH NETCONF connection class.
- SSHConnection(String) - Constructor for class com.tailf.jnc.SSHConnection
-
By default we connect to the IANA registered port for NETCONF which is
830
- SSHConnection(String, int) - Constructor for class com.tailf.jnc.SSHConnection
-
This method establishes an SSH connection to a host, once the connection
is established it must be authenticated.
- SSHConnection(String, int, int) - Constructor for class com.tailf.jnc.SSHConnection
-
This method establishes an SSH connection to a host, once the connection
is established it must be authenticated.
- SSHConnection(String, int, int, int) - Constructor for class com.tailf.jnc.SSHConnection
-
This method establishes an SSH connection to a host, once the connection
is established it must be authenticated.
- SSHSession - Class in com.tailf.jnc
-
A SSH NETCONF transport.
- SSHSession(SSHConnection) - Constructor for class com.tailf.jnc.SSHSession
-
Constructor for SSH session object.
- SSHSession(SSHConnection, long) - Constructor for class com.tailf.jnc.SSHSession
-
Constructor with an extra argument for a readTimeout timer.
- START_TIME_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- STARTUP - Static variable in class com.tailf.jnc.NetconfSession
-
The STARTUP datastore.
- STARTUP_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :startup capability.
- startupCapability - Variable in class com.tailf.jnc.Capabilities
-
- STOP_ON_ERROR - Static variable in class com.tailf.jnc.NetconfSession
-
Value for error option.
- STOP_TIME_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- STREAM_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- sync(YangElement) - Method in class com.tailf.jnc.YangElement
-
Will return a subtree for syncing a subtree A with all the necessary
operations to make it look like the target tree B.
- sync(YangElement, YangElement) - Static method in class com.tailf.jnc.YangElement
-
Will return a subtree for syncing a subtree A with all the necessary
operations to make it look like the target tree B.
- sync(NodeSet, NodeSet) - Static method in class com.tailf.jnc.YangElement
-
Will return a list of subtrees for syncing a subtree A with all the
necessary operations to make it look like the target tree B.
- syncMerge(NodeSet, NodeSet) - Static method in class com.tailf.jnc.YangElement
-
Returns a list of subtrees for syncing a subtree A with all the
necessary operations to make it look like the target tree B.
- syncMerge(YangElement, YangElement) - Static method in class com.tailf.jnc.YangElement
-
Will return a subtree for syncing a subtree A with all the necessary
operations to make it look like the target tree B.
- tagpath() - Method in class com.tailf.jnc.Element
-
Return the full tagpath for this Element
- tagpath - Variable in class com.tailf.jnc.SchemaNode
-
- Tagpath - Class in com.tailf.jnc
-
The Tagpath class is used to represent the name of individual schema nodes.
- Tagpath(int) - Constructor for class com.tailf.jnc.Tagpath
-
- Tagpath(String[]) - Constructor for class com.tailf.jnc.Tagpath
-
- Tagpath(String) - Constructor for class com.tailf.jnc.Tagpath
-
- TARGET_GT - Static variable in class com.tailf.jnc.NetconfSession
-
- TEST_ONLY - Static variable in class com.tailf.jnc.NetconfSession
-
Value for test option.
- TEST_THEN_SET - Static variable in class com.tailf.jnc.NetconfSession
-
Value for test option.
- throwException(boolean, Object) - Static method in exception com.tailf.jnc.YangException
-
Asserts that fail is false, throws BAD_VALUE with o otherwise.
- TIMEOUT_ERROR - Static variable in exception com.tailf.jnc.JNCException
-
Timeout error.
- toString() - Method in class com.tailf.jnc.Attribute
-
Returns a string representation of this Attribute object.
- toString() - Method in class com.tailf.jnc.Device
-
Returns a string with information about this device.
- toString() - Method in class com.tailf.jnc.Element
-
Builds a string with the name, value, namespace, prefixes, other
attributes, children and the path of this element subtree.
- toString() - Method in exception com.tailf.jnc.JNCException
-
The toString method uses both of errorCode and opaqueData fields to
generate an appropriate error string.
- toString() - Method in class com.tailf.jnc.Path
-
Returns a string representation of this Path.
- toString() - Method in class com.tailf.jnc.PathCreate
-
Returns a string representation of this PathCreate.
- toString() - Method in class com.tailf.jnc.Prefix
-
Returns a string representation of this Attribute object.
- toString() - Method in class com.tailf.jnc.RpcError
-
- toString() - Method in class com.tailf.jnc.SchemaNode
-
- toString() - Method in class com.tailf.jnc.Tagpath
-
- toString() - Method in class com.tailf.jnc.YangBinary
-
- toString() - Method in class com.tailf.jnc.YangBits
-
- toString() - Method in class com.tailf.jnc.YangDecimal64
-
- toString() - Method in class com.tailf.jnc.YangEmpty
-
- toString() - Method in exception com.tailf.jnc.YangException
-
- toXMLString() - Method in class com.tailf.jnc.Element
-
This will format the tree as an XML string, which can be printed.
- toXMLString() - Method in class com.tailf.jnc.NodeSet
-
Formats the NodeSet in XML format.
- toXMLString() - Method in class com.tailf.jnc.Prefix
-
Returns a string representation of this prefix.
- trace(String) - Method in class com.tailf.jnc.XMLParser
-
trace
- TRANSACTIONS_CAPABILITY - Static variable in class com.tailf.jnc.Capabilities
-
String constant for the :transactions capability.
- transactionsCapability - Variable in class com.tailf.jnc.Capabilities
-
- Transport - Interface in com.tailf.jnc
-
A NETCONF transport interface.
- trees - Variable in class com.tailf.jnc.Device
-
- type - Variable in class com.tailf.jnc.RevisionInfo
-
- YangBaseString - Class in com.tailf.jnc
-
A String wrapper extended by built in String based types.
- YangBaseString(String) - Constructor for class com.tailf.jnc.YangBaseString
-
Creates a YangBaseString object from a java.lang.String.
- YangBinary - Class in com.tailf.jnc
-
Implements the built-in YANG data type "binary".
- YangBinary(String) - Constructor for class com.tailf.jnc.YangBinary
-
Creates a YangBinary object from a String.
- YangBinary(byte[]) - Constructor for class com.tailf.jnc.YangBinary
-
Creates a YangBinary object from a base 64 encoded byte buffer.
- YangBits - Class in com.tailf.jnc
-
Implements the built-in YANG data type "bits".
- YangBits(String, Number, String[], int[]) - Constructor for class com.tailf.jnc.YangBits
-
Constructor with value as a String.
- YangBits(Number, Number, String[], int[]) - Constructor for class com.tailf.jnc.YangBits
-
Constructor with value as a Number.
- YangBoolean - Class in com.tailf.jnc
-
Implements the built-in YANG data type "boolean".
- YangBoolean(String) - Constructor for class com.tailf.jnc.YangBoolean
-
Creates a YangBoolean object from a String.
- YangBoolean(boolean) - Constructor for class com.tailf.jnc.YangBoolean
-
Creates a YangBoolean object from a boolean.
- YangDecimal64 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "decimal64".
- YangDecimal64(String, int) - Constructor for class com.tailf.jnc.YangDecimal64
-
Creates a YangDecimal64 object from a String.
- YangDecimal64(Number, int) - Constructor for class com.tailf.jnc.YangDecimal64
-
Creates a YangDecimal64 object from a Number.
- YangElement - Class in com.tailf.jnc
-
The YangElement is a configuration sub-tree like the
Element.
- YangElement(String, String) - Constructor for class com.tailf.jnc.YangElement
-
Constructor with namespace and name
- YangEmpty - Class in com.tailf.jnc
-
Implements the built-in YANG data type "empty".
- YangEmpty() - Constructor for class com.tailf.jnc.YangEmpty
-
Creates a YangEmpty object.
- YangEnumeration - Class in com.tailf.jnc
-
Implements the built-in YANG data type "enumeration".
- YangEnumeration(String, String[]) - Constructor for class com.tailf.jnc.YangEnumeration
-
Creates an YangEnumeration object given an enum (as a String) and an
array of the allowed enum names.
- YangException - Exception in com.tailf.jnc
-
This is the class of exceptions that are thrown from the classes generated
by the JNC pyang plugin, and by the yang type classes.
- YangException(int, Object) - Constructor for exception com.tailf.jnc.YangException
-
- YangIdentityref - Class in com.tailf.jnc
-
Implements the built-in YANG data type "identityref".
- YangIdentityref(String) - Constructor for class com.tailf.jnc.YangIdentityref
-
- YangIdentityref(Element) - Constructor for class com.tailf.jnc.YangIdentityref
-
Creates a YangIdentityref object from an Element.
- YangIdentityref(String, String, String) - Constructor for class com.tailf.jnc.YangIdentityref
-
Creates a YangIdentityref object from three strings: identity namespace,
prefix and argument/identifier.
- YangInt16 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "int16".
- YangInt16(String) - Constructor for class com.tailf.jnc.YangInt16
-
Creates a YangInt16 object from a String.
- YangInt16(Number) - Constructor for class com.tailf.jnc.YangInt16
-
Creates a YangInt16 object from a Number.
- YangInt32 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "int32".
- YangInt32(String) - Constructor for class com.tailf.jnc.YangInt32
-
Creates a YangInt32 object from a String.
- YangInt32(Number) - Constructor for class com.tailf.jnc.YangInt32
-
Creates a YangInt32 object from a Number.
- YangInt64 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "int64".
- YangInt64(String) - Constructor for class com.tailf.jnc.YangInt64
-
Creates a YangInt64 object from a String.
- YangInt64(Number) - Constructor for class com.tailf.jnc.YangInt64
-
Creates a YangInt64 object from a Number.
- YangInt8 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "int8".
- YangInt8(String) - Constructor for class com.tailf.jnc.YangInt8
-
Creates a YangInt8 object from a String.
- YangInt8(Number) - Constructor for class com.tailf.jnc.YangInt8
-
Creates a YangInt8 object from a Number.
- YangString - Class in com.tailf.jnc
-
Implements the built-in YANG data type "string".
- YangString(String) - Constructor for class com.tailf.jnc.YangString
-
Creates a YangString object from a java.lang.String.
- YangType<T> - Interface in com.tailf.jnc
-
- YangUInt16 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "uint16".
- YangUInt16(String) - Constructor for class com.tailf.jnc.YangUInt16
-
Creates a YangUInt16 object from a String.
- YangUInt16(Number) - Constructor for class com.tailf.jnc.YangUInt16
-
Creates a YangUInt16 object from a Number.
- YangUInt32 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "uint32".
- YangUInt32(String) - Constructor for class com.tailf.jnc.YangUInt32
-
Creates a YangUInt32 object from a String.
- YangUInt32(Number) - Constructor for class com.tailf.jnc.YangUInt32
-
Creates a YangUInt32 object from a Number.
- YangUInt64 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "uint64".
- YangUInt64(String) - Constructor for class com.tailf.jnc.YangUInt64
-
Creates a YangUInt64 object from a String.
- YangUInt64(Number) - Constructor for class com.tailf.jnc.YangUInt64
-
Creates a YangUInt64 object from a Number.
- YangUInt8 - Class in com.tailf.jnc
-
Implements the built-in YANG data type "uint8".
- YangUInt8(String) - Constructor for class com.tailf.jnc.YangUInt8
-
Creates a YangUInt8 object from a String.
- YangUInt8(Number) - Constructor for class com.tailf.jnc.YangUInt8
-
Creates a YangUInt8 object from a Number.
- YangUnion - Class in com.tailf.jnc
-
Implements the built-in YANG data type "union".
- YangUnion(String, String[]) - Constructor for class com.tailf.jnc.YangUnion
-
Creates a YangUnion object from a java.lang.String representing a value
of one of the member types.
- YangUnion(YangType<?>, String[]) - Constructor for class com.tailf.jnc.YangUnion
-
Creates a YangUnion object from a YangType, which should be an instance
of one of the member types.
- YangXMLParser - Class in com.tailf.jnc
-
A SAX parser, for parsing for example NETCONF messages, into a simple
YangElement tree.
- YangXMLParser() - Constructor for class com.tailf.jnc.YangXMLParser
-
Constructor.