Cleaned up class variable scope issue.
Cleaned up class variable scope issue.

self.router was used as a local variable to a few functions.

Change-Id: I3d6aa0731a227c255ad9966ea3c5052a2fa4898d
Closes-Bug: #1482299

sebrandon1/tempest,rakeshmi/tempest,bigswitch/tempest,akash1808/tempest,roopali8/tempest,manasi24/tempest,LIS/lis-tempest,tonyli71/tempest,openstack/tempest,masayukig/tempest,varunarya10/tempest,pczerkas/tempest,bigswitch/tempest,rakeshmi/tempest,roopali8/tempest,pandeyop/tempest,tudorvio/tempest,tudorvio/tempest,flyingfish007/tempest,akash1808/tempest,Juniper/tempest,zsoltdudas/lis-tempest,xbezdick/tempest,flyingfish007/tempest,vedujoshi/tempest,tonyli71/tempest,cisco-openstack/tempest,zsoltdudas/lis-tempest,pczerkas/tempest,manasi24/jiocloud-tempest-qatempest,vedujoshi/tempest,Tesora/tesora-tempest,cisco-openstack/tempest,izadorozhna/tempest,JioCloud/tempest,sebrandon1/tempest,manasi24/tempest,varunarya10/tempest,JioCloud/tempest,Juniper/tempest,pandeyop/tempest,LIS/lis-tempest,openstack/tempest,Tesora/tesora-tempest,xbezdick/tempest,izadorozhna/tempest,masayukig/tempest,dkalashnik/tempest,manasi24/jiocloud-tempest-qatempest,dkalashnik/tempest