Use uuidutils for uuid validation
Use uuidutils for uuid validation

Removed api.v2.attributes import
Removed re import
Fixed if-else statement to enhance readability

Change-Id: Id4c107f3bc8c6eb94ae155814538b8f6081cb93b

oeeagle/quantum,zhhf/charging,suneeth51/neutron,vijayendrabvs/ssl-neutron,netscaler/neutron,cisco-openstack/neutron,armando-migliaccio/neutron,CiscoSystems/quantum,infobloxopen/neutron,aristanetworks/arista-ovs-quantum,citrix-openstack-build/neutron,eayunstack/neutron,tpaszkowski/quantum,igor-toga/local-snat,Juniper/neutron,miyakz1192/neutron,Brocade-OpenSource/OpenStack-DNRM-Neutron,silenci/neutron,magic0704/neutron,rickerc/neutron_audit,vivekanand1101/neutron,cloudbase/neutron-virtualbox,leeseulstack/openstack,magic0704/neutron,eonpatapon/neutron,jerryz1982/neutron,ykaneko/quantum,mahak/neutron,ntt-sic/neutron,yamahata/neutron,blueboxgroup/neutron,klmitch/neutron,vveerava/Openstack,netscaler/neutron,MaximNevrov/neutron,aristanetworks/arista-ovs-quantum,leeseuljeong/leeseulstack_neutron,bgxavier/neutron,takeshineshiro/neutron,igor-toga/local-snat,chitr/neutron,dims/neutron,gopal1cloud/neutron,CiscoSystems/vespa,jacknjzhou/neutron,watonyweng/neutron,liqin75/vse-vpnaas-plugin,klmitch/neutron,cisco-openstack/neutron,cloudbase/neutron,blueboxgroup/neutron,jerryz1982/neutron,redhat-openstack/neutron,yamahata/tacker,armando-migliaccio/neutron,gopal1cloud/neutron,sasukeh/neutron,citrix-openstack-build/neutron,rossella/neutron,armando-migliaccio/neutron,huntxu/neutron,virtualopensystems/neutron,ykaneko/neutron,dims/neutron,eayunstack/neutron,Juniper/neutron,leeseulstack/openstack,wolverineav/neutron,Comcast/neutron,CiscoSystems/quantum,neoareslinux/neutron,apporc/neutron,JianyuWang/neutron,skyddv/neutron,yamt/neutron,vbannai/neutron,javaos74/neutron,kaiweifan/vse-lbaas-plugin-poc,bigswitch/neutron,yamt/neutron,vivekanand1101/neutron,liqin75/vse-vpnaas-plugin,adelina-t/neutron,Juniper/contrail-dev-neutron,ykaneko/quantum,ykaneko/neutron,sajuptpm/neutron-ipam,rickerc/neutron_audit,rossella/neutron,SmartInfrastructures/neutron,CiscoSystems/neutron,cloudbase/neutron-virtualbox,ykaneko/neutron,CiscoSystems/vespa,leeseuljeong/leeseulstack_neutron,leeseuljeong/leeseulstack_neutron,JioCloud/neutron,shahbazn/neutron,barnsnake351/neutron,rdo-management/neutron,MaximNevrov/neutron,swdream/neutron,zhhf/charging,zhhf/charging,barnsnake351/neutron,bgxavier/neutron,waltBB/neutron_read,alexandrucoman/vbox-neutron-agent,jumpojoy/neutron,waltBB/neutron_read,dhanunjaya/neutron,Metaswitch/calico-neutron,tpaszkowski/quantum,Juniper/neutron,projectcalico/calico-neutron,citrix-openstack-build/neutron,yuewko/neutron,beagles/neutron_hacking,netscaler/neutron,wenhuizhang/neutron,openstack/neutron,watonyweng/neutron,paninetworks/neutron,neoareslinux/neutron,liqin75/vse-vpnaas-plugin,tpaszkowski/quantum,kaiweifan/vse-lbaas-plugin-poc,apporc/neutron,huntxu/neutron,mattt416/neutron,SamYaple/neutron,blueboxgroup/neutron,rdo-management/neutron,Comcast/neutron,ntt-sic/neutron,openstack/neutron,oeeagle/quantum,mandeepdhami/neutron,projectcalico/calico-neutron,vijayendrabvs/hap,rossella/neutron,CiscoSystems/neutron,pnavarro/neutron,eonpatapon/neutron,skyddv/neutron,armando-migliaccio/neutron,ykaneko/quantum,vijayendrabvs/hap,beagles/neutron_hacking,virtualopensystems/neutron,asgard-lab/neutron,yamahata/tacker,dhanunjaya/neutron,mattt416/neutron,glove747/liberty-neutron,yamt/neutron,ykaneko/quantum,Metaswitch/calico-neutron,takeshineshiro/neutron,ntt-sic/neutron,chitr/neutron,jacknjzhou/neutron,rossella/neutron,redhat-openstack/neutron,yuewko/neutron,vijayendrabvs/ssl-neutron,noironetworks/neutron,wenhuizhang/neutron,Juniper/contrail-dev-neutron,sebrandon1/neutron,javaos74/neutron,gkotton/neutron,paninetworks/neutron,virtualopensystems/neutron,cernops/neutron,kaiweifan/vse-lbaas-plugin-poc,sajuptpm/neutron-ipam,rickerc/neutron_audit,sebrandon1/neutron,vveerava/Openstack,mandeepdhami/neutron,Brocade-OpenSource/OpenStack-DNRM-Neutron,CiscoSystems/neutron,yamt/neutron,vijayendrabvs/hap,kaiweifan/neutron,openstack/neutron,mahak/neutron,antonioUnina/neutron,silenci/neutron,mmnelemane/neutron,adelina-t/neutron,vbannai/neutron,yanheven/neutron,cernops/neutron,asgard-lab/neutron,gkotton/neutron,JioCloud/neutron,SamYaple/neutron,Stavitsky/neutron,swdream/neutron,cloudbase/neutron,bigswitch/neutron,Stavitsky/neutron,liqin75/vse-vpnaas-plugin,CiscoSystems/quantum,Juniper/contrail-dev-neutron,NeCTAR-RC/neutron,aristanetworks/arista-ovs-quantum,sasukeh/neutron,alexandrucoman/vbox-neutron-agent,suneeth51/neutron,kaiweifan/neutron,leeseulstack/openstack,pnavarro/neutron,vveerava/Openstack,yanheven/neutron,mmnelemane/neutron,kaiweifan/neutron,Comcast/neutron,antonioUnina/neutron,Brocade-OpenSource/OpenStack-DNRM-Neutron,CiscoSystems/vespa,infobloxopen/neutron,yamahata/tacker,jumpojoy/neutron,NeCTAR-RC/neutron,mahak/neutron,glove747/liberty-neutron,aristanetworks/neutron,noironetworks/neutron,shahbazn/neutron,gkotton/neutron,yamahata/neutron,yamahata/neutron,vijayendrabvs/ssl-neutron,tpaszkowski/quantum,aristanetworks/neutron,beagles/neutron_hacking,aristanetworks/arista-ovs-quantum,kaiweifan/vse-lbaas-plugin-poc,sajuptpm/neutron-ipam,JianyuWang/neutron,miyakz1192/neutron,SmartInfrastructures/neutron,vbannai/neutron,wolverineav/neutron