app/@overflow/model/discovery/Host.ts
insanity 31d0245490 UU
2018-09-12 20:29:24 +09:00

29 lines
600 B
TypeScript

import { Zone } from './Zone';
// import { Port } from './Port';
import { MetaIPType } from '../meta';
export const defaultOsType = 'UNKNOWN';
export const defaultHostType = 'HOST';
export const defaultHostVendor = 'UNKNOWN';
export const defaultHostModel = 'UNKNOWN';
export interface Host {
metaIPType?: MetaIPType;
name?: string;
address?: string;
mac?: string;
osType?: string;
hostType?: string;
hostVendor?: string;
hostModel?: string;
meta?: Map<string, Map<string, string>>;
discoveredBy?: string[];
discoveredDate?: Date;
zone?: Zone;
// portList?: Port[];
}