Developing lightweight computation at the DSG edge

Commit 6aa0b8a2 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[cnml] Update DeviceMonitorAssignation struct



The DeviceMonitorAssignation struct now holds, instead of a device's
ID, the DeviceIpv4Adddresses with the device's ID and IPv4 addresses
(plus, as before, the list of monitors it is assigned to).
Signed-off-by: Roger Pueyo Centelles's avatarRoger Pueyo Centelles <rpueyo@ac.upc.edu>
parent 123b28b5
......@@ -131,7 +131,7 @@ type DeviceIpv4sGraphserver struct {
// The DeviceMonitorAssignation holds...
type DeviceMonitorAssignation struct {
DeviceID int
Device DeviceIpv4Adddresses
MonitorID []string
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment