pmcf
Version:
Poor mans configuration management
40 lines (39 loc) • 1.22 kB
text/typescript
export function subnets(sources: any): Set<any>;
export class Subnet extends Base {
static get typeDefinition(): {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
attributes: {
address: import("pacc").AttributeDefinition;
networks: {
type: string;
collection: boolean;
writable: boolean;
};
prefixLength: import("pacc").AttributeDefinition;
family: import("pacc").AttributeDefinition;
};
};
networks: Set<any>;
prefix: any;
prefixLength: any;
longPrefix: any;
family: any;
get cidr(): string;
get fullName(): string;
matchesAddress(address: any): any;
get isLinkLocal(): any;
get addressRange(): any;
get dhcpPools(): any[];
get address(): string;
get longAddress(): string;
_traverse(...args: any[]): boolean;
}
export const SUBNET_GLOBAL_IPV4: Subnet;
export const SUBNET_GLOBAL_IPV6: Subnet;
export const SUBNET_LOCALHOST_IPV4: Subnet;
export const SUBNET_LOCALHOST_IPV6: Subnet;
export const SUBNET_LINK_LOCAL_IPV6: Subnet;
import { Base } from "./base.mjs";