HP-UX CMGR A.02.01 Administrator's and Developer's Guide
14
Operation
Description
NOTE: You must provide a data buffer with meta-tag values in the format
[<variable>=<value>]. For example:
<data>compartment=”$compartment” template=”$SrpName”
service=”network” id=”$id”</data>
delete
Searches the /etc/rc.config.d/netconf and /etc/rc.config.d/netconf-
ipv6 files for the first IP Address entry matching the meta-tag as specified in the
concatenated child data elements. Deletes the IP address entry and its associated
information; including the default route created by the add operation. Deletes a primary
IPV6 interface if it has no remaining secondary interfaces, and the interface was
automatically created by the
add
operation.
replace
Performs the equivalent of a
delete
followed by an
add
operation.
list
Searches the /etc/rc.config.d/netconf and /etc/rc.config.d/netconf-
ipv6 files for IP address entries containing matching meta-tags. If a match is found,
cmgr displays the entire meta-tag string. If used with -verbose option, cmgr lists the
IP address configuration information.
export
Searches the /etc/rc.config.d/netconf and /etc/rc.config.d/netconf-
ipv6 files for IP address entries containing matching meta-tags. If a match is found,
cmgr exports the ipaddress configuration to the exchange.xml file located in the
exchange archive under the XPath
/cmgr/body/ipaddresses/ipaddress
.
Import
Searches the exchange.xml file located in the exchange archive under the
/cmgr/body/ipaddresses/ipaddress Xpath for matching meta tags. If a match is
found, cmgr adds the ipaddress configuration to the
/etc/rc.config.d/netconf
or
/etc/rc.config.d/netconf-ipv6
file.
Status
Displays the IP address of the compartment, the interface that it is associated with, and
the status of the interface.
The ipaddress element can have the following attributes:
Attribute Description
Compartment
Optional. Common attribute.
Compartment
Optional. Common attribute.
id
Optional. Common attribute.
if
Optional. Common attribute.
if_op
Optional. Common attribute.
ipaddress
The value of the ipaddress.
Required with the add, delete, and replace operations.
Ignored with the
list
and
help
operations.
interface
Network interface name.
Required with the
add
operation if
ipaddress
has not been previously allocated.
mask
Optional
IP mask address mask. If omitted for the add or replace operations, the system
generates a default mask. Ignored for the
delete
,
help
, and
list
operations.