JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle® ZFS Storage Appliance RESTful Application Programming Interface
Oracle Technology Network
Print View
search filter icon
search icon

Document Information

Using This Documentation

Chapter 1 Overview

Chapter 2 Working with the API

Chapter 3 Alert Service Commands

Chapter 4 Analytics Services

Chapter 5 Hardware Services

Chapter 6 Log Commands

Chapter 7 Network Commands

Networking Configuration

Network Datalinks

List Network Datalinks

Get Network Datalink

Create Network Datalink

Modify Network Datalink

Delete Network Datalink

Network Devices

List Network Devices

Get Network Device

Network Interfaces

List Network Interfaces

Get Network Interface

Create Network Interface

Modify Network Interface

Delete Network Interface

Network Routes

List Routes

Get Route

Add Route

Delete Route

Chapter 8 Problem Service Commands

Chapter 9 Role Service

Chapter 10 SAN Services

Chapter 11 Service Commands

Chapter 12 Storage Services

Chapter 13 System Commands

Chapter 14 User Service

Chapter 15 Workflow Commands

Chapter 16 RESTful Clients

Create Network Datalink

The POST command creates a new datalink. One additional property that is needed when creating a new datalink is the class property, which defines the class of datalink to create. The Datalinks class is defined during datalink creation and can be one of the following class types.

The properties map to the same CLI properties available in the “configuration net datalinks” menu.

Example Request:

POST /api/network/v1/datalinks HTTP/1.1
X-Auth-User: root
X-Auth-Key: letmein
Content-Type: application/json
Content-Length: 78

    "class": "device",
     "jumbo": true,
     "links": ["ixgbe2"],
     "label": "TestDataLink"

Example Response:

HTTP/1.1 201 Created
X-Zfssa-Appliance-Api: 1.0
Location: /api/network/v1/datalinks/ixgbe2