pmcf
Version:
Poor mans configuration management
209 lines (208 loc) • 6.61 kB
text/typescript
export class Network extends Owner {
static get typeDefinition(): {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: any[];
properties: {
owner: {
type: string;
collection: boolean;
writeable: boolean;
};
type: {
type: string;
collection: boolean;
writeable: boolean;
};
name: {
type: string;
collection: boolean;
identifier: boolean;
writeable: boolean;
};
description: {
type: string;
collection: boolean;
writeable: boolean;
};
priority: {
type: string;
collection: boolean;
writeable: boolean;
};
directory: {
type: string;
collection: boolean;
writeable: boolean;
};
packaging: {
type: string;
collection: boolean;
writeable: boolean;
};
tags: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
hosts: {
type: string;
collection: boolean;
writeable: boolean;
};
clusters: {
type: string;
collection: boolean;
writeable: boolean;
};
subnets: {
type: {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
type: string;
collection: boolean;
writeable: boolean;
identifier: boolean;
};
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
prefixLength: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
collection: boolean;
writeable: boolean;
};
country: {
type: string;
collection: boolean;
writeable: boolean;
};
domain: {
type: string;
collection: boolean;
writeable: boolean;
};
domains: {
type: string;
collection: boolean;
writeable: boolean;
};
timezone: {
type: string;
collection: boolean;
writeable: boolean;
};
architectures: {
type: string;
collection: boolean;
writeable: boolean;
};
locales: {
type: string;
collection: boolean;
writeable: boolean;
};
administratorEmail: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
bridge: {
type: string;
collection: boolean;
writeable: boolean;
};
gateway: {
type: string;
collection: boolean;
writeable: boolean;
};
scope: {
type: string;
collection: boolean;
writeable: boolean;
values: string[];
default: string;
};
class: {
type: string;
collection: boolean;
writeable: boolean;
values: string[];
};
kind: {
type: string;
collection: boolean;
writeable: boolean;
values: string[];
};
ssid: {
type: string;
collection: boolean;
writeable: boolean;
};
psk: {
type: string;
collection: boolean;
writeable: boolean;
};
metric: {
type: string;
collection: boolean;
writeable: boolean;
default: number;
};
MTU: {
type: string;
collection: boolean;
writeable: boolean;
default: number;
};
multicastDNS: {
type: string;
collection: boolean;
writeable: boolean;
default: boolean;
};
};
};
kind: any;
scope: any;
metric: any;
gateway: any;
_bridge: any;
get network(): this;
get address(): any;
set bridge(network: any);
get bridge(): any;
}
import { Owner } from "./owner.mjs";