digambar 3e1fe5f7e4 Fix CPU count returned by introspection in Ironic iDRAC driver
If list_cpus in dracclient, it returns below values -

[CPU(id='CPU.Socket.1', cores=14, ht__enabled=True),
CPU(id='CPU.Socket.2', cores=14, ht_enabled=True)]

Each CPU socket has cores with hyperthreading enabled, so if we
calculate the cpu per socket, we will get actual cpu count per socket,
So objective of this patch to fetch actual CPU's per socket and sum it

Story: #2004155
Change-Id: Ia86b0462a3e73af7a2ce0a6439286f7071f74caa
2018-11-02 06:36:04 +00:00
..
2018-08-20 10:25:24 +02:00
2017-03-02 13:48:18 +02:00