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

hdb.hr.add

This command adds a new host search. It enters the host search's name and search criteria in the repository.

Table 7–17 Arguments and Result for the hdb.hr.add Command

Argument/Result 

Syntax 

Description 

name 

[R] 

String  

The host search name  

desc 

[O] 

String  

The host search description  

[R/O] 

AttributeCriteriaList  

The dynamic query; must be specified if filt and phys are not 

filt 

[R/O] 

AppTypeCriteria 

A filter to restrict the search to certain types of hosts; must be specified if q and phys are not 

phys 

[R/O] 

PhysicalCriteria 

A filter to restrict to physical or virtual hosts; must be specified if q and filt are not 

hide 

[O] 

Boolean 

Whether the search is hidden, default false  

result 

HostSearch  

The new host search