Resource /webmapi/netExpand | Collapse

APIs for network interfaces

Show the Fibre Channel target (FCP) interfaces
Description

Show the Fibre Channel target (FCP) interfaces

HTTP Example

GET /webmapi/net/interfaces/fc

Output

Reports successful result in ResponseContentType<ContainerType<LifInfoType>>

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LIF_SHOW_LIF_NOT_FOUND11003Interface not found.
Produces

application/json

Since

1.0

Get a specified LIF instance
Description

Get a specified LIF instance

HTTP Example

GET /webmapi/net/interfaces/fc/{id}

Path Parameters:
idThe ID or name of the instance (required=true).
Output

Reports successful result in ResponseContentType<LifInfoType>

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LIF_SHOW_LIF_NOT_FOUND11003Interface not found.
Produces

application/json

Since

1.0

Offline an online SAN interface
Description

Offline an online SAN interface

HTTP Example

PUT /webmapi/net/interfaces/fc/{id}/action/offline

Path Parameters:
idThe ID or name of the instance (required=true).
Output

Reports successful result in ResponseContentType

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LIF_OFFLINE_LIF_NOT_FOUND11001Interface not found.
LIF_OFFLINE_LIF_NOT_ONLINE11002Offline failed because the interface is not currently online.
LIF_OFFLINE_DISCARDED11013Internal error occurred and the operation was discarded. This is usually a transient error.
LIF_OFFLINE_SERVICE_STOPPED11014Interface state cannot be changed while the FCP service is stopped.
Produces

application/json

Consumes

application/json

Since

1.0

Online an offline SAN interface
Description

Online an offline SAN interface

HTTP Example

PUT /webmapi/net/interfaces/fc/{id}/action/online

Path Parameters:
idThe ID or name of the instance (required=true).
Output

Reports successful result in ResponseContentType

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LIF_ONLINE_LIF_NOT_FOUND11004Interface not found.
LIF_ONLINE_LIF_NOT_OFFLINE11005Online failed because the interface is not currently offline.
LIF_ONLINE_DISCARDED11015Internal error occurred and the operation was discarded. This is usually a transient error.
LIF_ONLINE_SERVICE_STOPPED11016Interface state can't be changed while the FCP service is stopped.
Produces

application/json

Consumes

application/json

Since

1.0

Show the network DNS server
Description

Show the network DNS server

HTTP Example

GET /webmapi/net/services/dns

Output

Reports successful result in ResponseContentType<ClusterDnsServerOutputType>

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
NETWORK_DNS_SERVER_SHOW_INTERNAL_ERROR35008Internal error occurred.
NETWORK_DNS_SERVER_SHOW_REQUEST_IN_PROGRESS35009Another request is in progress.
NETWORK_DNS_SERVER_SHOW_DNS_UNINITIALIZED35010Network DNS server not initialized.
NETWORK_DNS_SERVER_SHOW_SHELL_FAILURE35011Network operation failed.
NETWORK_DNS_SERVER_SHOW_NETWORK_SHUTDOWN35012Network shutdown in progress.
Produces

application/json

Since

1.0.1

Set the network DNS server
Description

Set the network DNS server

To clear DNS settings, pass all empty fields to input except for protocol.

HTTP Example

PUT /webmapi/net/services/dns

Input

Pass input arguments in ClusterDnsServerModifyInputType

Output

Reports successful result in ResponseContentType

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
NETWORK_DNS_SERVER_MODIFY_INTERNAL_ERROR35013Internal error occurred.
NETWORK_DNS_SERVER_MODIFY_REQUEST_IN_PROGRESS35014Another request is in progress.
NETWORK_DNS_SERVER_MODIFY_SHELL_FAILURE35015Network operation failed.
NETWORK_DNS_SERVER_MODIFY_NETWORK_SHUTDOWN35016Network shutdown in progress.
NETWORK_DNS_SERVER_MODIFY_NETWORK_IPV6_NOT_SUPPORTED35017IPV6 not supported.
NETWORK_DNS_SERVER_MODIFY_NUM_NETWORK_DNS_SERVERS35018Incorrect number of DNS servers.
NETWORK_DNS_SERVER_MODIFY_DUPLICATE_DNS_SERVERS35019Duplicate DNS servers.
NETWORK_DNS_SERVER_MODIFY_INVALID_DNS_SERVER_IP35020INVALID DNS server IP.
Produces

application/json

Consumes

application/json

Since

1.0.1