appliance techpreview networking routes: add

Set static routing rules. A destination of and prefix 0 (for IPv4) or destination of :: and prefix 0 (for IPv6) refers to the default gateway.


HTTP request

POST https://{server}/rest/appliance/techpreview/networking/routes

Request Body Structure:

<?xml version="1.0" ?>
<ns0:Add-Input xmlns:ns0="" xmlns:xsi="">

Request Body Parameters:

Name Type Description
bold = required
route route Static routing rule.
route.destination string Destination address that defines this route.

route.prefix long Destination CIDR prefix that defines this route. See for netmask-to-prefix conversion.

route.gateway string Gateway address.

route.interface_name string Output device interface, for example, "nic0".


HTTP Status Code: 200



HTTP Status Code Type Description
500 error Generic error