Overview | Service | Command |
Get Network Interface information for a server
Get server's network interfaces. Returns IP addresses and net masks
This call will use zmrcd to call /opt/zimbra/libexec/zmserverips
Authorization token required | true |
Admin Authorization token required | true |
<GetServerNIfsRequest [type="..."]> ## GetServerNIfsRequest
<server [by="{server-by} (id|name|serviceHostname)"]>{key}</server> ## ServerSelector
</GetServerNIfsRequest>
The following table describes elements and attributes you can define within a
<GetServerNIfsRequest>
element:
XPath | Required / Optional | Description | ||||||
@type | Optional (0 or 1) | Type:String specifics the ipAddress type (ipV4/ipV6/both). default is ipv4 |
||||||
/server | Required (only 1) | Type:{key} Server Description for element text content:Key for choosing server
|
||||||
/server@by | Optional (0 or 1) | Type:id|name|serviceHostname Selects the meaning of {server-key} |
<GetServerNIfsResponse> ## GetServerNIfsResponse
(<ni> ## NetworkInformation
(<a n="{key}" /> ## Attr)*
</ni>)*
</GetServerNIfsResponse>
The following table describes elements and attributes you can define within a
<GetServerNIfsResponse>
element:
XPath | Required / Optional | Description |
/ni | Optional (0 or more) | Network interface information |
/ni/a | Optional (0 or more) | Attributes |
/ni/a@n | Required (only 1) | Type:String Key |