The hdb.ht commands manage host types.
Table 7–30 Summary of hdb.ht Commands|
Command |
Description |
|---|---|
|
hdb.ht.add |
Adds a new host type. |
|
hdb.ht.del |
Deletes a host type. |
|
hdb.ht.la |
Lists all host types. |
|
hdb.ht.lo |
Retrieves information about a host type. |
|
hdb.ht.mod |
Modifies an existing host type. |
This command adds a new host type. It assigns the host type a name and defines the host type's attributes.
Table 7–31 Arguments and Result for the hdb.ht.add Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
name |
Required |
String |
The host type name |
|
desc |
Optional |
String |
The host type description |
|
attr |
Required |
HostTypeVarList |
The host type attributes |
|
hide |
Optional |
Boolean |
Whether the host type is hidden, default false |
|
result |
HostType |
The new host type |
|
This command deletes a host type.
Table 7–32 Arguments and Result for the hdb.ht.del Command|
Argument |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
Required |
HostTypeID |
The host type ID |
This commands lists all the host types defined, including the default host type, crhost.
Table 7–33 Argument and Result for the hdb.ht.la Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
sh |
Optional |
Boolean |
Whether hidden host types are shown, default false |
|
result |
HostTypeArray |
The host types |
|
This command retrieves a host type.
Table 7–34 Argument and Result for the hdb.ht.lo Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
Required |
HostTypeID |
The host type ID |
|
result |
HostType |
The host type |
|
This command modifies an existing host type. Omitted arguments are overwritten.
Table 7–35 Arguments and Result for the hdb.ht.mod Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
Required |
HostTypeID |
The host type ID |
|
name |
Optional |
String |
The host type name |
|
desc |
Optional |
String |
The host type description |
|
attr |
Optional |
HostTypeVarList |
The host type attributes |
|
hide |
Optional |
Boolean |
Whether the host type is hidden |
|
result |
HostType |
The modified host type |
|