oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 9 forks source link

agents/unix: add config nodes for amount of memory #4

Closed okt-yurijp closed 1 year ago

okt-yurijp commented 1 year ago

Add /agent/hardware/node/memory and /agent/hardware/node/memory/free to configuration tree and add implementation of calculation of such values.

Signed-off-by: Boris Shleyfman bshleyfman@oktet.co.il Reviewed-by: Yurij Plotnikov yurij.plotnikov@arknetworks.am

okt-yurijp commented 1 year ago

Excuse me, but is there any chance to see this patch in Test Environment in nearest future? We have one more patch on tapi functions for memory and available memory, but I think that it's not worth to make pull request for it, before the code from this PR will be pushed, because if tapi functions code will be pushed before this one, then build will be broken.

ol-arteman commented 1 year ago

@ol-andrewr it's up to you to merge, I am totally ok with the patch.

ol-andrewr commented 1 year ago

will be a part of the next snapshot