Sun N1 Service Provisioning System 5.2 Command-Line Interface Reference Manual

cdb.rsrc.ci

Use the cdb.rsrc.ci command to check in certain components and their source objects. You will need to use this command in the following scenarios.

Each invocation of the cdb.rsrc.ci command is considered a “check-in job,” and can be managed with the CLI commands for managing check-in jobs. For example, to determine which cdb.rsrc.ci commands are running, you can run the cdb.cj.la command, which lists all the current check-in jobs. You can also pass compCheckInID value returned by cdb.rsrc.ci as an argument to cdb.cj.lo to get status information about a specific check-in job.

Table 3–39 Arguments and Result for the cdb.rsrc.ci Command

Argument/Result 

Syntax 

Description 

src 

Required 

String 

The local file/directory being checked in 

dst 

Required 

String 

Which component name to check in as 

type 

Required 

String 

The type of the component 

platform 

Optional 

HostSetID 

The platform of the component 

desc 

Optional 

String 

A description of the component 

major 

Optional 

Boolean 

Whether the version increment should be major or minor, default false 

config 

Optional 

Boolean 

Whether the component is a config file; the default is false 

hidePrev 

Optional 

Boolean 

Whether to hide the latest component; the default is true 

includeOwners 

Optional 

Boolean 

Whether to include owner information; the default is true 

includeGroups 

Optional 

Boolean 

Whether to include group information; the default is true 

addTo 

Optional 

Boolean 

Whether the files being checked in should be added to the existing files to create a new version of the component, instead of completely replacing the existing files to create a new component 

hostID 

Optional 

HostID 

The ID of the local host 

redun 

Optional 

Boolean 

Whether redundancy checking should apply; the default is true 

pickerName 

Optional 

String 

The name of the component picker to use (defaults to null for the default picker). 

extraOpts 

Optional 

Hashtable 

Names and values for any additional options for the type. config, includeOwners, includeGroups, addTo, and redun cannot be specified using the extraOpts argument. Instead, use the command-line equivalent options described in this table to specify these values.

One example of an extraOpts parameter is descriptorPath. This parameter enables you to specify the path to the resource descriptor file that you plan to reference when checking in files. For more information, see Chapter 5, Resource Descriptor Schema, in Sun N1 Service Provisioning System 5.2 XML Schema Reference Guide.

result 

CompCheckInID 

The ID for this component check in job.