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

cdb.vs: Managing Variable Settings

The cdb.vs commands manage variable settings for components.

Table 3–19 CLI Commands for Managing Variable Settings

Command 

Description 

cdb.vs.add 

Adds a new variable settings object. 

cdb.vs.del 

Deletes a variable settings object. 

cdb.vs.imp 

Imports a variable settings object from one component into another. 

cdb.vs.la 

Lists all the variable settings objects associated with a specific component. 

cdb.vs.lo 

Lists the details of a specific variable settings object. 

cdb.vs.mod 

Modifies a variable settings object. 

cdb.vs.add

This command adds a new variable settings object

Table 3–20 Arguments and Result for the cdb.vs.add Command

Argument/Result 

Syntax 

Result 

comp 

Required 

ComponentID 

The component 

name 

Required 

String 

The new name 

vars 

Required 

Hashtable 

The new override values 

result 

ComponentVariable- Settings 

The new component variable settings 

cdb.vs.del

This command deletes an existing variable settings object.

Table 3–21 Argument for the cdb.vs.del Command

Argument 

Syntax 

Description 

vs

Required 

ComponentVariable- SettingsID 

The ID of the component variable settings to delete 

cdb.vs.imp

This command imports variable settings from one component into another.

Table 3–22 Arguments for the cdb.vs.imp Command

Argument 

Syntax 

Description 

src 

Required 

ComponentID 

The component to import variable settings from. 

dst 

Required 

ComponentID 

The component to import variable settings to 

cdb.vs.la

This command lists all variable settings objects associated with a particular component.

Table 3–23 Argument and Result for the cdb.vs.la Command

Argument/Result 

Syntax 

Description 

comp 

Required 

ComponentID 

The component. 

result 

ComponentVariable- SettingsArray 

The component variable settings. 

cdb.vs.lo

This command lists details of a particular variable settings object.

Table 3–24 Argument and Result for the cdb.vs.lo Command

Argument/Result 

Syntax 

Description 

vs 

Required 

ComponentVariable- Settings 

The component variable settings to view 

result 

ComponentVariable- Settings 

The component variable settings 

cdb.vs.mod

This command modifies an existing variable settings object

Table 3–25 Arguments and Result for the cdb.vs.mod Command

Argument/Result 

Syntax 

Description 

vs 

Required 

ComponentVariable- Settings 

The component variable settings 

name 

Optional 

String 

The new name 

vars 

Optional 

Hashtable 

The new override values 

result 

ComponentVariable- Settings 

The modified component variable settings