Refactor topology hints tests for cpumanager
Refactor topology hints tests for cpumanager

* Extract common tests cases that will be used for both GetTopologyHints()
and GetPodTopologyHints()
* Extract machineInfo as it will be used for both functions as well

Signed-off-by: Krzysztof Wiatrzyk <2d511d97978b8a9f917503e08c708836b8e275f6@samsung.com>

matthyx/kubernetes,mahak/kubernetes,deads2k/kubernetes,nikhita/kubernetes,idvoretskyi/kubernetes,mfojtik/kubernetes,stevesloka/kubernetes,tpepper/kubernetes,shyamjvs/kubernetes,Clarifai/kubernetes,fanzhangio/kubernetes,mkumatag/kubernetes,pires/kubernetes,iterion/kubernetes,tomzhang/kubernetes,csrwng/kubernetes,brendandburns/kubernetes,fgimenez/kubernetes,dereknex/kubernetes,kpgriffith/kubernetes,andrewrynhard/kubernetes,monopole/kubernetes,krmayankk/kubernetes,hex108/kubernetes,micahhausler/kubernetes,iameli/kubernetes,stevesloka/kubernetes,monopole/kubernetes,ingvagabund/kubernetes,rafax/kubernetes,ravisantoshgudimetla/kubernetes,BenTheElder/kubernetes,jingxu97/kubernetes,pires/kubernetes,hex108/kubernetes,kevin-wangzefeng/kubernetes,mengqiy/kubernetes,mahak/kubernetes,PI-Victor/kubernetes,pires/kubernetes,lojies/kubernetes,jessfraz/kubernetes,liggitt/kubernetes,krmayankk/kubernetes,chrislovecnm/kubernetes,PI-Victor/kubernetes,saad-ali/kubernetes,mYmNeo/kubernetes,jackfrancis/kubernetes,yujuhong/kubernetes,spzala/kubernetes,enj/kubernetes,mikebrow/kubernetes,yujuhong/kubernetes,nckturner/kubernetes,dlorenc/kubernetes,ingvagabund/kubernetes,jsafrane/kubernetes,sanjeevm0/kubernetes,linux-on-ibm-z/kubernetes,tpepper/kubernetes,verb/kubernetes,fgimenez/kubernetes,ping035627/kubernetes,brendandburns/kubernetes,nak3/kubernetes,nak3/kubernetes,spzala/kubernetes,feiskyer/kubernetes,jdef/kubernetes,jessfraz/kubernetes,jackfrancis/kubernetes,JacobTanenbaum/kubernetes,PiotrProkop/kubernetes,nckturner/kubernetes,verult/kubernetes,cmluciano/kubernetes,cmluciano/kubernetes,kevin-wangzefeng/kubernetes,jingxu97/kubernetes,jdef/kubernetes,jagosan/kubernetes,kpgriffith/kubernetes,GulajavaMinistudio/kubernetes,ravisantoshgudimetla/kubernetes,liggitt/kubernetes,zhouhaibing089/kubernetes,idvoretskyi/kubernetes,humblec/kubernetes,ping035627/kubernetes,jingxu97/kubernetes,krmayankk/kubernetes,stevesloka/kubernetes,cofyc/kubernetes,weiwei04/kubernetes,alejandroEsc/kubernetes,spzala/kubernetes,shyamjvs/kubernetes,fanzhangio/kubernetes,ravisantoshgudimetla/kubernetes,weiwei04/kubernetes,carlory/kubernetes,yujuhong/kubernetes,fabriziopandini/kubernetes,ingvagabund/kubernetes,dereknex/kubernetes,rrati/kubernetes,mfojtik/kubernetes,idvoretskyi/kubernetes,shyamjvs/kubernetes,chrislovecnm/kubernetes,dixudx/kubernetes,micahhausler/kubernetes,jackfrancis/kubernetes,mahak/kubernetes,gnufied/kubernetes,cblecker/kubernetes,zhangmingld/kubernetes,spzala/kubernetes,k82/kubernetes,jackfrancis/kubernetes,aledbf/kubernetes,chrislovecnm/kubernetes,coolsvap/kubernetes,matthyx/kubernetes,warmchang/kubernetes,kitt1987/kubernetes,chestack/kubernetes,mYmNeo/kubernetes,PI-Victor/kubernetes,nckturner/kubernetes,openshift/kubernetes,PI-Victor/kubernetes,xychu/kubernetes,dereknex/kubernetes,weiwei04/kubernetes,andrewrynhard/kubernetes,sanjeevm0/kubernetes,mkumatag/kubernetes,rafax/kubernetes,PiotrProkop/kubernetes,sdminonne/kubernetes,xlgao-zju/kubernetes,li-ang/kubernetes,tpepper/kubernetes,Acidburn0zzz/kubernetes,brendandburns/kubernetes,joelsmith/kubernetes,coolsvap/kubernetes,lojies/kubernetes,tomzhang/kubernetes,nak3/kubernetes,zhangmingld/kubernetes,nak3/kubernetes,MikeSpreitzer/kubernetes,thockin/kubernetes,jsafrane/kubernetes,Clarifai/kubernetes,hex108/kubernetes,jessfraz/kubernetes,x13n/kubernetes,dlorenc/kubernetes,fabriziopandini/kubernetes,verult/kubernetes,kubernetes/kubernetes,idvoretskyi/kubernetes,sanjeevm0/kubernetes,xychu/kubernetes,dims/kubernetes,mengqiy/kubernetes,csrwng/kubernetes,cofyc/kubernetes,soltysh/kubernetes,jagosan/kubernetes,lojies/kubernetes,PI-Victor/kubernetes,hex108/kubernetes,rnaveiras/kubernetes,ping035627/kubernetes,aledbf/kubernetes,xychu/kubernetes,krmayankk/kubernetes,csrwng/kubernetes,xlgao-zju/kubernetes,iterion/kubernetes,monopole/kubernetes,andrewrynhard/kubernetes,cofyc/kubernetes,mahak/kubernetes,verult/kubernetes,zhouhaibing089/kubernetes,sdminonne/kubernetes,mengqiy/kubernetes,verult/kubernetes,mengqiy/kubernetes,xychu/kubernetes,bparees/kubernetes,alejandroEsc/kubernetes,kitt1987/kubernetes,kitt1987/kubernetes,ingvagabund/kubernetes,tomzhang/kubernetes,ingvagabund/kubernetes,k82/kubernetes,verb/kubernetes,tomzhang/kubernetes,weiwei04/kubernetes,mikedanese/kubernetes,sdminonne/kubernetes,bparees/kubernetes,saad-ali/kubernetes,mosoft521/kubernetes,thockin/kubernetes,krmayankk/kubernetes,deads2k/kubernetes,k82cn/kubernetes,warmchang/kubernetes,thockin/kubernetes,kpgriffith/kubernetes,roberthbailey/kubernetes,feiskyer/kubernetes,csrwng/kubernetes,soltysh/kubernetes,sanjeevm0/kubernetes,coolsvap/kubernetes,fabriziopandini/kubernetes,jdef/kubernetes,pires/kubernetes,micahhausler/kubernetes,xlgao-zju/kubernetes,wongma7/kubernetes,soltysh/kubernetes,GulajavaMinistudio/kubernetes,stevesloka/kubernetes,coolsvap/kubernetes,nckturner/kubernetes,jingxu97/kubernetes,joelsmith/kubernetes,k82/kubernetes,jessfraz/kubernetes,nikhita/kubernetes,wongma7/kubernetes,jagosan/kubernetes,iterion/kubernetes,carlory/kubernetes,ravisantoshgudimetla/kubernetes,xlgao-zju/kubernetes,nak3/kubernetes,verb/kubernetes,soltysh/kubernetes,shyamjvs/kubernetes,jdef/kubernetes,joelsmith/kubernetes,chrislovecnm/kubernetes,jdef/kubernetes,lojies/kubernetes,ping035627/kubernetes,olivierlemasle/kubernetes,iameli/kubernetes,k82cn/kubernetes,roberthbailey/kubernetes,tomzhang/kubernetes,zhouhaibing089/kubernetes,jingxu97/kubernetes,mosoft521/kubernetes,Clarifai/kubernetes,JacobTanenbaum/kubernetes,zhouhaibing089/kubernetes,roberthbailey/kubernetes,olivierlemasle/kubernetes,liggitt/kubernetes,JacobTanenbaum/kubernetes,x13n/kubernetes,Acidburn0zzz/kubernetes,ravilr/kubernetes,deads2k/kubernetes,aledbf/kubernetes,brendandburns/kubernetes,ii/kubernetes,chrislovecnm/kubernetes,dereknex/kubernetes,jsafrane/kubernetes,ravilr/kubernetes,jagosan/kubernetes,monopole/kubernetes,k82cn/kubernetes,gnufied/kubernetes,aledbf/kubernetes,cofyc/kubernetes,tomzhang/kubernetes,iameli/kubernetes,tpepper/kubernetes,rafax/kubernetes,verb/kubernetes,dlorenc/kubernetes,rafax/kubernetes,joelsmith/kubernetes,dixudx/kubernetes,coolsvap/kubernetes,JacobTanenbaum/kubernetes,x13n/kubernetes,andrewrynhard/kubernetes,kubernetes/kubernetes,liggitt/kubernetes,linux-on-ibm-z/kubernetes,mikebrow/kubernetes,li-ang/kubernetes,deads2k/kubernetes,gnufied/kubernetes,warmchang/kubernetes,mikebrow/kubernetes,GulajavaMinistudio/kubernetes,ravilr/kubernetes,PiotrProkop/kubernetes,mosoft521/kubernetes,weiwei04/kubernetes,JacobTanenbaum/kubernetes,pires/kubernetes,Acidburn0zzz/kubernetes,k82/kubernetes,iameli/kubernetes,dereknex/kubernetes,GulajavaMinistudio/kubernetes,mYmNeo/kubernetes,gnufied/kubernetes,andrewrynhard/kubernetes,jagosan/kubernetes,iameli/kubernetes,rrati/kubernetes,gnufied/kubernetes,mfojtik/kubernetes,dereknex/kubernetes,deads2k/kubernetes,mikebrow/kubernetes,jsafrane/kubernetes,Acidburn0zzz/kubernetes,chestack/kubernetes,hex108/kubernetes,Clarifai/kubernetes,ii/kubernetes,nikhita/kubernetes,ingvagabund/kubernetes,jackfrancis/kubernetes,matthyx/kubernetes,saad-ali/kubernetes,PI-Victor/kubernetes,weiwei04/kubernetes,xlgao-zju/kubernetes,linux-on-ibm-z/kubernetes,cmluciano/kubernetes,cofyc/kubernetes,spzala/kubernetes,bparees/kubernetes,fanzhangio/kubernetes,carlory/kubernetes,tomzhang/kubernetes,alejandroEsc/kubernetes,saad-ali/kubernetes,kpgriffith/kubernetes,wongma7/kubernetes,kitt1987/kubernetes,coolsvap/kubernetes,kitt1987/kubernetes,mfojtik/kubernetes,JacobTanenbaum/kubernetes,ping035627/kubernetes,mikedanese/kubernetes,warmchang/kubernetes,ravilr/kubernetes,krmayankk/kubernetes,jessfraz/kubernetes,mikedanese/kubernetes,dlorenc/kubernetes,wongma7/kubernetes,dixudx/kubernetes,zhangmingld/kubernetes,carlory/kubernetes,cofyc/kubernetes,matthyx/kubernetes,iterion/kubernetes,cmluciano/kubernetes,csrwng/kubernetes,chestack/kubernetes,mosoft521/kubernetes,k82/kubernetes,stevesloka/kubernetes,tomzhang/kubernetes,brendandburns/kubernetes,verb/kubernetes,BenTheElder/kubernetes,yujuhong/kubernetes,mkumatag/kubernetes,yujuhong/kubernetes,ii/kubernetes,olivierlemasle/kubernetes,humblec/kubernetes,chestack/kubernetes,dixudx/kubernetes,nikhita/kubernetes,MikeSpreitzer/kubernetes,nikhita/kubernetes,Acidburn0zzz/kubernetes,liggitt/kubernetes,bparees/kubernetes,lojies/kubernetes,fabriziopandini/kubernetes,yujuhong/kubernetes,iterion/kubernetes,fanzhangio/kubernetes,cblecker/kubernetes,tengqm/kubernetes,x13n/kubernetes,aledbf/kubernetes,joelsmith/kubernetes,ravisantoshgudimetla/kubernetes,enj/kubernetes,feiskyer/kubernetes,jsafrane/kubernetes,enj/kubernetes,kubernetes/kubernetes,idvoretskyi/kubernetes,saad-ali/kubernetes,micahhausler/kubernetes,Clarifai/kubernetes,fabriziopandini/kubernetes,thockin/kubernetes,openshift/kubernetes,mikebrow/kubernetes,cmluciano/kubernetes,feiskyer/kubernetes,rrati/kubernetes,jdef/kubernetes,ravisantoshgudimetla/kubernetes,mikedanese/kubernetes,joelsmith/kubernetes,olivierlemasle/kubernetes,zhangmingld/kubernetes,cblecker/kubernetes,mfojtik/kubernetes,shyamjvs/kubernetes,BenTheElder/kubernetes,PiotrProkop/kubernetes,dims/kubernetes,PiotrProkop/kubernetes,wongma7/kubernetes,rrati/kubernetes,mYmNeo/kubernetes,mYmNeo/kubernetes,zhangmingld/kubernetes,fgimenez/kubernetes,zhangmingld/kubernetes,humblec/kubernetes,saad-ali/kubernetes,rnaveiras/kubernetes,enj/kubernetes,kubernetes/kubernetes,tengqm/kubernetes,roberthbailey/kubernetes,Clarifai/kubernetes,dims/kubernetes,enj/kubernetes,dims/kubernetes,fgimenez/kubernetes,mengqiy/kubernetes,humblec/kubernetes,sanjeevm0/kubernetes,humblec/kubernetes,nckturner/kubernetes,alejandroEsc/kubernetes,mYmNeo/kubernetes,dlorenc/kubernetes,k82cn/kubernetes,roberthbailey/kubernetes,ii/kubernetes,iterion/kubernetes,k82cn/kubernetes,tomzhang/kubernetes,Acidburn0zzz/kubernetes,mosoft521/kubernetes,rrati/kubernetes,rnaveiras/kubernetes,rnaveiras/kubernetes,hex108/kubernetes,pires/kubernetes,BenTheElder/kubernetes,tpepper/kubernetes,soltysh/kubernetes,thockin/kubernetes,linux-on-ibm-z/kubernetes,fanzhangio/kubernetes,mkumatag/kubernetes,MikeSpreitzer/kubernetes,warmchang/kubernetes,feiskyer/kubernetes,matthyx/kubernetes,kitt1987/kubernetes,mikedanese/kubernetes,sdminonne/kubernetes,li-ang/kubernetes,xlgao-zju/kubernetes,dixudx/kubernetes,alejandroEsc/kubernetes,dlorenc/kubernetes,kubernetes/kubernetes,x13n/kubernetes,verult/kubernetes,ravilr/kubernetes,linux-on-ibm-z/kubernetes,sanjeevm0/kubernetes,idvoretskyi/kubernetes,sdminonne/kubernetes,stevesloka/kubernetes,rnaveiras/kubernetes,zhouhaibing089/kubernetes,olivierlemasle/kubernetes,tpepper/kubernetes,kevin-wangzefeng/kubernetes,cmluciano/kubernetes,li-ang/kubernetes,mahak/kubernetes,tengqm/kubernetes,fgimenez/kubernetes,kpgriffith/kubernetes,mfojtik/kubernetes,micahhausler/kubernetes,openshift/kubernetes,chestack/kubernetes,openshift/kubernetes,nak3/kubernetes,ii/kubernetes,openshift/kubernetes,xychu/kubernetes,cblecker/kubernetes,monopole/kubernetes,kevin-wangzefeng/kubernetes,MikeSpreitzer/kubernetes,kevin-wangzefeng/kubernetes,xychu/kubernetes,andrewrynhard/kubernetes,kpgriffith/kubernetes,GulajavaMinistudio/kubernetes,dims/kubernetes,fanzhangio/kubernetes,tengqm/kubernetes,chrislovecnm/kubernetes,li-ang/kubernetes,tengqm/kubernetes,cblecker/kubernetes,carlory/kubernetes,mkumatag/kubernetes,bparees/kubernetes,brendandburns/kubernetes,x13n/kubernetes,MikeSpreitzer/kubernetes,BenTheElder/kubernetes,verult/kubernetes,fgimenez/kubernetes