Menu

#1637 IDR custom field types needs to be visible

3.1.0
closed-fixed
dr_mohan
5
2012-04-20
2011-06-21
dr_mohan
No

Right now there are custom fields in several plugins which are all reported as NULL in the clients output (hpitree, hpitop etc). Only the standard values of SaHpi.h are mapped to a string. We need a way to report the custom fields also. Could we add it to the utils/sahpi_enum_utils.c?

Discussion

  • Anton Pak

    Anton Pak - 2011-06-22

    Suggest the following way:
    o) Move this ticket to the "Feature Requests" tracker
    o) Define new field types in include/SaHpiOaSoap.h
    (or any relevant include files for the plug-ins)
    o) Use the same approach as for xTCA additional entity types:
    - see oh_lookup_entitytype in utils/sahpi_enum_utils.c and utils/sahpixtca_enum_utils.{c,h}
    - i.e. create sahpiXXX_enum_utils and extend oh_lookup_idrfieldtype function.

     
  • dr_mohan

    dr_mohan - 2011-06-22
    • labels: 636946 --> HP c-Class Plugin
    • assigned_to: avpak --> dr_mohan
    • status: open --> open-accepted
     
  • dr_mohan

    dr_mohan - 2011-06-22

    Anton,

    Thanks a lot for the suggestions. Instead of closing this bug I am making it a C-Class plugin bug and assigning it to myself.

    Mohan

     
  • Anton Pak

    Anton Pak - 2011-09-19
    • milestone: 1365031 --> 2040045
     
  • dr_mohan

    dr_mohan - 2012-04-19
     
  • dr_mohan

    dr_mohan - 2012-04-19

    Fixed in 7411

     
  • dr_mohan

    dr_mohan - 2012-04-19
    • milestone: 2040045 --> 2691517
    • status: open-accepted --> closed-fixed
     
  • Anton Pak

    Anton Pak - 2012-04-20
    • milestone: 2691517 --> 3.1.0