db.security_group_rule_destroy() method performance optimization
db.security_group_rule_destroy() method performance optimization

1 db requst instead of 2

blueprint db-session-cleanup

Change-Id: I094632c422aa9d10278c1b85ec9f4d51a54541b1

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