Put following process on setup_vlan() into try statement to close ssh
session when an exception is raised while processing these method.
self.client.connect()
self.client.set_vlan()
self.client.disconnect()
Change-Id: Ice3d7d897df130d4bdf4a7d434213b97874af9cc
Closes-Bug: #1665498
(cherry picked from commit e5872b3b4e9338d240d87b28e8d8fc21474b97e2)
Reviewed: https:/ /review. openstack. org/453121 /git.openstack. org/cgit/ openstack/ networking- fujitsu/ commit/ ?id=f9c67e36866 07f1ede6d0a2cc6 894d8cef8d6078
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit f9c67e3686607f1 ede6d0a2cc6894d 8cef8d6078
Author: takanorimiyagishi <email address hidden>
Date: Wed Mar 29 15:18:12 2017 +0900
Close ssh for setup_vlan when error has occurred
Put following process on setup_vlan() into try statement to close ssh client. connect( ) client. set_vlan( ) client. disconnect( )
session when an exception is raised while processing these method.
self.
self.
self.
Change-Id: Ice3d7d897df130 d4bdf4a7d434213 b97874af9cc 240d87b28e8d8fc 21474b97e2)
Closes-Bug: #1665498
(cherry picked from commit e5872b3b4e9338d