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

cdb.ctr: Component Type Commands

Table 3–32 CLI Commands for Component Type Ref

Command 

Description 

cdb.ctr.add 

Adds a new component type ref 

cdb.ctr.mod 

Modifies an existing component type ref; omitted arguments are overwritten 

cdb.ctr.del 

Deletes a component type ref 

cdb.ctr.lo 

Retrieves a component type ref 

cdb.ctr.la 

Lists all component type refs 

cdb.ctr.add

This command adds a new component type ref..

Table 3–33 Argument and Result for the cdb.ctr.add Command

Argument/Result 

Syntax 

Description 

name 

Required 

String 

The component type ref name 

desc 

Optional 

String 

The component type ref description 

order 

Required 

String 

The component type ref order 

group 

Required 

String 

The component type ref group 

indentLevel 

Required 

String 

The component type indent level 

compref 

Required 

String 

The name of the component ref within the component type ref 

compver 

Required 

String 

The version of the component ref within the component type ref 

result 

ComponentTypeRef 

The new component type ref 

cdb.ctr.mod

Modifies an existing component type ref; omitted arguments are overwritten.

Table 3–34 Argument and Result for the cdb.ctr.mod Command

Argument/Result 

Syntax 

Description 

ctr 

Required 

ComponentTypeRef 

The target component type ref 

name 

Optional 

String 

The component type ref name 

desc 

Optional 

String 

The component type ref description 

order 

Optional 

String 

The component type ref order 

group 

Optional 

String 

The component type ref group 

indentLevel 

Optional 

String 

The component type indent level 

compver 

Optional 

String 

The version of the component ref within the component type ref 

result 

ComponentTypeRef 

The modified component type ref 

cdb.ctr.del

This command deletes a component type ref.

Table 3–35 Argument and Result for the cdb.ctr.del Command

Argument/Result 

Syntax 

Description 

ID 

Required 

ComponentTypeRefID 

The component type ref ID 

cdb.ctr.lo

This command retrieves a component type ref.

Table 3–36 Argument and Result for the cdb.ctr.lo Command

Argument/Result 

Syntax 

Description 

ID 

Required 

ComponentTypeRef 

The target component type ref 

result 

ComponentTypeRef 

The component type ref 

cdb.ctr.la

This command lists all component type refs.

Table 3–37 Argument and Result for the cdb.ctr.la Command

Argument/Result 

Syntax 

Description 

result 

ComponentTypeRef- Array 

The component type refs