2018-04-26 07:37:59 +00:00
|
|
|
package discovery
|
2018-04-12 09:38:04 +00:00
|
|
|
|
2018-06-12 13:13:22 +00:00
|
|
|
import (
|
|
|
|
"git.loafle.net/overflow/commons-go/core/util"
|
|
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
|
|
|
)
|
2018-04-12 09:38:04 +00:00
|
|
|
|
|
|
|
type Host struct {
|
2018-06-12 13:13:22 +00:00
|
|
|
MetaIPType *meta.MetaIPType `json:"metaIpType,omitempty"`
|
|
|
|
Address string `json:"address,omitempty"`
|
|
|
|
Mac string `json:"mac,omitempty"`
|
|
|
|
|
|
|
|
Zone *Zone `json:"zone,omitempty"`
|
|
|
|
PortList []*Port `json:"portList,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
|
2018-05-11 02:24:21 +00:00
|
|
|
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
}
|