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) |
| search | string | Domain search path |
| 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.