Ticket [#191] will add generic support in OpenSAF for DNs longer than 255 bytes. Each individual OpenSAF service will also have to be adapted to support long DNs. LOG should have this feature since LOG is used by NTF and DN is part of a log record. Also applications may want to use long DNs in log records.
This ticket will also cover the long log stream name.
Tickets: #1286
Tickets: #1315
Tickets: #1482
Tickets: #1898
Tickets: #191
Wiki: NEWS-5.1.0
Below items are what I would like to break the ticket down to smaller ones.
The implementation order is from top to bottom. Means that, item (1) will be taken first.
And when done implementation for each item, it will be sent out for review but not pushed until (1)->(5) are done.
1) Add one new option
-f <FILENAME>to saflogger tool when using with option-a <app stream DN>2) Update LOG agent (API) to support Long DN & RDN
3) Replace all internal SaNameT with C++ string in LOGsv
4) Replace NCS PATRICIA TREE with
std::unordered_mapas the limited key size of the tree is only up to 600 bytes.5) Create test cases
6) Update documents (Readme & OpenSAF_LOG_PR.odt)
For item (4), could consider to create a separate ticket.
First draft readme file.
Few update.
Diff:
Related
Tickets:
#191changeset: 7837:dbe06451066d
tag: tip
user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
date: Mon Jul 04 10:05:02 2016 +0700
summary: log: Readme files for long DN support [#1315]
changeset: 7836:48509c29a992
user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
date: Sat Jun 18 14:09:15 2016 +0700
summary: log: create test cases and update logtest for long DN [#1315]
changeset: 7835:5420d31c8a86
user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
date: Thu Jun 23 13:24:41 2016 +0700
summary: log: update logsv to support long DN [#1315]
changeset: 7834:2ae8b99e3a32
user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
date: Fri Jun 10 18:47:15 2016 +0700
summary: log: update LOG agent to support Long DN & RDN [#1315]
changeset: 7833:976ea1f647a7
parent: 7831:a3946c6afedc
user: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
date: Thu Jun 09 14:14:32 2016 +0700
summary: log: add one new option -f to saflogger tool [#1315]
Related
Tickets:
#1315