- **status**: review --> fixed
- **Comment**:

changeset:   6710:687437427237
tag:         tip
user:        Johan Mårtensson <[email protected]>
date:        Mon Aug 10 15:58:29 2015 +0530
summary:     pyosaf: Change to use 60 retries to align with previous behavior 
[#1434]

changeset:   6709:7a6b4f3f3451
user:        Johan Mårtensson <[email protected]>
date:        Mon Aug 10 15:58:12 2015 +0530
summary:     pyosaf: SafException is moved to pyosaf.utils, remove un-used 
pyosaf.utils.immom.common [#1434]

changeset:   6708:0d5dc1365261
user:        Johan Mårtensson <[email protected]>
date:        Mon Aug 10 15:56:24 2015 +0530
summary:     pyosaf: Make Ccb, InstanceIterator and SearchIterator use 
decorated SAF functions [#1434]

changeset:   6707:400aa0cfb95b
user:        Johan Mårtensson <[email protected]>
date:        Mon Aug 10 15:56:10 2015 +0530
summary:     pyosaf: Use decorated saImmOm functions in immom/__init__.py 
[#1434]

changeset:   6706:9ae8ba4f0dbc
user:        Johan Mårtensson <[email protected]>
date:        Mon Aug 10 15:55:43 2015 +0530
summary:     pyosaf: Add decorated versions of each saImmOm* function in immom 
[#1434]




---

** [tickets:#1434] pyosaf: Add wrapped functions with automatic retries and 
exceptions for raw SAF functions**

**Status:** fixed
**Milestone:** 4.7-Tentative
**Created:** Wed Aug 05, 2015 09:26 AM UTC by Johan Mårtensson
**Last Updated:** Wed Aug 05, 2015 09:39 AM UTC
**Owner:** Johan Mårtensson


The SAF functions need to be called in a retry loop to handle timeouts 
properly. This is done inconsistently in the higher level Python bindings 
(pyosaf/utils). They also return errors as ints while the code in pyosaf/utils 
changes this to throw exceptions. 

This should be handled consistently by decorating the raw functions with retry 
logic and raising of exceptions on failure.


---

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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to