libvirt: rewrite NUMA topology generator to be more flexible
libvirt: rewrite NUMA topology generator to be more flexible

The current _fake_caps_numa_topology method returns a NUMA topology
with 4 cells, 1 socket per cell, 1 core per socket & 2 threads per
core.

Rewrite the method to it can generate topologies with arbitrary
values for cells, sockets, cores & threads.

Related-bug: 1417671
Change-Id: I94d5b1eeb34d6681683996a5d01033f12eb7c5b8

gooddata/openstack-nova,openstack/nova,alaski/nova,Juniper/nova,blueboxgroup/nova,Yusuke1987/openstack_template,fnordahl/nova,iuliat/nova,jianghuaw/nova,vmturbo/nova,klmitch/nova,edulramirez/nova,belmiromoreira/nova,ruslanloman/nova,scripnichenko/nova,dims/nova,rajalokan/nova,CEG-FYP-OpenStack/scheduler,jianghuaw/nova,JioCloud/nova,noironetworks/nova,adelina-t/nova,NeCTAR-RC/nova,takeshineshiro/nova,BeyondTheClouds/nova,JioCloud/nova_test_latest,Juniper/nova,CloudServer/nova,watonyweng/nova,BeyondTheClouds/nova,yatinkumbhare/openstack-nova,mahak/nova,cloudbase/nova-virtualbox,Stavitsky/nova,fnordahl/nova,takeshineshiro/nova,openstack/nova,vmturbo/nova,klmitch/nova,orbitfp7/nova,devendermishrajio/nova,sebrandon1/nova,affo/nova,Tehsmash/nova,alexandrucoman/vbox-nova-driver,felixma/nova,eonpatapon/nova,zhimin711/nova,cyx1231st/nova,isyippee/nova,devendermishrajio/nova,bigswitch/nova,NeCTAR-RC/nova,Francis-Liu/animated-broccoli,jeffrey4l/nova,nikesh-mahalka/nova,bgxavier/nova,phenoxim/nova,vmturbo/nova,Yusuke1987/openstack_template,whitepages/nova,rajalokan/nova,shail2810/nova,hanlind/nova,thomasem/nova,dawnpower/nova,CEG-FYP-OpenStack/scheduler,cloudbase/nova,zhimin711/nova,Francis-Liu/animated-broccoli,alaski/nova,tealover/nova,bgxavier/nova,sebrandon1/nova,CCI-MOC/nova,CCI-MOC/nova,devendermishrajio/nova_test_latest,raildo/nova,jianghuaw/nova,alvarolopez/nova,dawnpower/nova,JianyuWang/nova,apporc/nova,cyx1231st/nova,rahulunair/nova,sebrandon1/nova,mandeepdhami/nova,JianyuWang/nova,orbitfp7/nova,tealover/nova,klmitch/nova,bigswitch/nova,whitepages/nova,kimjaejoong/nova,petrutlucian94/nova,akash1808/nova_test_latest,double12gzh/nova,tangfeixiong/nova,jeffrey4l/nova,vmturbo/nova,Juniper/nova,zaina/nova,cloudbase/nova-virtualbox,rajalokan/nova,klmitch/nova,ted-gould/nova,zzicewind/nova,gooddata/openstack-nova,JioCloud/nova_test_latest,rahulunair/nova,belmiromoreira/nova,yatinkumbhare/openstack-nova,cernops/nova,zaina/nova,ruslanloman/nova,rajalokan/nova,mikalstill/nova,ted-gould/nova,jianghuaw/nova,TwinkleChawla/nova,iuliat/nova,MountainWei/nova,alvarolopez/nova,noironetworks/nova,devendermishrajio/nova_test_latest,CloudServer/nova,affo/nova,akash1808/nova,double12gzh/nova,isyippee/nova,openstack/nova,hanlind/nova,cernops/nova,yosshy/nova,alexandrucoman/vbox-nova-driver,phenoxim/nova,joker946/nova,adelina-t/nova,gooddata/openstack-nova,rahulunair/nova,JioCloud/nova,j-carpentier/nova,Tehsmash/nova,barnsnake351/nova,gooddata/openstack-nova,barnsnake351/nova,BeyondTheClouds/nova,mmnelemane/nova,MountainWei/nova,petrutlucian94/nova,raildo/nova,thomasem/nova,joker946/nova,mahak/nova,mahak/nova,akash1808/nova,cloudbase/nova,edulramirez/nova,TwinkleChawla/nova,dims/nova,blueboxgroup/nova,mmnelemane/nova,watonyweng/nova,zzicewind/nova,akash1808/nova_test_latest,LoHChina/nova,kimjaejoong/nova,felixma/nova,LoHChina/nova,cloudbase/nova,hanlind/nova,tangfeixiong/nova,cernops/nova,varunarya10/nova_test_latest,varunarya10/nova_test_latest,shail2810/nova,mikalstill/nova,apporc/nova,mikalstill/nova,eonpatapon/nova,nikesh-mahalka/nova,yosshy/nova,tudorvio/nova,mandeepdhami/nova,j-carpentier/nova,tudorvio/nova,scripnichenko/nova,Stavitsky/nova,Juniper/nova