29 lines
628 B
TypeScript
Raw Normal View History

2018-09-04 01:12:10 +09:00
import { Zone } from './Zone';
2018-09-12 20:29:24 +09:00
// import { Port } from './Port';
2018-09-17 23:19:16 +09:00
import { MetaIPType, MetaDiscovererType } from '../meta';
2018-09-04 01:12:10 +09:00
2018-09-12 11:28:32 +09:00
export const defaultOsType = 'UNKNOWN';
export const defaultHostType = 'HOST';
export const defaultHostVendor = 'UNKNOWN';
export const defaultHostModel = 'UNKNOWN';
2018-09-04 01:12:10 +09:00
export interface Host {
metaIPType?: MetaIPType;
name?: string;
address?: string;
mac?: string;
2018-09-11 17:04:22 +09:00
osType?: string;
2018-09-12 11:28:32 +09:00
hostType?: string;
hostVendor?: string;
hostModel?: string;
2018-09-04 01:12:10 +09:00
2018-09-11 17:04:22 +09:00
meta?: Map<string, Map<string, string>>;
2018-09-17 23:19:16 +09:00
discoveredBy?: MetaDiscovererType[];
2018-09-04 01:12:10 +09:00
discoveredDate?: Date;
2018-09-11 17:04:22 +09:00
zone?: Zone;
2018-09-12 20:42:24 +09:00
portList?: any[];
2018-09-04 01:12:10 +09:00
}