Package | Description |
---|---|
com.tailf.cdb |
Package with methods for connecting to the configuration database.
|
com.tailf.conf |
Data types and utilities for communication with the server.
|
com.tailf.dp |
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
|
com.tailf.dp.annotations |
Annotations and proxy helper classes for callbacks.
|
com.tailf.maapi |
MAAPI is an API which provides full access to the systems internal
transaction engine.
|
com.tailf.navu |
NAVU (Navigation Utilities) is an API which provides increased
accessibility to the ConfD/NCS populated data model tree:
NAVU-Tree.
|
com.tailf.ned |
Network Equipment Drivers package
|
com.tailf.notif |
Package for subscription to asynchronous events.
|
Modifier and Type | Method and Description |
---|---|
ConfObject |
CdbUpgradeSession.getCase(String choice,
ConfCdbUpgradePath path) |
ConfObject |
CdbSession.getCase(String choice,
ConfPath path)
Retrieve the currently selected case.
|
ConfObject |
CdbSession.getCase(String choice,
String fmt,
Object... arguments)
Retrieve the currently selected case.
|
ConfObject |
CdbUpgradeSession.getCase(String choice,
String fmt,
Object... arguments) |
ConfObject[] |
CdbSession.getcwdPath()
Returns the current position as previously set by
CdbSession.cd(ConfPath) ,
CdbSession.pushd(ConfPath) , or CdbSession.popd() as a
ConfObject array. |
ConfObject[] |
CdbUpgradeSession.getObject(int numOfObjects,
ConfCdbUpgradePath path) |
ConfObject[] |
CdbSession.getObject(int numOfObjects,
ConfPath path)
Same functionality as getObject(numOfObjects, fmt, arguments) but takes a
already constructed ConfPath object as argument instead of fmt,
arguments.
|
ConfObject[] |
CdbSession.getObject(int numOfObjects,
String fmt,
Object... arguments)
In some cases it can be motivated to read multiple values in one request
- this will be more efficient since it only incurs a single round trip to
the server, but usage is a bit more complex.
|
ConfObject[] |
CdbUpgradeSession.getObject(int numOfObjects,
String fmt,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
DiffIterateResultFlag |
CdbDiffIterate.iterate(ConfObject[] kp,
DiffIterateOperFlag op,
ConfObject oldValue,
ConfObject newValue,
Object initstate)
Iterate through a set of changes
|
DiffIterateResultFlag |
CdbDiffIterate.iterate(ConfObject[] kp,
DiffIterateOperFlag op,
ConfObject oldValue,
ConfObject newValue,
Object initstate)
Iterate through a set of changes
|
Modifier and Type | Class and Description |
---|---|
class |
ConfAttributeValue
Class that represents an attribute value for an element in a model.
|
class |
ConfBinary
DATA_CONTAINER - Corresponds to the YANG tailf:hex-list and tailf:octet-list.
|
class |
ConfBit32
DATA_CONTAINER - Corresponds to the YANG bit32 type.
|
class |
ConfBit64
DATA_CONTAINER - Corresponds to the YANG bit64 type.
|
class |
ConfBitBig
DATA_CONTAINER - Corresponds to the YANG bits type, where bit position
exceed 63.
|
class |
ConfBits
DATA_CONTAINER - This is the superclass for all bits types i.e.
|
class |
ConfBool
DATA_CONTAINER - Corresponds to the YANG boolean type.
|
class |
ConfBuf
DATA_CONTAINER - Corresponds to the YANG string type.
|
class |
ConfDate
DATA_CONTAINER - Corresponds to the confspec xs:date type.
|
class |
ConfDatetime
DATA_CONTAINER - Corresponds to the YANG date-and-time type.
|
class |
ConfDecimal64
DATA_CONTAINER - Corresponds to the YANG decimal64 type.
|
class |
ConfDefault
Class representing value of type J_DEFAULT.
|
class |
ConfDottedQuad
DATA_CONTAINER - Corresponds to the YANG dotted-quad type.
|
class |
ConfDouble
DATA_CONTAINER - Corresponds to the confspec xs:double type.
|
class |
ConfDuration
DATA_CONTAINER - Corresponds to the confspec xs:duration type.
|
class |
ConfEnumeration
DATA_CONTAINER - Corresponds to the YANG Enumeration type.
|
class |
ConfFloat
DATA_CONTAINER - Corresponds to the confspec xs:float type.
|
class |
ConfHexList
DATA_CONTAINER - Corresponds to the YANG
tailf:hex-list type. |
class |
ConfHexString
DATA_CONTAINER - Corresponds to the YANG
hex-string type. |
class |
ConfIdentityRef
DATA_CONTAINER - Corresponds to the YANG identityRef type.
|
class |
ConfInt16
DATA_CONTAINER - Corresponds to the YANG int16 type.
|
class |
ConfInt32
DATA_CONTAINER - Corresponds to the YANG int32 type.
|
class |
ConfInt64
DATA_CONTAINER - Corresponds to the YANG int64 type.
|
class |
ConfInt8
DATA_CONTAINER - Corresponds to the YANG int8 type.
|
class |
ConfIP
DATA_CONTAINER - Base class for ConfIPv4 and ConfIPv6 containers
|
class |
ConfIPAndPrefixLen
DATA_CONTAINER - Base class for ConfIPv4AndPrefixLen and
ConfIPv6AndPrefixLen containers
|
class |
ConfIPPrefix
DATA_CONTAINER - Base class for ConfIPv4Prefix and
ConfIPv6Prefix containers
|
class |
ConfIPv4
DATA_CONTAINER - Corresponds to the YANG inet:ipv4-address type.
|
class |
ConfIPv4AndPrefixLen
DATA_CONTAINER - Corresponds to the YANG tailf:ipv4-address-and-prefix-length
type.
|
class |
ConfIPv4Prefix
DATA_CONTAINER - Corresponds to the YANG inet:ipv4-prefix type.
|
class |
ConfIPv6
DATA_CONTAINER - Corresponds to the YANG inet:ipv6-address type.
|
class |
ConfIPv6AndPrefixLen
DATA_CONTAINER - Corresponds to the YANG tailf:ipv6-address-and-prefix-length
type.
|
class |
ConfIPv6Prefix
DATA_CONTAINER - Corresponds to the YANG inet:ipv6-prefix type.
|
class |
ConfKey
This class represents a list key or a leaf-list element.
|
class |
ConfList
DATA_CONTAINER - Corresponds to the YANG leaf-list.
|
class |
ConfNoExists
Class representing value of type J_NOEXISTS.
|
class |
ConfObjectRef
Corresponds to the YANG instance-identifier type
|
class |
ConfOctetList
DATA_CONTAINER - Corresponds to the YANG tailf:octet-list type.
|
class |
ConfOID
DATA_CONTAINER - Corresponds to the YANG tailf:oid type.
|
class |
ConfQname
DATA_CONTAINER - Corresponds to the confspec xs:qName type.
|
class |
ConfTag
Class representing an element in a model.
|
class |
ConfTagDefault
Class representing an element in a model.
|
class |
ConfTime
DATA_CONTAINER - Corresponds to the confspec xs:time type.
|
class |
ConfTypeDescriptor
Conf value type descriptor.
|
class |
ConfUInt16
DATA_CONTAINER - Corresponds to the YANG uint16 type
|
class |
ConfUInt32
DATA_CONTAINER - Corresponds to the YANG uint32 type
|
class |
ConfUInt64
DATA_CONTAINER - Corresponds to the YANG uint64 type
|
class |
ConfUInt8
DATA_CONTAINER - Corresponds to the YANG uint8 type
|
class |
ConfValue
Base class of the DATA_CONTAINER Conf
|
class |
ConfXKey |
class |
ConfXMLParam
Represents the base class of a flat XML structure.
|
class |
ConfXMLParamCdbStart
Identifies a starting point in the model from which other parameters are
relatively defined (used in CDB).
|
class |
ConfXMLParamLeaf
Identifies a leaf parameter.
|
class |
ConfXMLParamStart
Identifies a starting point in the model from which other parameters are
relatively defined.
|
class |
ConfXMLParamStartDel
Identifies a starting point in the model for a list item that should be
deleted.
|
class |
ConfXMLParamStop
Identifies the end point for parameter definitions.
|
class |
ConfXMLParamValue
Identifies a parameter with its value.
|
class |
ConfXMLTagH
DATA_CONTAINER - Corresponds to the confspec XML Tag.
|
Modifier and Type | Method and Description |
---|---|
static ConfObject |
ConfObject.decode(ConfEObject o) |
ConfObject |
ConfKey.elementAt(int i) |
ConfObject[] |
ConfKey.elements() |
ConfObject[] |
ConfList.elements()
Return a copy as array of this
|
ConfObject |
ConfList.get(int index) |
ConfObject[] |
ConfObjectRef.getElems() |
ConfObject |
ConfUserInfo.getIpValue()
Get User session IP address as ConfIPv4 or ConfIPv6 respectively
|
ConfObject[] |
Compiler.getKP() |
ConfObject[] |
ConfXPath.getKP()
Returns an array of
ConfTag and ConfKey
objects which represents the path in reverted order. |
ConfObject[] |
InstancePath.getKP()
Returns an array of
ConfTag and ConfKey
objects which represents the path in reverted order. |
ConfObject[] |
XPathAbrevCompiler.getKP() |
ConfObject |
ConfCLIToken.getObject() |
ConfObject |
ConfXMLParam.getValue()
Returns the value for this parameter.
|
static ConfObject[] |
ConfInternal.hk_keypath(ConfEObject term)
Create a hkeypath from a term.
|
static ConfObject[] |
ConfInternal.mk_keypath(ConfEObject term,
ArrayList<ConfNamespace> ns_list)
Makes a keypath from a term.
|
ConfObject |
ConfList.set(int index,
ConfObject val) |
Modifier and Type | Method and Description |
---|---|
void |
ConfList.addElem(ConfObject n)
Add an element in the end of this ConfList unless it already exists
|
void |
ConfList.delete(ConfObject n)
Delete arbitrary object from the ConfList
|
static ConfTypeDescriptor |
ConfTypeDescriptor.getConfTypeDescriptor(ConfObject o)
Generates a ConfTypeDescriptor representing the type of a specified
ConfObject.
|
boolean |
ConfList.isMember(ConfObject o) |
static String |
Conf.kpToString(ConfObject[] kp)
Converts a keypath Object[] kp into a string.
|
void |
ConfList.move(ConfObject n,
ConfList.WhereTo where,
ConfObject to)
Move a list element to a new position in the list.
|
ConfObject |
ConfList.set(int index,
ConfObject val) |
void |
ConfUserInfo.setIpValue(ConfObject ipValue)
Internally used set method
|
void |
ConfXMLParamValue.setValue(ConfObject value) |
Constructor and Description |
---|
ConfCLIToken(ConfObject obj,
ConfBuf value) |
ConfKey(ConfObject o) |
ConfKey(ConfObject[] l) |
ConfList(ConfObject[] l) |
ConfObjectRef(ConfObject[] elems)
Constructor using the autoloaded namespaces.
|
ConfPath(Cdb cdb,
ConfObject[] kp) |
ConfPath(ConfObject[] kp)
Initializes a new instance of this class from a given
reverted ConfObject[] keypath where elements
is either
ConfTag or
ConfKey . |
ConfPath(Maapi maapi,
int tid,
ConfObject[] kp) |
ConfPath(MountIdInterface mountIdCb,
ConfObject[] kp) |
ConfXKey(ConfObject[] vals,
Map<MaapiSchemas.CSNode,ConfValue> keyEntries) |
ConfXMLParamValue(ConfNamespace namespace,
String tagString,
ConfObject val) |
ConfXMLParamValue(ConfPath path,
MountIdInterface mountIdGetter,
String prefix,
String tagString,
ConfObject val) |
ConfXMLParamValue(int ns,
int tag,
ConfObject val) |
ConfXMLParamValue(String prefix,
String tagString,
ConfObject val) |
InstancePath(ConfObject[] kp)
Initializes a new instance of this class from a given
reverted ConfObject[] keypath where elements
is either
ConfTag or
ConfKey . |
InstancePath(MountIdInterface mountGetter,
ConfObject[] kp) |
Modifier and Type | Field and Description |
---|---|
ConfObject[] |
DpListFilter.node
Node to use when type is
ListFilterType.CONFD_LF_CMP ,
ListFilterType.CONFD_LF_EXEC or
ListFilterType.CONFD_LF_EXISTS |
ConfObject |
DpListFilter.val
Value to use when type is
ListFilterType.CONFD_LF_CMP or
ListFilterType.CONFD_LF_EXEC or
ListFilterType.CONFD_LF_ORIGIN |
Modifier and Type | Method and Description |
---|---|
ConfObject |
DpDataCallback.getCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice)
This callback method needs to return the currently chosen 'case' for a
'choice' construct.
|
ConfObject |
DpUserInfo.getIPAddress()
Get User session IP address as ConfIPv4 or ConfIPv6 respectively
|
ConfObject[] |
DpDataCallback.getIteratorObject(DpTrans trans,
ConfObject[] kp,
Object obj)
The following callback is used with the iterators above.
|
ConfObject[] |
DpAccumulate.getKP()
The keypath consisting of an array of ConfTag and/or ConfKey objects.
|
ConfObject[] |
DpDataCallback.getObject(DpTrans trans,
ConfObject[] kp)
The purpose of the callback is to return an array of values,
corresponding to a complete list entry in one swoop.
|
Modifier and Type | Method and Description |
---|---|
ConfXMLParam[] |
DpActionCallback.action(DpActionTrans actx,
ConfTag name,
ConfObject[] kp,
ConfXMLParam[] params)
The action() callback receives all the parameters pertaining to the
action: The name argument is a pointer to the action name as defined in
YANG model, the kp argument gives the path through the XML
tree, and finally the params argument is a representation of the
params element of the XML instance document provided with the invocation.
|
AuthorizationResult |
DpAuthorizationCallback.checkDataAccess(DpAuthorizationContext context,
ConfObject[] kp,
AuthorizationOperCheck operation,
AuthorizationOperCheck how) |
Completion |
DpActionCallback.completion(DpActionTrans actx,
char cliStyle,
String token,
char completionChar,
ConfObject[] kp,
String cmdPath,
String cmdParamId,
ConfQname simpleType,
String extra)
The completion() callback is invoked for CLI completion
and information.
|
int |
DpDataCallback.create(DpTrans trans,
ConfObject[] kp)
This callback creates a new presence container, list entry or empty leaf.
|
boolean |
DpDataCallback.existsOptional(DpTrans trans,
ConfObject[] kp)
If we have presence containers or optional leafs (empty leafs) without a
type, we cannot use the getElem() callback to read such a leaf - since
the element is typeless.
|
Object |
DpDataFindNextIterator.findNext(DpTrans trans,
ConfObject[] kp,
ConfFindNextType type,
ConfKey key)
This method is called by Dp when a FIND_NEXT or a FIND_NEXT_OBJECT call
is issued.
|
int |
DpDataCallback.getAttrs(DpTrans trans,
ConfObject[] kp,
List<ConfAttributeValue> attrList)
This callback only needs to be implemented for callpoints specified for
configuration data, and only if attributes are enabled in the server
configuration (/confdConfig/enableAttributes set to true).
|
ConfObject |
DpDataCallback.getCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice)
This callback method needs to return the currently chosen 'case' for a
'choice' construct.
|
ConfObject |
DpDataCallback.getCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice)
This callback method needs to return the currently chosen 'case' for a
'choice' construct.
|
ConfValue |
DpDataCallback.getElem(DpTrans trans,
ConfObject[] kp)
This callback method needs to return a specific leaf value.
|
ConfKey |
DpDataCallback.getIteratorKey(DpTrans trans,
ConfObject[] kp,
Object obj)
The following callback is used with the iterators above.
|
ConfObject[] |
DpDataCallback.getIteratorObject(DpTrans trans,
ConfObject[] kp,
Object obj)
The following callback is used with the iterators above.
|
List<ConfObject[]> |
DpDataCallback.getIteratorObjectList(DpTrans trans,
ConfObject[] kp,
Object obj,
Iterator<? extends Object> iterator)
This callback is used in place of getIteratorObject when a
List of objects is requested rather than a single instance. |
ConfObject[] |
DpDataCallback.getObject(DpTrans trans,
ConfObject[] kp)
The purpose of the callback is to return an array of values,
corresponding to a complete list entry in one swoop.
|
Iterator<? extends Object> |
DpDataCallback.iterator(DpTrans trans,
ConfObject[] kp)
This callback makes it possible for ConfD/NCS to traverse a set of list
entries.
|
DpDataFindNextIterator |
DpDataCallback.iterator(DpTrans trans,
ConfObject[] kp,
ConfFindNextType type,
ConfKey key)
This iterator method is a specialization of
DpDataCallback.iterator(DpTrans, ConfObject[])
in that it returns an extended iterator i.e. |
DpDataFindNextIterator |
DpDataCallback.iterator(DpTrans trans,
ConfObject[] kp,
ConfFindNextType type,
ConfKey key,
DpListFilter filter)
Variant of the DpDataFindNextIterator-returning iterator above that may
receive a DpListFilter instance which can be used to filter the list.
|
Iterator<? extends Object> |
DpDataCallback.iterator(DpTrans trans,
ConfObject[] kp,
DpListFilter filter)
Variant of iterator that may receive a DpListFilter which can be used to
filter the list.
|
void |
DpDbCallback.lockPartial(DpDbContext dbx,
int dbname,
int lockid,
ConfObject[][] paths)
This should only be implemented if our database supports locking from
other sources than through ConfD, see
DpDbCallback.lock(DpDbContext,int)
above. |
int |
DpDataCallback.moveAfter(DpTrans trans,
ConfObject[] kp,
ConfKey prevkey)
This callback only needs to be implemented if we provide configuration
data that has YANG lists with a ordered-by user statement.
|
int |
DpDataCallback.numInstances(DpTrans trans,
ConfObject[] kp)
This callback can optionally be implemented.
|
int |
DpDataCallback.remove(DpTrans trans,
ConfObject[] kp)
This callback is used to remove a presence container, list entry or empty
leaf and all its sub elements.
|
int |
DpDataCallback.setAttr(DpTrans trans,
ConfObject[] kp,
ConfAttributeValue attr)
This callback also only needs to be implemented for callpoints specified
for configuration data, and only if attributes are enabled in the server
configuration (/confdConfig/enableAttributes set to true).
|
int |
DpDataCallback.setCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice,
ConfTag caseval)
This callback method sets the currently chosen 'case' for a 'choice'
construct.
|
int |
DpDataCallback.setCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice,
ConfTag caseval)
This callback method sets the currently chosen 'case' for a 'choice'
construct.
|
int |
DpDataCallback.setElem(DpTrans trans,
ConfObject[] kp,
ConfValue newval)
This callback writes a data leaf.
|
void |
DpValpointCallback.validate(DpTrans trans,
ConfObject[] kp,
ConfValue newval)
The validate() callback should validate the values and throw a
DpCallbackException if the validation fails. |
int |
DpDataCallback.writeAll(DpTrans trans,
ConfObject[] kp)
This callback method sets the currently chosen 'case' for a 'choice'
construct.
|
Modifier and Type | Method and Description |
---|---|
ConfObject |
DataCallbackProxy.getCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice) |
ConfObject[] |
DataCallbackProxy.getIteratorObject(DpTrans trans,
ConfObject[] kp,
Object obj) |
ConfObject[] |
DataCallbackProxy.getObject(DpTrans trans,
ConfObject[] kp) |
Modifier and Type | Method and Description |
---|---|
ConfXMLParam[] |
ActionCallbackProxy.action(DpActionTrans actx,
ConfTag name,
ConfObject[] kp,
ConfXMLParam[] params) |
AuthorizationResult |
AuthorizationCallbackProxy.checkDataAccess(DpAuthorizationContext context,
ConfObject[] kp,
AuthorizationOperCheck operation,
AuthorizationOperCheck how) |
Completion |
ActionCallbackProxy.completion(DpActionTrans actx,
char cliStyle,
String token,
char completionChar,
ConfObject[] kp,
String cmdPath,
String cmdParamId,
ConfQname simpleType,
String extra) |
int |
DataCallbackProxy.create(DpTrans trans,
ConfObject[] kp) |
boolean |
DataCallbackProxy.existsOptional(DpTrans trans,
ConfObject[] kp) |
int |
DataCallbackProxy.getAttrs(DpTrans trans,
ConfObject[] kp,
List<ConfAttributeValue> attrList) |
ConfObject |
DataCallbackProxy.getCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice) |
ConfObject |
DataCallbackProxy.getCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice) |
ConfValue |
DataCallbackProxy.getElem(DpTrans trans,
ConfObject[] kp) |
ConfKey |
DataCallbackProxy.getIteratorKey(DpTrans trans,
ConfObject[] kp,
Object obj) |
ConfObject[] |
DataCallbackProxy.getIteratorObject(DpTrans trans,
ConfObject[] kp,
Object obj) |
List<ConfObject[]> |
DataCallbackProxy.getIteratorObjectList(DpTrans trans,
ConfObject[] kp,
Object obj,
Iterator<? extends Object> iterator) |
ConfObject[] |
DataCallbackProxy.getObject(DpTrans trans,
ConfObject[] kp) |
Iterator<Object> |
DataCallbackProxy.iterator(DpTrans trans,
ConfObject[] kp) |
DpDataFindNextIterator |
DataCallbackProxy.iterator(DpTrans trans,
ConfObject[] kp,
ConfFindNextType type,
ConfKey key) |
DpDataFindNextIterator |
DataCallbackProxy.iterator(DpTrans trans,
ConfObject[] kp,
ConfFindNextType type,
ConfKey key,
DpListFilter filter) |
Iterator<Object> |
DataCallbackProxy.iterator(DpTrans trans,
ConfObject[] kp,
DpListFilter filter) |
void |
DBCallbackProxy.lockPartial(DpDbContext dbx,
int dbname,
int lockid,
ConfObject[][] paths) |
int |
DataCallbackProxy.moveAfter(DpTrans trans,
ConfObject[] kp,
ConfKey prevkey) |
int |
DataCallbackProxy.numInstances(DpTrans trans,
ConfObject[] kp) |
int |
DataCallbackProxy.remove(DpTrans trans,
ConfObject[] kp) |
int |
DataCallbackProxy.setAttr(DpTrans trans,
ConfObject[] kp,
ConfAttributeValue attr) |
int |
DataCallbackProxy.setCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice,
ConfTag caseval) |
int |
DataCallbackProxy.setCase(DpTrans trans,
ConfObject[] kp,
ConfObject[] choice,
ConfTag caseval) |
int |
DataCallbackProxy.setElem(DpTrans trans,
ConfObject[] kp,
ConfValue newval) |
void |
ValidateCallbackProxy.validate(DpTrans trans,
ConfObject[] kp,
ConfValue newval) |
int |
DataCallbackProxy.writeAll(DpTrans trans,
ConfObject[] kp) |
Modifier and Type | Field and Description |
---|---|
ConfObject |
MaapiSchemas.CSTypeRange.hi
Deprecated.
|
ConfObject |
MaapiSchemas.CSStringLength.hi
Deprecated.
|
ConfObject |
MaapiSchemas.CSTypeRange.lo
Deprecated.
|
ConfObject |
MaapiSchemas.CSStringLength.lo
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConfObject[][] |
Maapi.deref(int tid,
String fmt,
Object... arguments)
This method dereferences a leafref and returns a list of the objects the
leafref "points" to.
|
ConfObject |
MaapiSchemas.CSNodeInfo.getDefval()
get default value represented as a subclass to ConfObject
|
ConfObject |
MaapiSchemas.CSNode.getDefval()
get default value represented as a subclass to ConfObject
|
ConfObject |
MaapiSchemas.CSTypeRange.getHigh() |
ConfObject |
MaapiSchemas.CSStringLength.getHigh() |
ConfObject |
MaapiSchemas.CSTypeRange.getLow() |
ConfObject |
MaapiSchemas.CSStringLength.getLow() |
ConfObject[] |
Maapi.getObject(int tid,
String fmt,
Object... arguments)
This reads a container object or a list entry object from the path in fmt
and returns the result.
|
ConfObject[] |
ResultTypeKeyPath.keyPath()
Retrieves the result keypath from a query
|
ConfObject[] |
Maapi.safeGetObject(int tid,
String fmt,
Object... arguments)
This is a variant of getObject() that returns null if the object doesn't
exist
|
Modifier and Type | Method and Description |
---|---|
ConfIterateResultFlag |
MaapiIterate.iterate(ConfObject[] kp,
ConfObject value,
ConfAttributeValue[] attrs,
Object initstate) |
ConfIterateResultFlag |
MaapiIterate.iterate(ConfObject[] kp,
ConfObject value,
ConfAttributeValue[] attrs,
Object initstate) |
DiffIterateResultFlag |
MaapiDiffIterate.iterate(ConfObject[] kp,
DiffIterateOperFlag op,
ConfObject old_value,
ConfObject new_value,
Object initstate) |
DiffIterateResultFlag |
MaapiDiffIterate.iterate(ConfObject[] kp,
DiffIterateOperFlag op,
ConfObject old_value,
ConfObject new_value,
Object initstate) |
void |
Maapi.netconfSSHCallHome(ConfObject host,
int port)
Request that ConfD daemon initiates a NETCONF SSH Call Home
connection (see RFC 8071) to the NETCONF client running on
host.
|
void |
Maapi.netconfSSHCallHomeOpaque(ConfObject host,
String opaque,
int port)
Request that ConfD daemon initiates a NETCONF SSH Call Home
connection (see RFC 8071) to the NETCONF client running on
host.
|
XPathNodeIterateResultFlag |
MaapiXPathEvalResult.result(ConfObject[] kp,
ConfValue value,
Object state)
For each node in the resulting node set evaluated by the xpath
this method will be called.
|
void |
Maapi.setElem(int tid,
ConfObject value,
ConfPath path)
Set value to a leaf node.
|
void |
Maapi.setElem(int tid,
ConfObject value,
String fmt,
Object... arguments)
Set value to a leaf node.
|
void |
Maapi.setObject(int tid,
ConfObject[] values,
String fmt,
Object... arguments)
This writes a container object or a list entry object from the path in
fmt and returns the result.
|
void |
Maapi.sharedSetElem(int tid,
ConfObject value,
ConfPath path)
Set value to a leaf node from NCS FastMap code.
|
void |
Maapi.sharedSetElem(int tid,
ConfObject value,
String fmt,
Object... arguments)
Set value to a leaf node from NCS FastMap code
This method is the equivalent of setElem() except that it
can only be called from NCS FastMap service code.
|
Constructor and Description |
---|
CSNodeInfo(int[] keys,
int minOccurs,
int maxOccurs,
int shallowType,
MaapiSchemas.CSType type,
ConfObject defval,
MaapiSchemas.CSChoice choice0,
int flags,
HashMap<String,String> metaData) |
CSStringLength(ConfObject lo,
ConfObject hi) |
CSTypeRange(ConfObject lo,
ConfObject hi,
int flags) |
Modifier and Type | Method and Description |
---|---|
NavuContainer |
NavuList.create(ConfObject key)
Convenience variant of
NavuList.create(ConfKey) accepting a
ConfObject as the (single element) key. |
static NavuNode |
KeyPath2NavuNode.getNode(ConfObject[] kp,
NavuContext ctx) |
DiffIterateResultFlag |
NavuContainer.iterate(ConfObject[] kp,
DiffIterateOperFlag op,
ConfObject oldValue,
ConfObject newValue,
Object state) |
DiffIterateResultFlag |
NavuContainer.iterate(ConfObject[] kp,
DiffIterateOperFlag op,
ConfObject oldValue,
ConfObject newValue,
Object state) |
void |
PreparedXMLStatement.put(int index,
ConfObject val)
Populate the parameterized value at position
index
with the value |
NavuContainer |
NavuList.safeCreate(ConfObject key)
Variant of
NavuList.create(ConfObject) that succeeds even if
the key already exists. |
Collection<NavuNode> |
NavuAction.select(ConfObject[] query) |
Collection<NavuNode> |
NavuContainer.select(ConfObject[] kp) |
Collection<NavuNode> |
NavuLeaf.select(ConfObject[] query) |
Collection<NavuNode> |
NavuList.select(ConfObject[] kp) |
abstract Collection<NavuNode> |
NavuNode.select(ConfObject[] query) |
NavuContainer |
NavuList.sharedCreate(ConfObject key)
Variant of
NavuList.create(ConfObject) that succeeds even if the
key already exists, and also maintains a reference counter
on the object. |
Modifier and Type | Method and Description |
---|---|
NavuNode |
NavuAction.setChange(List<ConfObject> kp,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext)
Sets the change type on a node.
|
NavuNode |
NavuContainer.setChange(List<ConfObject> path,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
NavuNode |
NavuLeaf.setChange(List<ConfObject> kp,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
NavuNode |
NavuList.setChange(List<ConfObject> path,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
Modifier and Type | Method and Description |
---|---|
ConfObject |
NedEditOp.getValue()
Returns the value used in this operation.
|
Modifier and Type | Method and Description |
---|---|
ConfObject |
CallHomeInfoNotification.getIPValue() |
ConfObject |
CommitFailedNotification.getIPValue() |
ConfObject |
SnmpaNotification.getIPValue() |
ConfObject |
SnmpaNotification.Varbind.getValue() |
Constructor and Description |
---|
CallHomeInfoNotification(int info_type,
String device,
InetAddress ip,
ConfObject ipValue,
int port,
String key,
String alg) |
CommitFailedNotification(int data_provider,
int db_name,
DpUserInfo uinfo,
String daemon_name,
InetAddress ip,
ConfObject ipValue,
int port) |
SnmpaNotification(int pdu_type,
int request_id,
int thandle,
InetAddress ip,
ConfObject ipValue,
int port,
int error_status,
int error_index,
int num_variables,
SnmpaNotification.Varbind[] varbinds,
SnmpaNotification.TrapInfo v1_trap) |
Varbind(int type,
SnmpaNotification.SnmpVar var,
ConfObject val,
int vartype) |