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

cdb.vs: Managing Variable Settings

The cdb.vs commands manage variable settings for components.

Table 3–17 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–18 Arguments and Result for the cdb.vs.add Command

Argument/Result 

Syntax 

Result 

comp 

[R] 

ComponentID 

The component 

name 

[R] 

String 

The new name 

vars 

[R] 

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–19 Argument for the cdb.vs.del Command

Argument 

Syntax 

Description 

vs

[R] 

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–20 Arguments for the cdb.vs.imp Command

Argument 

Syntax 

Description 

src 

[R] 

ComponentID 

The component to import variable settings from. 

dst 

[R] 

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–21 Argument and Result for the cdb.vs.la Command

Argument/Result 

Syntax 

Description 

comp 

[R] 

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–22 Argument and Result for the cdb.vs.lo Command

Argument/Result 

Syntax 

Description 

vs 

[R] 

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–23 Arguments and Result for the cdb.vs.mod Command

Argument/Result 

Syntax 

Description 

vs 

[R] 

ComponentVariable- Settings 

The component variable settings 

name 

[O] 

String 

The new name 

vars 

[O] 

Hashtable 

The new override values 

result 

ComponentVariable- Settings 

The modified component variable settings