[tickets] [opensaf:tickets] Re: #1626 imm: allow creation of multiple values for multi attributes

2016-01-20 Thread Hung Nguyen
Yes, only one SaImmAttrModificationT_2 is allowed for each attribute for saImmOmCcbObjectModify_2. But that AttrModification may involve multiple values (attrValuesNumber > 1). For example: immcfg -a attr1=1 -a attr1=2 test=1 should be interpreted as modType = SA_IMM_ATTR_VALUES_REPLACE

[tickets] [opensaf:tickets] Re: #1626 imm: allow creation of multiple values for multi attributes

2016-01-20 Thread Neelakanta Reddy
>From the above example immcfg -a attr1=1 -a attr1=2 test=1 Here, there may be more confusion whether the final value is 1 or 2 similarly for mixed mod type. --- ** [tickets:#1626] imm: allow creation of multiple values for multi attributes** **Status:** review **Milestone:** 5.0.FC

[tickets] [opensaf:tickets] Re: #1626 imm: allow creation of multiple values for multi attributes

2016-01-20 Thread Hung Nguyen
We are talking about atrributes defined as MULTI_VALUE so there's no such final value. We will add both '1' and '2' to the attribute, multi-valued attributes can have more than one attribute. Of course, those examples above are only for attributes defined as MULTI_VALUE, any attemp to do that

[tickets] [opensaf:tickets] Re: #1626 imm: allow creation of multiple values for multi attributes

2016-01-19 Thread Neelakanta Reddy
Only one modifiy operation is supported for the attribute. --- ** [tickets:#1626] imm: allow creation of multiple values for multi attributes** **Status:** review **Milestone:** 5.0.FC **Created:** Tue Dec 08, 2015 04:40 AM UTC by Neelakanta Reddy **Last Updated:** Tue Jan 19, 2016 03:15 PM