def get_numa_topology(self):
        if self.numa_topology:
            return self.numa_topology

        topology = self._gen_numa_topology(self.cpu_nodes, self.cpu_sockets,
                                           self.cpu_cores, self.cpu_threads,
                                           self.kB_mem)
        self.numa_topology = topology

        # update number of active cpus
        cpu_count = len(topology.cells) * len(topology.cells[0].cpus)
        self.cpus = len(self.disabled_cpus_list) - cpu_count
        return topology
dataset/ETHPy150Open openstack/nova/nova/tests/functional/libvirt/test_rt_servers.py/NumaHostInfo.get_numa_topology/swapped operands of `-`