Can define IP reservations for networks
This commit is contained in:
@ -1,9 +1,22 @@
|
||||
import { APIClient } from "./ApiClient";
|
||||
|
||||
export interface DHCPHost {
|
||||
// This field is unspecified in IPv6 configurations
|
||||
mac: string | undefined;
|
||||
name: string;
|
||||
ip: string;
|
||||
}
|
||||
|
||||
export interface DHCPConfig {
|
||||
start: string;
|
||||
end: string;
|
||||
hosts: DHCPHost[];
|
||||
}
|
||||
|
||||
export interface IpConfig {
|
||||
bridge_address: string;
|
||||
prefix: number;
|
||||
dhcp_range?: [string, string];
|
||||
dhcp?: DHCPConfig;
|
||||
}
|
||||
|
||||
export interface NetworkInfo {
|
||||
|
Reference in New Issue
Block a user