adding direction to connections from conntrack

* Remove report.EdgeMetadata.MaxConnCountTCP, as we don't display it anywhere
* Remove hostname metadata from local end of connection. We should be using the hostnodeid
This commit is contained in:
Paul Bellamy
2016-02-16 10:24:16 +00:00
committed by Tom Wilkie
parent f24ebc96b4
commit 6cef1b10ca
9 changed files with 106 additions and 143 deletions

View File

@@ -320,9 +320,7 @@ var (
ClientAddressNodeID: report.MakeNode().WithLatests(map[string]string{
endpoint.Addr: ClientIP,
report.HostNodeID: ClientHostNodeID,
}).WithEdge(ServerAddressNodeID, report.EdgeMetadata{
MaxConnCountTCP: newu64(3),
}),
}).WithEdge(ServerAddressNodeID, report.EdgeMetadata{}),
ServerAddressNodeID: report.MakeNode().WithLatests(map[string]string{
endpoint.Addr: ServerIP,