| Skip Navigation Links | |
| Exit Print View | |
|
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Modifies an existing network interface.
Example Request:
PUT /api/network/v1/interfaces/ixgbe3 HTTP/1.1
{
"v4addrs": ["192.168.1.99/24"],
"interface": "Demo Rest"
}
Example Response:
HTTP/1.1 202 Accepted
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 219
{
"admin": true,
"class": "ip",
"curaddrs": ["192.168.1.9/24"],
"enable": true,
"href": "/api/network/v1/interfaces/ixgbe3",
"interface": "ixgbe3",
"label": "Demo Rest",
"links": ["ixgbe3"],
"state": "failed",
"v4addrs": ["192.168.1.99/24"]
"v4dhcp": false,
"v6addrs": [],
"v6dhcp": false
}