- **status**: accepted --> review


---

** [tickets:#1425] IMM: Add attribute def flag SA_IMM_ATTR_STRONG_DEFAULT**

**Status:** review
**Milestone:** 4.7.FC
**Created:** Fri Jul 24, 2015 12:49 PM UTC by Anders Bjornerstedt
**Last Updated:** Mon Sep 21, 2015 02:48 AM UTC
**Owner:** Hung Nguyen


The saImmOmClassCreate_2() API allows the user to provide a list of attribute 
definitions. An attribute definition may include a default value.

The default value will be assigned to this attribute in an instance being 
created
by the saImmOmCcbObjectCreate_2() or the saImmOiRtObjectCreate_2() APIs, if the
user does not provide a value for that attribute.

But a user/OI may later update such an object/attribute assigning the empty 
value
to the attribute. So the default value mechanism is only effective for object
creation and not later in the life cycle of the object. This makes the default
attribute value mechanism weaker than some users would like. 

This enhancement proposes a new attribute flag SA_IMM_ATTR_STRONG_DEFAULT.
This flag will only be allowed to be set on an attribute definition that 
includes
a default value.

The meaning of the flag is that if a user attempts an update of an 
object/attribute
that assigns the empty value to such an attribute, then the IMM will replace, 
i.e.
override, that value with the default value defined in the class.





---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to