xref: /illumos-gate/usr/src/man/man5/service_provider.conf.5 (revision 014ec826f15c2551c9f84a5fe6f816ffb5bee7da)
te
Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
SERVICE_PROVIDER.CONF 5 "Jun 18, 2004"
NAME
service_provider.conf - service provider configuration file
SYNOPSIS

service_provider.conf
DESCRIPTION

service_provider.conf contains information about the device type that the service provider supports. This information includes the pathname of the service provider library, the library version and other library characteristics that are required by the system administrative command, datadm(8). datadm(8) puts this information in the DAT static register file, dat.conf(5).

The datadm program enumerates each device entry into a list of interface adapters, that is, interfaces to external network that are available to uDAPL consumers. This new list of interface adapters is appended to other service providers' information in the DAT static registry, dat.conf. You can do this if you invoke the datadm program with the -a option and the pathname of the service_provider.conf file.

Each entry in the service_provider.conf is a single line of 7 fields.

The following shows the order of the fields in a service_provider.conf entry:

"driver_name" "API_version" "threadsafe_library | \e
 nonthreadsafe_library"\e
"default_version | nondefault_version" \e
 "service_provider_library_pathname"\e
"service_provider_version" "service_provider_instance_data"\e

The fields are defined as follows: driver_name

Specifies a driver name in the format of driver_name=value pair, for example, driver_name=tavor.

API_version

Specifies the API version of the service provider library: For example, "u"major.minor is u1.2.

threadsafe_library | nonthreadsafe_library

Specifies a threadsafe or non-threadsafe library.

default_version | nondefault_version

Specifies a default or non-default version of a library. A service provider can offer several versions of the library. If so, one version is designated as default with the rest as nondefault.

service_provider_library_pathname

Specifies the pathname of the library image.

service_provider_version

Specifies the version of the service provider. By convention, specify the company stock symbol as the service provider, followed by major and minor version numbers, for example, SUNW1.0.

service_provider_instance_data

Specifies the service provider instance data.

EXAMPLES

Example 1 Using a Logical Device Name

The following example service_provider.conf entry uses a logical device name:

#
# Sample service_provider.conf entry showing an uDAPL 1.2 service
# provider, udapl_tavor.so.1 supporting a device with a driver named
# tavor
driver_name=tavor u1.2 nonthreadsafe default udapl_tavor.so.1 \e
 SUNW.1.0 ""

Example 2 Using a Physical Device Name

The following example service_provider.conf uses a physical device name:

#
# Sample service_provider.conf entry showing an uDAPL 1.2
# service provider, udapl_tavor.so.1 supporting a device named
# pci15b3,5a44 that can be located under /devices
#
pci15b3,5a44 u1.2 nonthreadsafe default \e
 /usr/lib/tavor/udapl_tavor.so.1 SUNWudaplt1.0 ""
ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Stability Evolving
SEE ALSO

dat.conf (5), attributes (7), datadm (8)