API v2: Network¶
Fudo Enterprise allows retrieving network settings within its API.
Note
Network settings are accessible for the users with superadmin
privileges.
Data structures¶
Attribute | Type | Description |
---|---|---|
hostname | string | |
dns | address | DNS address(es) |
management | address | Admin Panel’s address |
access_gateway | address | Access Gateway’s address |
labels | string | Global configuration parameters |
interfaces | Network interfaces configuration | |
name | ||
ether | ||
active {true, false} | ||
use_dhcp {true, false} | ||
routing_table | ||
inet | ||
routing | Routing configuration | |
tables_max_count | Max number of the routing tables is 8 | |
tables {table[id]} | ID of the routing table | |
routes {network, gateway} | Network and gateway addresses |
Retrieving network settings¶
Request
Method | GET
|
Path | /api/v2/network
|
Note
To check allowed methods, available URL parameters and possible responses please refer to the API overview section.