JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle® ZFS Storage Appliance RESTful Application Programming Interface
Oracle Technology Network
Library
PDF
Print View
Feedback
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

Network Routes

Manages network routes.

Table 7-11  Manage Network Routes
Request
Path /api/network/v1
Description
POST
/routes
Create a new network route
GET
/routes/<route>
Get the specified network route properties
GET
/routes
List all network route objects
DELETE
/routes/<route>
Destroy the specified route object
GET
/routing
Get net routing properties
PUT
/routing
Modify net routing properties
Table 7-12  Network Route Properties
Name
Description
type
Type of route such as “system” or “static” (immutable)
family
Address family (either IPv4 or IPv6)
destination
Route destination address
gateway
Gateway address
interface
Network datalink interface

The href path to each route uses the the route IDs set in the CLI, but these values can change as routes are modified. The API supports selecting single routes using unique properties within the route. The syntax is routes/<name>=<value> compared to routes/route-###