-
Deprecated Classes
-
Deprecated FieldsFieldDescriptionUse
CommitQueueResult.Status.DELETED
instead.UseCommitQueueResult.Status.FAILED
instead.UseCommitQueueResult.Status.NONE
instead.UseCommitQueueResult.Status.COMPLETED
instead.UseCommitQueueResult.Status.TIMEOUT
instead.UseCommitQueueResult.getId()
instead.UseCommitQueueResult.getStatus()
instead.Use COMMIT_NCS_COMMIT_QUEUE_* flags instead.Use COMMIT_NCS_NO_DEPLOY flag instead.UseNedErrorCode.CONNECT_CONNECTION_REFUSED
or some other suitable NED error code instead.UseNedErrorCode.CONNECT_BADAUTH
instead.UseNedErrorCode.CONNECT_BADKEY
instead.UseNedErrorCode.CONNECT_BADAUTH
instead.UseNedErrorCode.CONNECT_CONNECTION_REFUSED
instead.UseNedErrorCode.CONNECT_HOST_KEY_REJECTED
instead.UseNedErrorCode.CONNECT_HOSTUNREACH
instead.UseNedErrorCode.CONNECT_TIMEOUT
instead.UseConf.DB_CANDIDATE
instead.UseConf.DB_NONE
instead.UseConf.DB_RUNNING
instead.UseConf.DB_STARTUP
instead.
-
Deprecated MethodsMethodDescriptioncom.tailf.cdb.Cdb.isChannelBased()in favor to getNumberOfInstances, which follows java naming conventions. Returns the number of elements of a container type.in favor to getNumberOfInstances, which follows java naming conventions. similar to
CdbSession.numInstances(ConfPath)
but specifies element using path stringThis is now done automatically for all devices part of the transaction.UseMaapi.applyTransParams(int, boolean, CommitParams)
instead. This method must be called if applyTrans() or prepareTrans() was called, and one of the flagsMaapi.COMMIT_NCS_COMMIT_QUEUE_ASYNC
orMaapi.COMMIT_NCS_COMMIT_QUEUE_SYNC
was set, and must not be called otherwise. If the transaction did not result in a commit queue entry (e.g., it didn't involve any devices) the function returns a CommitQueueResult with its status set to NCS_COMMIT_QUEUE_NONE. Otherwise, ifMaapi.COMMIT_NCS_COMMIT_QUEUE_ASYNC
was set, the function returns a CommitQueueResult with its status set to NCS_COMMIT_QUEUE_ASYNC, and its queue_id set to the commit queue id. Otherwise, ifMaapi.COMMIT_NCS_COMMIT_QUEUE_SYNC
was set, the function waits at most timeout seconds for the commit queue item to be sent to the devices. If the result was successful, it returns a CommitQueueResult with its status set to NCS_COMMIT_QUEUE_SYNC. If the timer expires, it returns a CommitQueueResult with its status set to NCS_COMMIT_QUEUE_TIMEOUT, and its queue_id set to the commit queue id. If the result was unsuccessful, an exception is raised. If any of the devices in the queue item returns an error the status is set to NCS_COMMIT_QUEUE_FAILED. If the queue item is deleted before execution the status is set to NCS_COMMIT_QUEUE_DELETED.UseMaapi.copyTree(int, boolean, ConfPath, ConfPath)
instead.UseMaapi.copyTree(int, ConfPath, ConfPath)
instead.Consult the /rollback-files list instead. Get list of available rollback files.Use the action /rollback-files/apply-rollback-file instead. Load rollback file into a given transaction.Use the action /rollback-files/apply-rollback-file instead. Load rollback file into a given transaction using the fixed number.This method is not activly maintained and does not fully support all kinds of services (i.e. RFM or nano services). Use of this method is discouraged until further notice. Used in service data migrations, after config data has been moved in the data upgrade, also the service ncs specific private data has to be moved. This method assists in that movecom.tailf.maapi.Maapi.reportDeviceProgress(Maapi.Verbosity, String, String, String) useProgressTraceNed
instead. Report progress events for a device (to be used by NEDs).com.tailf.maapi.Maapi.reportDeviceProgressStart(Maapi.Verbosity, String, String, String) useProgressTraceNed
instead. Report progress events for a device (to be used by NEDs). Used for calculation of the duration between two events.com.tailf.maapi.Maapi.reportDeviceProgressStop(Maapi.Verbosity, String, String, String, long) useProgressTraceNed
instead. Report progress events for a device (to be used by NEDs). Used for calculation of the duration between two events.com.tailf.maapi.Maapi.reportNedProgress(Maapi.Verbosity, String, String, String) useProgressTraceNed
instead. Report progress events for a device NED. As to adhere to the verbosity classifications defined inMaapi.Verbosity
it is not recommended that NED progress is reported on a level lower than Verbosity.VERBOSE.com.tailf.maapi.Maapi.reportNedProgressStart(Maapi.Verbosity, String, String, String) useProgressTraceNed
instead. Report progress events for a device NED. Used for calculation of the duration between two events. As to adhere to the verbosity classifications defined inMaapi.Verbosity
it is not recommended that NED progress is reported on a level lower than Verbosity.VERBOSE.com.tailf.maapi.Maapi.reportNedProgressStop(Maapi.Progress) useProgressTraceNed
instead. Report progress events for a device NED. Used for calculation of the duration between two events.com.tailf.maapi.Maapi.reportNedProgressStop(Maapi.Progress, String) useProgressTraceNed
instead. Report progress events for a device NED. Used for calculation of the duration between two events.useProgressTrace
instead. Report progress of an action or transaction.useProgressTrace
instead. Report progress of an action or transaction. Used for calculation of the duration between two events.useProgressTrace
instead. Report progress of an action or transaction. Used for calculation of the duration between two events.useProgressTrace
instead. Report progress of an action or transaction. Used for calculation of the duration between two events.useProgressTrace
instead. Report transaction progress events for a FASTMAP service. NCS specific maapi functionuseProgressTrace
instead. Report transaction progress events for a FASTMAP service. Used for calculation of the duration between two events. NCS specific maapi functionuseProgressTrace
instead. Report transaction progress events for a FASTMAP service. Used for calculation of the duration between two events. NCS specific maapi functionuseProgressTrace
instead. Report transaction progress events for a FASTMAP service. Used for calculation of the duration between two events. NCS specific maapi functionUse the methodNavuContainer.setOperDataCase(String, String)
UseAlarm.alarmText
Use isRunning() Check whether the subscriber thread of the NavuEventHandler is stated.Use the methodNedCliBase.showPartial(NedWorker,ConfPath[],String[])
instead. Extract parts of the configuration and send it to NCS. The response is sent by invoking the w.showCliResponse() method in the provided NedWorker.Use the methodNedConnectionBase.isAlive(NedWorker)
instead. If theNedConnectionBase.isAlive(NedWorker)
method is implemented in the NED, this method will not be invoked. The NED must implement one of these methods.Use the methodNedException.getNedErrorCode()
instead.Use the methodNedWorker.connectError(NedErrorCode)
insteadUse the methodNedWorker.connectError(NedErrorCode, String)
insteadUseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getDatastore()
instead.UseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getAttributeValue(String)
instead.UseProgressNotification.getTraceId()
instead.UseProgressNotification.getTransactionId()
instead.UseProgressNotification.getSessionId()
instead.
-
Deprecated ConstructorsConstructorDescriptionUse
CommitQueueResult(ConfResponse)
instead.Not for public use, The isCleared flag is intended to be set by NCS and not by the constructor This method is expected to be retained only as a package private method. Replaced byAlarm(ManagedDevice, ManagedObject, ConfIdentityRef, ConfBuf, PerceivedSeverity, ConfBuf, List, List, List, ConfDatetime, Attribute...)
Not for public use, The isCleared flag is intended to be set by NCS and not by the constructor This method is expected to be retained only as a package private method. Replaced byAlarm(ManagedDevice, ManagedObject, ConfIdentityRef, PerceivedSeverity, ConfBuf, List, List, List, ConfDatetime, Attribute...)
Use the methodNedCapability
insteadUse the methodNedCapability
insteadUse the constructorNedException(NedErrorCode, String)
insteadUse the constructorNedException(NedErrorCode, String)
instead with code set to the appropriate enum inNedErrorCode
Use the constructorNedException(NedErrorCode, String, Throwable)
instead with code set to the appropriate enum inNedErrorCode
-
Deprecated Enum Constants
CommitQueueResult.Status.ASYNC
instead.