Merge lp:~therve/landscape-client/network-activity-schema into lp:~landscape/landscape-client/trunk

Proposed by Thomas Herve
Status: Merged
Approved by: Jamu Kakar
Approved revision: 258
Merged at revision: 258
Proposed branch: lp:~therve/landscape-client/network-activity-schema
Merge into: lp:~landscape/landscape-client/trunk
Diff against target: 0 lines
To merge this branch: bzr merge lp:~therve/landscape-client/network-activity-schema
Reviewer Review Type Date Requested Status
Jamu Kakar (community) Approve
Free Ekanayaka (community) Approve
Review via email: mp+27334@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote :

Nice! +1

[1]

+ {"activities": Dict(String(), List(Tuple(Int(), Int(), Int())))})

Please add a comment describing what the format of this dict is, like

# Dict maps interfaces to their network activity. The network activity of an
# interface a is a list of 3-tuples (step, in, out), where 'step' is the time
# interval and 'in'/'out' are number of bytes received/sent over the interval.

[2]

+ {"activities": Dict(String(), List(Tuple(Int(), Int(), Int())))})

Just as a minor point "activities" plural doesn't sound quite right to me, grammatically.. can you have "network activities" plural? I think the term "network activity" is always use in singular form, but I might be wrong.

Some native speaker an perhaps comment on this?

review: Approve
Revision history for this message
Jamu Kakar (jkakar) wrote :

Looks good to me. As far as "activities" vs. "activity", I think
either are fine in this case. You could also use "bandwidth" or
"statistics".

+1!

review: Approve
259. By Thomas Herve

Add comment

Preview Diff

Empty

Subscribers

People subscribed via source and target branches

to all changes: