Stephen Hahn wrote:
> * Pavan Reddy <pavan at sun.com> [2008-05-01 23:56]:
>   
>> Hi All,
>>      Schema is something like this:
>>  
>> instance {
>>      property_group :  pool_info  
>>      property_group:   policy_info
>>      property_group:   dataset_info
>> }
>>
>> I want to have a custom type for all the three property groups instead of 
>> using the 
>> default types(APPLICATION/FRAMEWORK/DEPENDENCY etc..).  Do I need to change 
>> anything 
>> else other than adding something like this in my local header file?
>>
>> #define SMF_GROUP_POOL     ((const char *)"pool")
>> #define SMF_GROUP_POLICY  ((const char *)"policy")
>> #define SMF_GROUP_DATASET ((const char *)"dataset")
>>     
>
>   Property group types not provided for by smf(5) must be prefixed.  The
>   DTD refers to these as "the service symbol conventions".  Roughly this
>   means that your property group must be "com.sun,pool", etc.
>
>   Of course, pool, policy, and dataset are pretty general terms.  You
>   probably need to be "com.sun,zfs.pool" or whatever technology you're
>   annotating.  (Maybe you could tell us?)
>
>   - Stephen
>
>   
Thanks Stephen. This SMF property groups are for pNFS.

-Pavan


Reply via email to