Stylistic improvement of models.ComputeNodeStat
Stylistic improvement of models.ComputeNodeStat

The patch is aimed at improving the readability of models.ComputeNodeStat.

Here, we rename the 'stats' attribute of the class to 'compute_node' (due to
the fact that the corresponding relation actually maps to ComputeNode class,
not to ComputeNodeStat). We also rewrite the relationship() method call to
make it stylistically conforming with the analogous 'service' relationship
in the ComputeNode class: we add the 'foreign_keys' parameter, wrap the
'backref' parameter into a method call and remove the auxiliary 'primary_join'
variable.

Change-Id: I2b1f27b4c1d06f364af01fc82d3490fd3bbf4ac0
Closes-Bug: #1215390

rajalokan/nova,virtualopensystems/nova,watonyweng/nova,raildo/nova,zhimin711/nova,leilihh/novaha,rajalokan/nova,double12gzh/nova,devendermishrajio/nova_test_latest,sebrandon1/nova,redhat-openstack/nova,cloudbase/nova,joker946/nova,Stavitsky/nova,viggates/nova,bigswitch/nova,ruslanloman/nova,jianghuaw/nova,rahulunair/nova,mikalstill/nova,eharney/nova,kimjaejoong/nova,takeshineshiro/nova,ewindisch/nova,angdraug/nova,Stavitsky/nova,mmnelemane/nova,barnsnake351/nova,gooddata/openstack-nova,virtualopensystems/nova,adelina-t/nova,petrutlucian94/nova,zhimin711/nova,zzicewind/nova,saleemjaveds/https-github.com-openstack-nova,vmturbo/nova,raildo/nova,rahulunair/nova,MountainWei/nova,kimjaejoong/nova,phenoxim/nova,scripnichenko/nova,affo/nova,cloudbase/nova,alaski/nova,whitepages/nova,cyx1231st/nova,thomasem/nova,berrange/nova,belmiromoreira/nova,openstack/nova,cloudbase/nova-virtualbox,petrutlucian94/nova_dev,TwinkleChawla/nova,varunarya10/nova_test_latest,ewindisch/nova,jianghuaw/nova,shahar-stratoscale/nova,rajalokan/nova,klmitch/nova,apporc/nova,alaski/nova,eonpatapon/nova,mgagne/nova,viggates/nova,devendermishrajio/nova,badock/nova,akash1808/nova_test_latest,BeyondTheClouds/nova,cloudbase/nova-virtualbox,leilihh/novaha,tangfeixiong/nova,vmturbo/nova,alvarolopez/nova,scripnichenko/nova,cloudbase/nova,klmitch/nova,akash1808/nova_test_latest,varunarya10/nova_test_latest,yatinkumbhare/openstack-nova,JianyuWang/nova,ted-gould/nova,devoid/nova,iuliat/nova,barnsnake351/nova,thomasem/nova,eonpatapon/nova,openstack/nova,jianghuaw/nova,jianghuaw/nova,leilihh/nova,Francis-Liu/animated-broccoli,alvarolopez/nova,edulramirez/nova,gooddata/openstack-nova,eayunstack/nova,maelnor/nova,saleemjaveds/https-github.com-openstack-nova,devoid/nova,orbitfp7/nova,angdraug/nova,luogangyi/bcec-nova,mahak/nova,jeffrey4l/nova,Yusuke1987/openstack_template,tianweizhang/nova,Tehsmash/nova,tudorvio/nova,Juniper/nova,akash1808/nova,hanlind/nova,LoHChina/nova,sacharya/nova,JioCloud/nova_test_latest,bgxavier/nova,bigswitch/nova,LoHChina/nova,NeCTAR-RC/nova,cernops/nova,berrange/nova,vladikr/nova_drafts,Francis-Liu/animated-broccoli,cyx1231st/nova,OpenAcademy-OpenStack/nova-scheduler,blueboxgroup/nova,affo/nova,NeCTAR-RC/nova,zaina/nova,dawnpower/nova,tangfeixiong/nova,nikesh-mahalka/nova,vladikr/nova_drafts,silenceli/nova,redhat-openstack/nova,rrader/nova-docker-plugin,akash1808/nova,blueboxgroup/nova,mikalstill/nova,Metaswitch/calico-nova,mmnelemane/nova,CEG-FYP-OpenStack/scheduler,JioCloud/nova,petrutlucian94/nova_dev,sebrandon1/nova,phenoxim/nova,tealover/nova,CCI-MOC/nova,alexandrucoman/vbox-nova-driver,iuliat/nova,cernops/nova,j-carpentier/nova,orbitfp7/nova,shahar-stratoscale/nova,watonyweng/nova,badock/nova,cernops/nova,mandeepdhami/nova,alexandrucoman/vbox-nova-driver,belmiromoreira/nova,shail2810/nova,fnordahl/nova,projectcalico/calico-nova,leilihh/nova,Juniper/nova,mikalstill/nova,CCI-MOC/nova,OpenAcademy-OpenStack/nova-scheduler,maelnor/nova,yosshy/nova,joker946/nova,klmitch/nova,TwinkleChawla/nova,JioCloud/nova_test_latest,vmturbo/nova,apporc/nova,jeffrey4l/nova,BeyondTheClouds/nova,ruslanloman/nova,yatinkumbhare/openstack-nova,bgxavier/nova,tanglei528/nova,double12gzh/nova,mahak/nova,yosshy/nova,rrader/nova-docker-plugin,openstack/nova,petrutlucian94/nova,devendermishrajio/nova_test_latest,Metaswitch/calico-nova,mandeepdhami/nova,noironetworks/nova,Juniper/nova,felixma/nova,zaina/nova,tianweizhang/nova,isyippee/nova,vmturbo/nova,spring-week-topos/nova-week,rahulunair/nova,devendermishrajio/nova,hanlind/nova,Juniper/nova,whitepages/nova,dawnpower/nova,hanlind/nova,CiscoSystems/nova,zzicewind/nova,nikesh-mahalka/nova,CiscoSystems/nova,Yusuke1987/openstack_template,CloudServer/nova,dims/nova,Tehsmash/nova,noironetworks/nova,JianyuWang/nova,tealover/nova,klmitch/nova,tanglei528/nova,tudorvio/nova,MountainWei/nova,adelina-t/nova,mahak/nova,BeyondTheClouds/nova,sacharya/nova,felixma/nova,fnordahl/nova,gooddata/openstack-nova,gooddata/openstack-nova,isyippee/nova,JioCloud/nova,j-carpentier/nova,projectcalico/calico-nova,mgagne/nova,dims/nova,silenceli/nova,CloudServer/nova,shail2810/nova,eharney/nova,ted-gould/nova,takeshineshiro/nova,luogangyi/bcec-nova,eayunstack/nova,rajalokan/nova,edulramirez/nova,sebrandon1/nova,CEG-FYP-OpenStack/scheduler,spring-week-topos/nova-week