[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
attrValuesNumber = 2
attrValues = {1, 2}

immcfg -a attr1+=1 -a attr1+=2 test=1
should be interpreted as
modType = SA_IMM_ATTR_VALUES_ADD
attrValuesNumber = 2
attrValues = {1, 2}

Of course mixed modType is not allowed
immcfg -a attr1+=1 -a attr1-=2 test=1
this must be rejected





---

** [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:** Wed Jan 20, 2016 07:50 AM UTC
**Owner:** Neelakanta Reddy


immcfg -c claa -a attr="one" -a attr="two"   rdn=0

By specifying same attribute twice, will create the multiple values for multi 
attribute.

Presently, this is not supported. Because, the attributes are not sent as 
multiple values, but sent as individual attributes with same name. This needs 
to be corrected.



---

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.--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[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
**Created:** Tue Dec 08, 2015 04:40 AM UTC by Neelakanta Reddy
**Last Updated:** Wed Jan 20, 2016 07:50 AM UTC
**Owner:** Neelakanta Reddy


immcfg -c claa -a attr="one" -a attr="two"   rdn=0

By specifying same attribute twice, will create the multiple values for multi 
attribute.

Presently, this is not supported. Because, the attributes are not sent as 
multiple values, but sent as individual attributes with same name. This needs 
to be corrected.



---

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.--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[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 on single-valued attributes should be rejected.

Mixed ModType is not allowed (I already said that before).



---

** [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:** Wed Jan 20, 2016 07:50 AM UTC
**Owner:** Neelakanta Reddy


immcfg -c claa -a attr="one" -a attr="two"   rdn=0

By specifying same attribute twice, will create the multiple values for multi 
attribute.

Presently, this is not supported. Because, the attributes are not sent as 
multiple values, but sent as individual attributes with same name. This needs 
to be corrected.



---

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.--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[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 UTC
**Owner:** Neelakanta Reddy


immcfg -c claa -a attr="one" -a attr="two"   rdn=0

By specifying same attribute twice, will create the multiple values for multi 
attribute.

Presently, this is not supported. Because, the attributes are not sent as 
multiple values, but sent as individual attributes with same name. This needs 
to be corrected.



---

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.--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets