app/@overflow/model/discovery/Host.ts
crusader b893dcbebc ing
2018-09-17 23:19:16 +09:00

29 lines
628 B
TypeScript

import { Zone } from './Zone';
// import { Port } from './Port';
import { MetaIPType, MetaDiscovererType } 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?: MetaDiscovererType[];
discoveredDate?: Date;
zone?: Zone;
portList?: any[];
}