Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Creates a new network interface.
Example Request:
POST /api/network/v1/interfaces HTTP/1.1 Host: zfssa.example.com:215 X-Auth-User: root X-Auth-Key: letmein Content-Type: application/json Content-Length: 78 { "class": "ip", "links": ["ixgbe3"], "v4addrs":"192.168.1.9/24" }
Example Response:
HTTP/1.1 201 Created X-Zfssa-Appliance-Api: 1.0 Location: /api/network/v1/interfaces/ixgbe3