Go to main content

Developing System Services in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Property Group Types and Property Types

A property group type is a category for the property group. Property group types include the following:

application
configfile
dependency
framework
implementation
method
template

You can introduce a new property group type. The name of a property group type follows the same rules as stated in Naming Property Groups and Properties. The name of a property group type is no longer than 140 characters.

When you create a property group, the type of the property group should be either application or a new type that you created. The property group types configfile, dependency, framework, implementation, method, and template have special use in SMF. Property groups of type application are expected to be of interest only to the service to which this property group is attached.

The following table describes the possible values for properties of various types. This information is also available from the scf_value_create(3SCF) man page.

Table 2  Service Property Type Value Descriptions
Property Type
Value Description
boolean
Single bit: true or false
count
Unsigned 64-bit quantity
integer
Signed 64-bit quantity
time
Signed 64-bit seconds or signed 32-bit nanoseconds (ns) in the following range:
0 <= ns < 1,000,000,000
astring
An 8-bit NULL-terminated string
ustring
An 8-bit UTF-8 string
uri
A URI string
fmri
A Fault Management Resource Identifier
host
A host name, an IPv4 address, or an IPv6 address
hostname
A fully qualified domain name
net_addr
A valid net_addr_v4 or net_addr_v6 address
net_addr_v4
A dotted-quad IPv4 address with optional network portion
net_addr_v6
A legal IPv6 address with optional network portion