What's New in the Sun N1 Service Provisioning System 5.2 Update 2 Release

Viewing and Listing Bundle Templates

This section explains how to view a bundle template and how to list all bundle templates on the master server.

Listing All Bundle Templates

To list all bundle templates, use the bdb.b.la command.

The output of the bdb.b.la commands is as follows:

BundleID

The ID of the bundle template

Bundle Name

The name of the bundle template

Bundle Description

The description of the bundle template.

Last Updated

The date, time, and time zone information for when the bundle template was last updated.

For full usage of this command, see Appendix A, Appendix — New Commands.


Example 5–2 Output of the bdb.b.la Command

This example shows a sample output returned after issuing the bdb.b.la command, which lists all bundle templates on the master server.


|------------------|----------|------------|--------------------------------------|
|BundleID |Name |Description |LastUpdated |
|-----------------------------------------|----------|------------|----------------------------|
|129158239109-1160744183744-00241-1568077714|bplan4 |bundes1 |Fri Oct 13 18:26:24 IST 2006|
|129158239109-1160744183744-00241-1568077712|bplan3 |bundes3 |Fri Oct 13 12:26:24 IST 2006|
|-------------------------------------------|----------|------------|--------------------------|

The output shows that there are two bundle templates. The first string of numbers is the bundle ID. Looking at the first of the two bundles, its ID is 129158239109-1160744183744-00241-1568077714 and its bundle name is bplan4. Its bundle description is bundles1.


Viewing a Single Bundle Template

To display the details of a single bundle template, including the defined search criteria and the corresponding elements or objects, use the bdb.b.lo command with the -ID argument, where ID is the ID of the bundle template. You can substitute the ID as explained in Creating a Bundle Template.

The default output of the bdb.b.lo command is the same as that of the bdb.b.la command.

In addition, with the bdb.b.lo you can use the -o option to obtain a more detailed summary. The following information is displayed in tabular form:

BundleID

The ID of the bundle template

Bundle Name

The name of the bundle template

Bundle Description

The description of the bundle template.

Last Updated

The date, time, and time zone information for when the bundle template was last updated.

Criteria Pattern Details

The search criteria of the bundle template.

Entities Matched

The objectType, ID, name and version of entities that matched the search criteria of the bundle template.

For full usage of this command, see Appendix A, Appendix — New Commands.


Example 5–3 Output of the bdb.b.lo Command

This example shows a sample output returned after issuing the bdb.b.lo command to list the details of a specified single bundle template. In this example, the command is issued with the -o option, and the NM command has been used to replace the bundle ID with a shorter term.


bdb.b.lo -ID NM:b3 -o detail

The result is as follows.


BundleID : 129158239041-1162211396014-00217-0193112936
Name : b3
Description : bundes3
LastUpdated : Mon Oct 30 17:59:56 IST 2006
Criteria Pattern Details :
|----------|------|----------|------------|-------|----------|------------|-----------|
|CriteriaType|Select ALL|Name |Description |Version|Label |FolderPath|ExtendsTypeName|
|----------|------|----------|------------|-------|----------|------------|-----------|
|HostType |False |bundleHost2|descBundle2 | | | | |
|HostType |False |bundleHost1|descBundle1 | | | | |
|----------|------|----------|------------|-------|----------|------------|-----------|
Entities Matched :
|---------------|---------------|----------|-------|
|ObjectType |ObjectID |Name |Version|
|---------------|---------------|----------|-------|
|HostType |129158239041-1162211393799-00201-0215113755|bundleHost1-2-1162211393664| |
|HostType |129158239041-1162211393838-00205-0238623680|bundleHost2-3-1162211393830| |
|---------------|---------------|----------|-------|

The bdb.b.lo command can be used without the -o option, to get a summary of the details of a single bundle template.


bdb.b.lo -ID NM:b3

The result is as follows.


BundleID : 129158239041-1162211396014-00217-0193112936
Name : b3
Description : bundes3
LastUpdated : Mon Oct 30 17:59:56 PST 2006