adding few more cases of spec validations for conformance:

1) when saAmfComponentErrorReport_4 is invoked with  SaAmfReadinessImpactT 
value out of enum definitions INVALID_PARAM is expected but as of now returns 
ERR_NOT_SUPPORTED
2) DN validation is not being done by amf. When saAmfComponentErrorReport_4 is 
invoked with malformed DN for example: 
safComp=AmfDemo5,safSg=AmfDemo,safApp=AmfDemo, api returns BAD_OPERATION 
instead of not supported. 
3) When saAmfComponentErrorReport_4 is invoked with proper DN with non existing 
component name, api returns BAD_OPERATION instead of ERR_NOT_EXIST 



---

** [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 Feb 06, 2014 12:37 PM 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.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to