netreserve

See Parameter Types for parameter types.

list

View network allocations

get

Get network reservation info

Parameters

Name

Type

ip_id

INT

add_hop_network

Add network allocation

Parameters

Name

Type

net_addr

IP_NETWORK

description

TEXT

switch

SIMPLE_STRING

add_network

Add network allocation

Parameters

Name

Type

net_addr

IP_NETWORK

description

TEXT

switch

SIMPLE_STRING

remove_network

Delete a network allocation

Parameters

Name

Type

id

INTEGER

get_network_switch

Get the switch for a network

Parameters

Name

Type

net_addr

IP_NETWORK

get_network_by_switch

Get the switch for a network

Parameters

Name

Type

switch

SIMPLE_STRING

get_ip_switch

Get the switch for a network

Parameters

Name

Type

ip_addr

IP

get_ip_network

Get the mask for a network

Parameters

Name

Type

ip_addr

IP

is_hop_network_by_switch

Check if a network is a hop network (behind a hop router) by switch name

Parameters

Name

Type

switch

SIMPLE_STRING