Change in vdsm[master]: numa: move cpu_topology to namedtuple

danken at redhat.com danken at redhat.com
Tue Mar 8 06:52:57 UTC 2016


Dan Kenigsberg has submitted this change and it was merged.

Change subject: numa: move cpu_topology to namedtuple
......................................................................


numa: move cpu_topology to namedtuple

CPU topology should be returned as immutable object that provides
access to sockets, cores, online_cpus and threads attributes.
Namedtuple seems to be the structure as it plays nicely even with
cpu_topology usage in caps.

Change-Id: Ib0a07b371bd78f00efb46d5c135947d459676e32
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/54203
Reviewed-by: Francesco Romani <fromani at redhat.com>
Continuous-Integration: Jenkins CI
---
M lib/vdsm/numa.py
M tests/capsTests.py
M vdsm/caps.py
M vdsm/clientIF.py
4 files changed, 30 insertions(+), 32 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Francesco Romani: Looks good to me, approved
  Martin Polednik: Verified



-- 
To view, visit https://gerrit.ovirt.org/54203
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0a07b371bd78f00efb46d5c135947d459676e32
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list