pmcf
Version:
Poor mans configuration management
339 lines (338 loc) • 11.1 kB
text/typescript
export namespace EthernetNetworkInterfaceTypeDefinition {
export let name: string;
export { NetworkInterfaceTypeDefinition as specializationOf };
export let owners: string[];
export { NetworkInterfaceTypeDefinition as extends };
export let priority: number;
export namespace properties {
namespace arpbridge {
let type: string;
let collection: boolean;
let writeable: boolean;
}
}
}
export class EthernetNetworkInterface extends NetworkInterface {
static get typeDefinition(): {
name: string;
specializationOf: {
name: string;
priority: number;
owners: string[];
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;
};
};
};
specializations: {};
factoryFor(owner: any, value: any): any;
properties: {
hostName: {
type: string;
collection: boolean;
writeable: boolean;
};
ipAddresses: {
type: string;
collection: boolean;
writeable: boolean;
};
hwaddr: {
type: string;
collection: boolean;
writeable: boolean;
};
network: {
type: string;
collection: boolean;
writeable: boolean;
};
destination: {
type: string;
collection: boolean;
writeable: boolean;
};
cidrAddresses: {
type: string;
collection: boolean;
writeable: boolean;
};
cidrAddress: {
type: string;
collection: boolean;
writeable: boolean;
};
addresses: {
type: string;
collection: boolean;
writeable: boolean;
};
address: {
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;
};
gateway: {
type: string;
collection: boolean;
writeable: boolean;
};
multicastDNS: {
type: string;
collection: boolean;
writeable: boolean;
default: boolean;
};
};
};
owners: string[];
extends: {
name: string;
priority: number;
owners: string[];
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;
};
};
};
specializations: {};
factoryFor(owner: any, value: any): any;
properties: {
hostName: {
type: string;
collection: boolean;
writeable: boolean;
};
ipAddresses: {
type: string;
collection: boolean;
writeable: boolean;
};
hwaddr: {
type: string;
collection: boolean;
writeable: boolean;
};
network: {
type: string;
collection: boolean;
writeable: boolean;
};
destination: {
type: string;
collection: boolean;
writeable: boolean;
};
cidrAddresses: {
type: string;
collection: boolean;
writeable: boolean;
};
cidrAddress: {
type: string;
collection: boolean;
writeable: boolean;
};
addresses: {
type: string;
collection: boolean;
writeable: boolean;
};
address: {
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;
};
gateway: {
type: string;
collection: boolean;
writeable: boolean;
};
multicastDNS: {
type: string;
collection: boolean;
writeable: boolean;
default: boolean;
};
};
};
priority: number;
properties: {
arpbridge: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
arpbridge: any;
get kind(): string;
}
import { NetworkInterfaceTypeDefinition } from "./network-interface.mjs";
import { NetworkInterface } from "./network-interface.mjs";