diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2017-10-02 13:15:12 +0000 |
---|---|---|
committer | Ryota Mibu <r-mibu@cq.jp.nec.com> | 2017-10-02 15:07:29 +0000 |
commit | 94d05da570a6c2f6be987ef9af8b05c66672cf56 (patch) | |
tree | a199dbc8f2273cbbf791481f08285cde63228d6f /doctor_tests/inspector | |
parent | 6799dee0b48647e5c45fa9341d88822636895259 (diff) |
fix referring neutron option in inspector
Change-Id: I01173cdf301f168edebfc2ec6df82b015adebca7
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
(cherry picked from commit 1bec48cd10057821828ffca3f5ecf31b853c66f7)
Diffstat (limited to 'doctor_tests/inspector')
-rw-r--r-- | doctor_tests/inspector/sample.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doctor_tests/inspector/sample.py b/doctor_tests/inspector/sample.py index fcdb48fe..54328727 100644 --- a/doctor_tests/inspector/sample.py +++ b/doctor_tests/inspector/sample.py @@ -35,7 +35,7 @@ class SampleInspector(BaseInspector): auth = get_identity_auth(project=self.conf.doctor_project) session = get_session(auth=auth) - if self.conf.update_neutron_port_dp_status: + if self.conf.inspector.update_neutron_port_dp_status: self.neutron = neutron_client(session) self.servers = collections.defaultdict(list) @@ -95,11 +95,11 @@ class SampleInspector(BaseInspector): self.hostnames.append(hostname) thr1 = self._disable_compute_host(hostname) thr2 = self._vms_reset_state('error', hostname) - if self.conf.update_neutron_port_dp_status: + if self.conf.inspector.update_neutron_port_dp_status: thr3 = self._set_ports_data_plane_status('DOWN', hostname) thr1.join() thr2.join() - if self.conf.update_neutron_port_dp_status: + if self.conf.inspector.update_neutron_port_dp_status: thr3.join() @utils.run_async |