- **Type**: defect --> enhancement
---
** [tickets:#768] Issues in invalid return values for AMF API's in different
scenarios.**
**Status:** unassigned
**Milestone:** future
**Created:** Thu Feb 06, 2014 06:03 AM UTC by manu
**Last Updated:** Thu Jun 05, 2014 07:11 AM UTC
**Owner:** nobody
1 .call saAmfComponentErrorReport_4 with negative error detection time
Got return value : SA_AIS_OK, expected return value : INVALID_PARAM
2. call saAmfComponentErrorReport_4 with non existent entity
Got return value : SA_AIS_ERR_BAD_OPERATION, expected return value :
NOT_EXIST
3. call saAmfComponentErrorCLear_4 on operationally enabled component
Got return value : SA_AIS_OK, expected value : SA_AIS_ERR_NO_OP
4. When saAmfResponse_4 is called continuously two times with proper params in
proper callback, ERR_NOT_EXIST is not returned for the second time. Instead
SA_AIS_OK is returned
5. When saAmfResponse_4 is called with invalid invocation, the return value is
ERR_INVALID_PARAM, and the expected value is ERR_NOT_EXIST
6. Finalized handle for api's ErrorReport_4,ErrorClear_4 and PmStart_3 returns
ERR_VERSION instead of BAD_HANDLE
7. saAmfResponse_4 returns SA_AIS_ERR_INVALID_PARAM, if the error is set to
values other than SA_AIS_OK, SA_AIS_FAILED_OPERATION and SA_AIS_ERR_NOT_READY.
According to page 296, last para
Any other error code set in the error parameter in the response will be treated
by
the Availability Management Framework as if the caller had set the error
parameter
to SA_AIS_ERR_FAILED_OPERATION
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets