Removed code duplication in conductor.api
Removed code duplication in conductor.api

Used inheritance to avoid logic duplication in conductor.api classes

Fixes: bug #1188577

Change-Id: Id0bedb974354177dc3c6f6562e836924bcaafb08

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