Can define IP reservations for networks
This commit is contained in:
virtweb_backend/src
virtweb_frontend/src
@@ -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 {
|
||||
|
@@ -19,6 +19,7 @@ export interface ServerConstraints {
|
||||
disk_size: LenConstraint;
|
||||
net_name_size: LenConstraint;
|
||||
net_title_size: LenConstraint;
|
||||
dhcp_reservation_host_name: LenConstraint;
|
||||
}
|
||||
|
||||
export interface LenConstraint {
|
||||
|
Reference in New Issue
Block a user