[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-30 Thread Long HB Nguyen
- **status**: review --> fixed



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** fixed
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 30, 2016 07:32 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-30 Thread Long HB Nguyen
changeset:   7983:378920f71b18
user:minh-chau 
date:Tue Aug 30 15:33:45 2016 +1000
summary: AMF Demo: Remove unused var to build uml [#1642]

changeset:   7987:2fe70548ad87
user:Gary Lee 
date:Tue Aug 30 15:58:59 2016 +1000
summary: amfd: fix cppcheck errors [#1642]

changeset:   7988:7c1bd4b6aa6b
user:Long Nguyen 
date:Tue Aug 30 16:01:43 2016 +1000
summary: amfnd: cppcheck warnings with severity error [#1642]

[staging:378920]
[staging:2fe705]
[staging:7c1bd4]


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 30, 2016 05:44 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-29 Thread Minh Hon Chau
just made direct push to remove unused var in amf_demo


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Aug 29, 2016 04:56 PM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-29 Thread Anders Widell
- **status**: fixed --> review



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Aug 29, 2016 03:32 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-28 Thread Long HB Nguyen
- **status**: review --> fixed



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** fixed
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Aug 29, 2016 03:31 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-28 Thread Long HB Nguyen
changeset:   7957:da6a8d617b76
user:Long Nguyen 
date:Fri Aug 26 15:20:36 2016 +1000
summary: amf: add README file for long DN support [#1642]

changeset:   7960:e219fd4d84c7
tag: tip
user:Long Nguyen 
date:Mon Aug 29 12:17:13 2016 +1000
summary: AMFA: Fix memleak in longDN pg notification [#1642]


[staging:da6a8d]
[staging:e219fd]


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 23, 2016 02:46 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-22 Thread Long HB Nguyen
changeset:   7912:f567b31f7c60
user:Gary Lee 
date:Tue Aug 23 10:41:54 2016 +1000
summary: amfd: replace SaNameT with string in include dir [#1642]

changeset:   7913:6a3c8d5c96f0
user:Gary Lee 
date:Tue Aug 23 10:41:57 2016 +1000
summary: amfd: replace SaNameT with string [#1642]

changeset:   7914:42ceef9fcbcb
user:Gary Lee 
date:Tue Aug 23 10:42:01 2016 +1000
summary: amfd: replace SaNameT with string [#1642]

changeset:   7915:bbe17545d4a9
user:Gary Lee 
date:Tue Aug 23 10:42:04 2016 +1000
summary: amfd: enable long DN support [#1642]

changeset:   7916:7f91232751e2
user:Gary Lee 
date:Tue Aug 23 10:42:06 2016 +1000
summary: amfd: replace SaNameT with string [#1642]

changeset:   7917:707147c5ae97
user:Gary Lee 
date:Tue Aug 23 10:42:08 2016 +1000
summary: amfd: handle SaNameT properly in avd_saImmOiRtObjectUpdate() 
[#1642]

changeset:   7918:0ab69f05b332
user:Gary Lee 
date:Tue Aug 23 10:42:11 2016 +1000
summary: amfd: do not call memset on classes with string members [#1642]

changeset:   7919:15f5bd7a3450
user:Gary Lee 
date:Tue Aug 23 10:42:13 2016 +1000
summary: amfd: fix double free [#1642]

changeset:   7920:77b94b6b3f00
user:Gary Lee 
date:Tue Aug 23 10:42:15 2016 +1000
summary: amfd: add compare_sanamet() to emulate m_CMP_NORDER_SANAMET [#1642]

changeset:   7921:16e6ac16d63e
user:Gary Lee 
date:Tue Aug 23 10:42:17 2016 +1000
summary: amfd: fix various CSI related problems [#1642]

changeset:   7922:0b9e1aa24d11
user:Gary Lee 
date:Tue Aug 23 10:42:22 2016 +1000
summary: amfd: ensure long DNs are sent correctly in additional info [#1642]

changeset:   7923:9928d20c4eb5
user:Gary Lee 
date:Tue Aug 23 10:42:25 2016 +1000
summary: amfd: add long DN support [#1642]

changeset:   7924:26218e03910a
user:Minh Hon Chau 
date:Tue Jun 21 14:54:53 2016 +0700
summary: amfa: enable long DN support [#1642]

changeset:   7925:7103ff4ff4a0
user:Long HB Nguyen
date:Tue Jun 21 14:54:54 2016 +0700
summary: amfwdog: enable long DN support [#1642]

changeset:   7926:30d49272e7a6
user:Long HB Nguyen
date:Tue Jun 21 14:54:55 2016 +0700
summary: amfpm: enable long DN support [#1642]

changeset:   7927:c51711e7fded
user:Hans Nordeback 
date:Tue Jun 21 14:54:57 2016 +0700
summary: libs/common/amf: enable long DN support [#1642]

changeset:   7928:abc37dbf39ff
user:Long HB Nguyen
date:Mon Jul 11 13:04:34 2016 +0700
summary: amfnd: enable long DN support [#1642]

changeset:   7929:1bd9fe74e608
user:Long HB Nguyen
date:Mon Aug 15 14:28:54 2016 +0700
summary: amfnd: fix issue with environment variable [#1642]

changeset:   7930:ead22cb84362
user:Long HB Nguyen
date:Mon Aug 22 14:13:58 2016 +0700
summary: amfnd: remove used code in util.cc [#1642]

changeset:   7931:c9986fbf0318
user:Long HB Nguyen
date:Mon Aug 22 14:13:57 2016 +0700
summary: amfa: fixed freeing notification buff [#1642]

changeset:   7932:e7ed0fd83711
tag: tip
user:Long HB Nguyen
date:Tue Jun 21 14:55:01 2016 +0700
summary: samples/amf: enable long DN support [#1642]



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Aug 22, 2016 08:46 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-22 Thread Long HB Nguyen
The remainng patches @22 Aug 2016.



Attachments:

- 
[patches_20160822_2.tgz](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/7854/attachment/patches_20160822_2.tgz)
 (116.8 kB; application/x-gzip-compressed)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Aug 22, 2016 06:53 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-21 Thread Gary Lee
amfd patches @ 22 Aug 2016


Attachments:

- 
[amfd_longdn_patches_current.tgz](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/06f2/attachment/amfd_longdn_patches_current.tgz)
 (151.8 kB; application/gzip)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Thu Aug 18, 2016 04:56 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-17 Thread Gary Lee
0 + 1) Thanks Praveen. I'll send out a patch to fix the two problems.


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Thu Aug 18, 2016 04:09 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-17 Thread Long HB Nguyen
Hi Praveen,

Please see my answers for 2, 3, 4.
2) OK. We should clean up the util.cc.
3) Because the memory allocation is now free'ed in the common libs (using C), 
we use calloc to avoid mismatching between 'new' (C++ style) anf 'free' (C 
style).
4) No, we should use the new file.

Thanks,
Long Nguyen.


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Wed Aug 17, 2016 12:57 PM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-17 Thread Praveen
Hi Gary,
One minor issue I am seeing when running long dn supported  amf demo. Sysylog 
says:
"The allocated memory is not large enough, the object will be truncated." This 
is while sending a state change notification. Since su and si names are long 
dn, length of additional text should be dynamically calcuated or increment to a 
long fixed value.currenlty ntf.h defines it as:
\#define ADDITION_TEXT_LENGTH 320 

Some minor comments and queries:
1) in avd_si_get(), trace leave should be above return statement.
2) In amfnd patches: Call to functions like amf_cbk_copy()  from amfnd/util.cc 
are replaced by there equivalents like  avsv_amf_cbk_copy() from 
osaf/libs/common/amf/n2avamsg.c.So these functions. I think. needs to be 
cleaned. is there any reason of keeping them
3) In amfnd patches, memory allocation with 'new' operator is replaced with 
calloc(). Any reason for doing this?
4) SInce new file amf_db_template.h is introduced, do we still need to keep old 
db_template.h at amfd.


Thanks,
Praveen


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Wed Aug 10, 2016 12:48 PM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-10 Thread Praveen
AMF demo which also confgiures csiattr.


Attachments:

- 
[amf_demo_csiattr.xml](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/e9fa/attachment/amf_demo_csiattr.xml)
 (9.7 kB; text/xml)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Wed Aug 10, 2016 12:40 PM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-10 Thread Praveen
Hi Gary,

-Creation of CSI deps, dynamically, fails with error:
 immcfg -a saAmfCSIDependencies+=safCsi=LOG,safSi=SC-2N,safApp=OpenSAF 
safCsi=CLM,safSi=SC-2N,safApp=OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
OI reports: IMM: Validation abort: Completed validation fails 
(ERR_BAD_OPERATION)
OI reports: 'safCsi=CLM,safSi=SC-2N,safApp=OpenSAF' is not in the same SI as 
'safCsi=LOG,safSi=SC-2N,safApp=OpenSAF'
Minor correction is required. It should be allowed as both the CSIs are of same 
SI.

-Other case is related to deldeion of csi attriburte value dynamically.
  1)immcfg -f amf_demo_csiattr.xml (In attachement).
  2) immcfg -a saAmfCSIAttriValue+= 
safCsiAttr=AmfDemo1,safCsi=AmfDemo,safSi=AmfDemo,safApp=AmfDemo1
  3) immcfg -a saAmfCSIAttriValue-= 
safCsiAttr=AmfDemo1,safCsi=AmfDemo,safSi=AmfDemo,safApp=AmfDemo1
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
OI reports: IMM: Validation abort: Completed validation fails (Error code: 21)
OI reports: csi attr name 'AmfDemo1' and value '' doesn't exist
Deletion of added value should be allowed. It allows deletion of valued that 
were present when whole conf was added. Only dynamically added value is not 
being allowed for deletion which is a supported case.


For the csi deps isuse below patch works:
diff --git a/osaf/services/saf/amf/amfd/csi.cc 
b/osaf/services/saf/amf/amfd/csi.cc
--- a/osaf/services/saf/amf/amfd/csi.cc
+++ b/osaf/services/saf/amf/amfd/csi.cc
@@ -593,6 +593,7 @@ static SaAisErrorT csi_ccb_completed_mod
int i = 0;
AVD_CSI *csi = csi_db->find(Amf::to_string(&opdata->objectName));
const std::string object_name(Amf::to_string(&opdata->objectName));
\+   std::string si_name;

assert(csi);
TRACE_ENTER2("CCB ID %llu, '%s'", opdata->ccbId, object_name.c_str());
@@ -629,7 +630,8 @@ static SaAisErrorT csi_ccb_completed_mod
}

// Required CSI must be contained in the same SI
\-   if (object_name.find(required_dn) == 
std::string::npos) {
\+   avsv_sanamet_init(required_dn, si_name, "safSi");
\+   if (object_name.find(si_name) == std::string::npos) {
report_ccb_validation_error(opdata,
"'%s' is not in the same SI as 
'%s'",
object_name.c_str(), 
required_dn.c_str());





---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 09, 2016 12:13 PM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-09 Thread Praveen
Hi Gary,
Patch looks fine. I will rerun some failed test cases.

Thanks,
Praveen


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 09, 2016 04:34 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-08 Thread Gary Lee
Hi Praveen

I've sent a patch that seems to fix the issue raised with string::compare. 
Please check it.

Thanks


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Aug 08, 2016 08:05 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-08 Thread Gary Lee
Thanks - I will check and see if I can change the code to produce the same 
order.


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Aug 08, 2016 07:37 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-08 Thread Praveen
Hi Gary,

Replacement of m_CMP_HORDER_SANAMET() with std::compare() in AMFD alters the 
way SI populates list_of_csi. Because of this old AMFD and new AMFD creates 
different COMPCSI.
Both AMFD creates assignment without violating any AMF criteria. But it can 
lead to problem from upgrade perspective. 

I have attached traces and configuration from both new and old AMFD.
Steps to reproduce:
1)immcfg -f compare.xml.
2)Then immcfg -f csi_add.xml to add a new CSI in the same SI. At this point of 
time, SI in both AMFDs will have list_of_csi with different order. 
3)When application was brought up both AMFDs prepared compcsis differenlty 
because of different ordering:
old_amfd:
Aug  8 12:26:52.156079 osafamfd [10702:csi.cc:1124] >> avd_compcsi_create: 
Comp'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' and 
Csi'safCsi=Norm1,safSi=AmfDemo,safApp=AmfDemo1'
Aug  8 12:26:52.156114 osafamfd [10702:csi.cc:1124] >> avd_compcsi_create: 
Comp'safComp=AmfDemo1,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' and 
Csi'safCsi=Norm3,safSi=AmfDemo,safApp=AmfDemo1'
Aug  8 12:26:52.156137 osafamfd [10702:csi.cc:1124] >> avd_compcsi_create: 
Comp'safComp=AmfDemo2,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' and 
Csi'safCsi=Norm11,safSi=AmfDemo,safApp=AmfDemo1'

new amfd:
fDemo,safApp=AmfDemo1' and Csi'safCsi=Norm1,safSi=AmfDemo,safApp=AmfDemo1'
Aug  8 12:26:51.974686 osafamfd [18560:csi.cc:1154] >> avd_compcsi_create: 
Comp'safComp=AmfDemo1,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' and 
Csi'safCsi=Norm11,safSi=AmfDemo,safApp=AmfDemo1'
Aug  8 12:26:51.974736 osafamfd [18560:csi.cc:1154] >> avd_compcsi_create: 
Comp'safComp=AmfDemo2,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' and 
Csi'safCsi=Norm3,safSi=AmfDemo,safApp=AmfDemo1'

In the Attachment find more information with extra traces.
This need to be checked at other places also wherever there is any such 
replacement in AMFD, AMFND and AMFA.

Thanks,
Praveen




Attachments:

- 
[compcsi.tgz](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/88c4/attachment/compcsi.tgz)
 (169.7 kB; application/x-compressed)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Fri Aug 05, 2016 06:30 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-04 Thread Praveen
Hi Long,

I think amfnd_crash2 is also because of #1935.
>From traces, here also after node-switchover recovery SUs were deleted and 
>again added:
1)comp fault with node-swtichvoer recovery let to node geting disabled:
Jul 30 19:08:57.524107 osafamfnd [5465:di.cc:0929] << avnd_di_object_upd_send: 1
Jul 30 19:08:57.524124 osafamfnd [5465:err.cc:0403] NO 
'safComp=Comp3,safSu=SU1,safSg=SG1,safApp=App1' faulted due to 'errorReport' : 
Recovery is 'nodeSwitchover'
Jul 30 19:08:57.524128 osafamfnd [5465:err.cc:0513] >> a
2)After clean up in SU1, AMFND infroms AMFD for nodeswitchover recovery:
Jul 30 19:08:57.616687 osafamfnd [5465:susm.cc:1465] NO Terminated all 
components in 'safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:08:57.616702 osafamfnd [5465:susm.cc:1467] NO Informing director of 
Nodeswitchover
Jul 30 19:08:57.616708 osafamfnd [5465:di.cc:0724] >> avnd_di_oper_send: SU 
'0x68ea50', recv '4'
Jul 30 19:08:57.616717 osafamfnd [5465:di.cc:0737] TR SU 
'safSu=SU1,safSg=SG1,safApp=App1, su oper '2'
3) SU2 after removal of assignments was terminated by Lock-in operation:
 Jul 30 19:09:27.675391 osafamfnd [5465:susm.cc:1322] TR SU term state is set 
to true
Jul 30 19:09:27.675396 osafamfnd [5465:susm.cc:1327] TR Marking SU as 
terminated by admin operation
4)After that SUs are deleted:Sg=SG1,safApp=App1'
Jul 30 19:09:31.80 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp1,safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:09:31.889481 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp2,safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:09:31.890247 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp3,safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:09:31.890671 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp4,safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:09:31.891391 osafamfnd [5465:sudb.cc:0230] IN Deleted 
'safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:09:31.922104 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp1,safSu=SU2,safSg=SG1,safApp=App1'
Jul 30 19:09:31.922951 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp2,safSu=SU2,safSg=SG1,safApp=App1'
Jul 30 19:09:31.924203 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp3,safSu=SU2,safSg=SG1,safApp=App1'
Jul 30 19:09:31.924691 osafamfnd [5465:compdb.cc:0570] IN Deleted 
'safComp=Comp4,safSu=SU2,safSg=SG1,safApp=App1'
Jul 30 19:09:31.925298 osafamfnd [5465:sudb.cc:0230] IN Deleted 
'safSu=SU2,safSg=SG1,safApp=App1'
5)After deletion SUs were again added:
6)Jul 30 19:16:25.542247 osafamfnd [5465:su.cc:0126] >> avnd_evt_avd_reg_su_evh
Jul 30 19:16:25.542252 osafamfnd [5465:sudb.cc:0082] >> avnd_sudb_rec_add: 
SU'safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:16:25.542258 osafamfnd [5465:compdb.cc:1837] >> 
avnd_comp_config_get_su: SU'safSu=SU1,safSg=SG1,safApp=App1'
Jul 30 19:16:25.567762 osafamfnd [5465:su.cc:0126] >> avnd_evt_avd_reg_su_evh
Jul 30 19:16:25.567767 osafamfnd [5465:sudb.cc:0082] >> avnd_sudb_rec_add: 
SU'safSu=SU2,safSg=SG1,safApp=App1'
Jul 30 19:16:25.567773 osafamfnd [5465:compdb.cc:1837] >> 
avnd_comp_config_get_su: SU'safSu=SU2,safSg=SG1,safApp=App1'
6)After this Sus went throrugh instantiation phase and as per lsat log in AMFND 
crashed at:
Jul 30 19:16:34.447354 osafamfnd [5465:di.cc:0929] << avnd_di_object_upd_send: 1
Jul 30 19:16:34.447360 osafamfnd [5465:susm.cc:1944] << 
avnd_su_pres_uninst_suinst_hdler: 1
Jul 30 19:16:34.447366 osafamfnd [5465:susm.cc:1457] T1 Exited SU presence 
state FSM: New State = 2
Which means perform_pending_nodeswitchover() was called inside 
avnd_su_pres_fsm_run(). Inside 
perform_pending_nodeswitchover(), AMFND crashes illegal memory as 
avnd_cb->failed_su points to an illegal memory 
  AVND_SU *su = avnd_cb->failed_su;
for (comp = 
m_AVND_COMP_FROM_SU_DLL_NODE_GET(m_NCS_DBLIST_FIND_FIRST(&su->comp_list));
comp;

Thanks,
Praveen





---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Fri Aug 05, 2016 03:48 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opens

[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-04 Thread Long HB Nguyen
Hi Praveen,

I have updated the ticket description.

Best regards,
Long Nguyen.


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Fri Aug 05, 2016 03:46 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-04 Thread Long HB Nguyen
- Description has changed:

Diff:



--- old
+++ new
@@ -1 +1,4 @@
 Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
+Moreover, this ticket also contains some enhancements:
+1) Refactor internal SaNameT to std::string in amfd, amfnd.
+2) Refactor PATRICIA trees to std::map in amfnd.






---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Thu Aug 04, 2016 01:17 PM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.
Moreover, this ticket also contains some enhancements:
1) Refactor internal SaNameT to std::string in amfd, amfnd.
2) Refactor PATRICIA trees to std::map in amfnd.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-04 Thread Praveen
Hi Long, Gary.
In the published patches along with long dn, there chages related to patricia 
conversion to map in amfnd and internal names to std::string in AMFD. Please 
update the description of this ticket for these changes.

Thanks,
Praveen


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Thu Aug 04, 2016 01:14 PM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-04 Thread Praveen
Hi Long,
For amfnd_crash1, I have raised #1935. It is an older issue and #1935 contains 
details of steps etc.
I will get back to you for other amfnd crash.

Thanks,
Praveen


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Thu Aug 04, 2016 09:09 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-04 Thread Long HB Nguyen
Hi Praveen,
Can you please also give us the steps to reproduce the amfnd coredumps? 
I would like to check if it relates to #1642 or not since you did not apply the 
amfnd longDN patches in your test.

Thanks,
Long Nguyen.


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Thu Aug 04, 2016 06:41 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-03 Thread Praveen
Hi Gary,
Attached is the configuration for reproducing amfd_crash1 on top of long dn 
patches. 
Step to reproduce:on standby controller kill component of SU2.
Below patch fixes this crash:
diff --git a/osaf/services/saf/amf/amfd/sgproc.cc 
b/osaf/services/saf/amf/amfd/sgproc.cc
--- a/osaf/services/saf/amf/amfd/sgproc.cc
+++ b/osaf/services/saf/amf/amfd/sgproc.cc
@@ -1129,8 +1129,6 @@ void avd_su_si_assign_evh(AVD_CL_CB *cb,
 * message id has already been accepted 
above.
 */

-   avsv_dnd_msg_free(n2d_msg);
-   evt->info.avnd_msg = nullptr;
goto done;
} else if ((susi->state == SA_AMF_HA_QUIESCING)
   && (susi->fsm != 
AVD_SU_SI_STATE_UNASGN)) {

Publisehd patch "amfd: do not call memset on classes with string members" fixes 
second crash.

Thanks,
Praveen


Attachments:

- 
[longdn.xml](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/7638/attachment/longdn.xml)
 (11.1 kB; text/xml)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Wed Aug 03, 2016 03:50 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-02 Thread Gary Lee
amfd_crash2.tgz should be fixed with "amfd: do not call memset on classes with 
string members" patch.


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Wed Aug 03, 2016 03:49 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-02 Thread Gary Lee
Praveen,

Can you reproduce amfd_crash1.tgz? Is it possible to run with valgrind to help 
me isolate which part of avsv_dnd_msg_free() is failing?



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 02, 2016 11:05 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-02 Thread Praveen
amfd_crash1.tgz


Attachments:

- 
[amfd_crash1.tgz](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/caa8/attachment/amfd_crash1.tgz)
 (1.2 MB; application/x-compressed)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 02, 2016 11:03 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-02 Thread Praveen
amfd_crash2.tgz and amfd_crash2.tgz.


Attachments:

- 
[amfd_crash2.tgz](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/06e7/attachment/amfd_crash2.tgz)
 (333.5 kB; application/x-compressed)
- 
[amfnd_crashes.tgz](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/06e7/attachment/amfnd_crashes.tgz)
 (290.6 kB; application/x-compressed)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Aug 02, 2016 11:01 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-08-02 Thread Praveen
Attached are the crashes observed. Crashes in AMFND may not be reated to #1642.


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Jul 25, 2016 11:13 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-07-25 Thread Long HB Nguyen
AMFND part.


Attachments:

- 
[1642_amfnd.tgz](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/90f84e2d/11a4/attachment/1642_amfnd.tgz)
 (76.6 kB; application/x-gzip-compressed)


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Jul 25, 2016 06:25 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-07-24 Thread Gary Lee
AMFD patches


---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Jul 11, 2016 10:25 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-07-11 Thread Long HB Nguyen
- **status**: assigned --> review



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Mon Jul 11, 2016 07:50 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-07-11 Thread Gary Lee
- **status**: unassigned --> assigned
- **assigned_to**: Long HB Nguyen



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** assigned
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Wed Jun 29, 2016 06:06 AM UTC
**Owner:** Long HB Nguyen


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-06-28 Thread Gary Lee
- **Milestone**: future --> 5.1.FC



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** unassigned
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Dec 15, 2015 09:52 AM UTC
**Owner:** nobody


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2015-12-15 Thread Long HB Nguyen



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** unassigned
**Milestone:** future
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Dec 15, 2015 09:52 AM UTC
**Owner:** nobody


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets