Uses of Class
com.tailf.conf.ConfXMLParam
Package
Description
Package with methods for connecting to the configuration database.
Data types and utilities for communication with the server.
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
Annotations and proxy helper classes for callbacks.
MAAPI is an API which provides full access to the systems internal
transaction engine.
NAVU (Navigation Utilities) is an API which provides increased
accessibility to the ConfD/NCS populated data model tree:
NAVU-Tree.
Network Equipment Drivers package
Package for subscription to asynchronous events.
Utility classes for representing compiled ConfNamespaces.
-
Uses of ConfXMLParam in com.tailf.cdb
Modifier and TypeMethodDescriptionCdbSession.getValues
(ConfXMLParam[] params, ConfPath path) Same functionality as getValues(params, fmt, arguments) but takes a already constructed ConfPath object as argument instead of fmt, arguments.CdbSession.getValues
(ConfXMLParam[] params, String fmt, Object... arguments) Read an arbitrary set of sub-elements of a container element.CdbUpgradeSession.getValues
(ConfXMLParam[] params, ConfCdbUpgradePath path) CdbUpgradeSession.getValues
(ConfXMLParam[] params, String fmt, Object... arguments) Modifier and TypeMethodDescriptionCdbSubscription.getModifications
(int subid, CdbGetModificationFlag flag, ConfPath path) Deprecated.CdbSubscription.getModifications
(int subid, CdbGetModificationFlag flag, String fmt, Object... args) Deprecated.CdbSubscription.getModifications
(int subid, EnumSet<CdbGetModificationFlag> flags, ConfPath path) Retrieve changes that caused by subscription notification.CdbSubscription.getModifications
(int subid, EnumSet<CdbGetModificationFlag> flags, String fmt, Object... args) Retrieve changes that caused by subscription notification.CdbSubscription.getModifications
(CdbGetModificationFlag flag) Deprecated.CdbSubscription.getModifications
(EnumSet<CdbGetModificationFlag> flags) Retrieve changes that caused by subscription notification.Modifier and TypeMethodDescriptionCdbSession.getValues
(ConfXMLParam[] params, ConfPath path) Same functionality as getValues(params, fmt, arguments) but takes a already constructed ConfPath object as argument instead of fmt, arguments.CdbSession.getValues
(ConfXMLParam[] params, String fmt, Object... arguments) Read an arbitrary set of sub-elements of a container element.CdbUpgradeSession.getValues
(ConfXMLParam[] params, ConfCdbUpgradePath path) CdbUpgradeSession.getValues
(ConfXMLParam[] params, String fmt, Object... arguments) void
CdbSession.setValues
(ConfXMLParam[] params, ConfPath path) Set arbitrary sub-elements of a container element.void
CdbSession.setValues
(ConfXMLParam[] params, String fmt, Object... arguments) similar toCdbSession.setValues(ConfXMLParam[], ConfPath)
but specifies element using path stringvoid
CdbUpgradeSession.setValues
(ConfXMLParam[] params, ConfCdbUpgradePath path) void
CdbUpgradeSession.setValues
(ConfXMLParam[] params, String fmt, Object... arguments) Modifier and TypeMethodDescriptionvoid
CdbSession.setValues
(List<ConfXMLParam> params, ConfPath path) -
Uses of ConfXMLParam in com.tailf.conf
Modifier and TypeClassDescriptionclass
Identifies a starting point in the model from which other parameters are relatively defined (used in CDB).class
Identifies a leaf parameter.class
Identifies a starting point in the model from which other parameters are relatively defined.class
Identifies a starting point in the model for a list item that should be deleted.class
Identifies the end point for parameter definitions.class
Identifies a parameter with its value.Modifier and TypeMethodDescriptionstatic ConfXMLParam
ConfXMLParam.decodeParam
(ConfEObject o) Decode the internal representation to aConfXMLParam
Used internally.static ConfXMLParam[]
ConfXMLParam.decodeParams
(ConfEObject o) static ConfXMLParam[]
ConfXMLParam.toXMLParams
(String xml, ConfPath path) Converts an xml snippet to a corresponding ConfXMLParam[].static ConfXMLParam[]
ConfXMLParam.toXMLParams
(String xml, ConfPath path, int mode) Converts an xml snippet to a corresponding ConfXMLParam[].Modifier and TypeMethodDescriptionstatic ConfEObject
ConfXMLParam.encode
(ConfXMLParam[] params) static ConfEObject
ConfXMLParam.encode
(List<String> mountId, ConfXMLParam[] params) static ConfEObject
ConfXMLParam.encodeHKP
(ConfXMLParam[] params) static ConfEObject
ConfXMLParam.encodeHKP
(List<String> mountId, ConfXMLParam[] params) static ConfEObject
ConfXMLParam.encodeIKP
(ConfXMLParam[] params) static ConfEObject
ConfXMLParam.encodeIKP
(List<String> mountId, ConfXMLParam[] params) static Document
ConfXMLParam.toDOM
(ConfXMLParam[] params) Return StringDOM
document representation of a (Conf)XML-structure.static Document
ConfXMLParam.toDOM
(ConfXMLParam[] params, String parentNode, String parentURI) Return StringDOM
representation of a (Conf)XML-structure.static String
ConfXMLParam.toXML
(ConfXMLParam[] params) Return String XML representation of a (Conf)XML-structure.static String
ConfXMLParam.toXML
(ConfXMLParam[] params, String parentNode, String parentURI) Return String XML representation of a (Conf)XML-structure. -
Uses of ConfXMLParam in com.tailf.dp
Modifier and TypeMethodDescriptionDpActionCallback.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.Modifier and TypeMethodDescriptionDpActionCallback.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.void
DpNotifStream.send
(ConfDatetime time, ConfXMLParam params) Send a notification defined at the top level of a YANG module on this notification stream to ConfD/NCS.void
DpNotifStream.send
(ConfDatetime time, ConfXMLParam[] params) Send a notification defined at the top level of a YANG module on this notification stream to ConfD/NCS.void
DpNotifStream.send
(ConfDatetime time, ConfXMLParam[] params, ConfPath path) Send a notification defined as a child of a container or list in a YANG 1.1 module on this notification stream to ConfD/NCS.void
DpNotifStream.send
(ConfDatetime time, ConfXMLParam[] params, String fmt, Object... arguments) Send a notification defined as a child of a container or list in a YANG 1.1 module on this notification stream to ConfD/NCS. -
Uses of ConfXMLParam in com.tailf.dp.annotations
Modifier and TypeMethodDescriptionActionCallbackProxy.action
(DpActionTrans actx, ConfTag name, ConfObject[] kp, ConfXMLParam[] params) Modifier and TypeMethodDescriptionActionCallbackProxy.action
(DpActionTrans actx, ConfTag name, ConfObject[] kp, ConfXMLParam[] params) -
Uses of ConfXMLParam in com.tailf.maapi
Modifier and TypeMethodDescription<T extends ConfXMLParam>
T[]Read an arbitrary set of sub-elements of a container element.<T extends ConfXMLParam>
T[]Read an arbitrary set of sub-elements of a container element.<T extends List<ConfXMLParam>>
TRead an arbitrary set of sub-elements of a container element.<T extends List<ConfXMLParam>>
TRead an arbitrary set of sub-elements of a container element.Modifier and TypeMethodDescription<T extends ConfXMLParam>
T[]Read an arbitrary set of sub-elements of a container element.<T extends ConfXMLParam>
T[]Read an arbitrary set of sub-elements of a container element.Maapi.requestAction
(ConfXMLParam[] params, int nshash, String fmt, Object... arguments) Same asMaapi.requestAction(ConfXMLParam[], String, Object...)
Since actions are not associated with transactions, the namespace hashnshash
must be provided and the path to the action, i.e.Maapi.requestAction
(ConfXMLParam[] params, String fmt, Object... arguments) Invokes an action defined in the data model annotated withtailf:action
(see tailf_yang_extensions(5)).Maapi.requestAction
(List<ConfXMLParam> params, int nshash, String fmt, Object... arguments) Maapi.requestAction
(List<ConfXMLParam> params, String fmt, Object... arguments) Same asMaapi.requestAction(ConfXMLParam[], String, Object...)
with the difference that theparams
isList
instead ofConfXMLParam
array.Maapi.requestActionTh
(int tid, ConfXMLParam[] params, String fmt, Object... arguments) Same asMaapi.requestAction(ConfXMLParam[], String, Object...)
with the difference that the fmt is not required to have a namespace prefix in the root tag.Maapi.requestActionTh
(int tid, List<ConfXMLParam> params, String fmt, Object... arguments) ResultTypeTag.tag()
Retrieves the result tag from a queryModifier and TypeMethodDescription<T extends ConfXMLParam>
T[]Read an arbitrary set of sub-elements of a container element.<T extends ConfXMLParam>
T[]Read an arbitrary set of sub-elements of a container element.Maapi.requestAction
(ConfXMLParam[] params, int nshash, String fmt, Object... arguments) Same asMaapi.requestAction(ConfXMLParam[], String, Object...)
Since actions are not associated with transactions, the namespace hashnshash
must be provided and the path to the action, i.e.Maapi.requestAction
(ConfXMLParam[] params, String fmt, Object... arguments) Invokes an action defined in the data model annotated withtailf:action
(see tailf_yang_extensions(5)).Maapi.requestActionTh
(int tid, ConfXMLParam[] params, String fmt, Object... arguments) Same asMaapi.requestAction(ConfXMLParam[], String, Object...)
with the difference that the fmt is not required to have a namespace prefix in the root tag.void
Maapi.setValues
(int tid, ConfXMLParam[] params, ConfPath path) Set arbitrary sub-elements of a container element in one bulk operation.void
Maapi.setValues
(int tid, ConfXMLParam[] params, String fmt, Object... arguments) Set arbitrary sub-elements of a container element in one bulk operation.void
Maapi.sharedSetValues
(int tid, ConfXMLParam[] params, ConfPath path) Set arbitrary sub-elements of a container element in one bulk operation from NCS FastMap code.void
Maapi.sharedSetValues
(int tid, ConfXMLParam[] params, String fmt, Object... arguments) Set arbitrary sub-elements of a container element in one bulk operation from NCS FastMap code.Modifier and TypeMethodDescriptionMaapi.requestAction
(List<ConfXMLParam> params, int nshash, String fmt, Object... arguments) Maapi.requestAction
(List<ConfXMLParam> params, String fmt, Object... arguments) Same asMaapi.requestAction(ConfXMLParam[], String, Object...)
with the difference that theparams
isList
instead ofConfXMLParam
array.Maapi.requestActionTh
(int tid, List<ConfXMLParam> params, String fmt, Object... arguments) void
Maapi.setValues
(int tid, List<ConfXMLParam> params, ConfPath path) Set arbitrary sub-elements of a container element in one bulk operation.void
Maapi.setValues
(int tid, List<ConfXMLParam> params, String fmt, Object... arguments) Set arbitrary sub-elements of a container element in one bulk operation.void
Maapi.sharedSetValues
(int tid, List<ConfXMLParam> params, ConfPath path) Set arbitrary sub-elements of a container element in one bulk operation from NCS FastMap code.void
Maapi.sharedSetValues
(int tid, List<ConfXMLParam> params, String fmt, Object... arguments) Set arbitrary sub-elements of a container element in one bulk operation from NCS FastMap code. -
Uses of ConfXMLParam in com.tailf.ned
Modifier and TypeMethodDescriptionvoid
NedCliBaseTemplate.command
(NedWorker worker, String cmdname, ConfXMLParam[] p) abstract void
NedConnectionBase.command
(NedWorker w, String cmdName, ConfXMLParam[] params) This is for any optional commands on the device that are not part of the yang files config data, but is modeled as tailf:actions or rpcs in the device yang files.void
NedWorker.commandResponse
(ConfXMLParam[] reply) This method is called by the NED to indicate that the command method has been successfully completed when the NED also has a reply.void
NedConnectionBase.setPlatformData
(ConfXMLParam[] platformData) This function is used to set the platform operational data for a specific NED. -
Uses of ConfXMLParam in com.tailf.notif
ModifierConstructorDescriptionStreamNotification
(int stream_event_type, ConfDatetime event_time, ConfXMLParam[] values, String error) -
Uses of ConfXMLParam in com.tailf.util
Modifier and TypeMethodDescriptionXMLtoConfXMLParam.toXMLParam()
Converts the xml to corresponding ConfXMLParam[] The resulting ConfXMLParam[] is prepared for a getValues() call.XMLtoConfXMLParam.toXMLParam
(int mode) Converts the xml to corresponding ConfXMLParam[] The mode parameter controls whether this ConfXMLParam[] should be prepared for a getValues() call or for a setValues() call using usingXMLtoConfXMLParam.MODE_GET
orXMLtoConfXMLParam.MODE_SET
respectively.Modifier and TypeMethodDescriptionConfXMLParamToXML.toXML
(ConfXMLParam[] param) Transforms the supplied parameterConfXMLParam[]
to a document (Document
).ConfXMLParamToXML.toXML
(ConfXMLParam[] param, boolean includeEmpty) Transforms the supplied parameterConfXMLParam[]
to a document (Document
).ConfXMLParamToXML.toXML
(ConfXMLParam[] param, String parentNode, String parentURI) Transforms the suppliedConfXMLParam[]
to a document (Document
).ConfXMLParamToXML.toXML
(ConfXMLParam[] param, String parentNode, String parentURI, boolean includeEmpty) Transforms the supplied parameterConfXMLParam[]
to a document (Document
).