Menu

#63 set default property values (as defined in mof) on instances

Function
closed-fixed
sfcb (1090)
3
2006-10-12
2005-04-19
No

This is a reminder to set the default property values,
as defined for the class, when creating a new instance.
Currently the default values are not visible.

example:
class Linux_Example : CIM_ManagedElement {
string CreationClassName;
string Name;
uint16 DefaultState = 2;
};

The provider fills only CreationClassName and Name with
values and relies on the CIMOM to set the default value
2 for DefaultState.

current returned instance:
instance of Linux_Example {
CreationClassName = "Linux_Example";
Name = "example_1";
}

the instance that should be returned:
instance of Linux_Example {
CreationClassName = "Linux_Example";
Name = "example_1";
DefaultState = 2;
}

Discussion

  • Viktor Mihajlovski

    • status: open --> closed
     
  • Viktor Mihajlovski

    • status: closed --> closed-fixed
     
  • Viktor Mihajlovski

    Logged In: YES
    user_id=1198711

    Reported to be working by Lisa.

     
  • Viktor Mihajlovski

    • assigned_to: a3schuur --> mihajlov
    • status: closed-fixed --> open-accepted
     
  • Viktor Mihajlovski

    Logged In: YES
    user_id=1198711

    Reopened, since not working properly.

     
  • Viktor Mihajlovski

     
  • Viktor Mihajlovski

    Logged In: YES
    user_id=1198711

    Added code to generate default instance properties from CIM
    schema. This can be disabled by configure
    --disable-default-properties.
    Fix committed to head and 1.1 branch.

     
  • Viktor Mihajlovski

    • status: open-accepted --> pending-fixed
     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.