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

Examples Using the Command

A StepDescriptionContainer can be either a stepID or a Label. You should use a single StepDescriptionContainer for the -ID argument. The -IDs argument should be a comma-separated list of StepDescriptionContainers. The examples use the following information to create valid commands.

taskID

1001

stepID

2011 with a label value of label1

2012 with a label value of label2

hostID

3001 with a hostname of host1


Example 11–1 Using a Step ID


./cr_cli -cmd pe.p.en -ID ID:2011
./cr_cli -cmd pe.p.en -ID 2011 


Example 11–2 Using a Label


./cr_cli -cmd pe.p.en -ID L:label1:1001:NM:host1 
./cr_cli -cmd pe.p.en -ID L:label1:ID:1001:ID:3001 


Example 11–3 Using a StepDescriptionContainerArray

In this example one element is a step id and the other is a label.


./cr_cli -cmd pe.p.en -IDs L:label1:ID:1001:ID:3001,2012