HP OneView REST API Reference

appliance/network-interfaces
appliance-network-interfaces.html[10/17/2013 10:35:48 AM]
Updated: October 16, 2013 4:10
MDT
API Specifications Create Read Update Delete
/rest/appliance/network-interfaces POST GET
/rest/appliance/network-interfaces/mac-addresses GET
/rest/appliance/network-interfaces/{macAddress} GET
Resource Model
NetworkWithTimeLocale
Network
Mac-Address
HP OneView REST API Reference
appliance/network-interfaces
The network-interfaces resource manager provides REST APIs to configure and retrieve network, time and locale settings of
the appliance.These APIs support operations on multiple NICs configured on the appliance.
URI: /rest/appliance/network-interfaces
Method API
POST Configures network-interfaces along with time and locale of the appliance.
Parameter Attributes Description
Request Header Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request Body Attributes Description
NetworkWithTimeLocale Required Combined network and DNS configuration
data with time and locale
of appliance.
Response Description
void
Response Codes
REST API Response Codes
Examples
POST https://{appl}/rest/appliance/network-interfaces
for example :
This example configures network along with time and locale data of the
appliance.
This example has 'ipv4type' set to 'DHCP', so IP-address is not
required to be specified for
'app1Ipv4Addr'/'ipv4Gateway'/'ipv6Subnet' fields.
If 'ipv4Type' is static, then provide IP addresses for the respective
fields.
POST https://{appl}/rest/appliance/network-interfaces
{
"applianceNetworks":
[