diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-05-19 09:40:34 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-05-19 09:40:34 -0400 |
| commit | 19e21e4a75dd34b05cfefc2ed5535297077ff97c (patch) | |
| tree | 4744761e82b6d87fcd0b5346927746c235c13172 /nova/virt | |
| parent | 64e9aa6daa416662a25eeab0d943b23906695e92 (diff) | |
| parent | 330b3febe9970a0358cbc145ea88faeb3da121d5 (diff) | |
merge from trunk
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/xenapi_conn.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/virt/xenapi_conn.py b/nova/virt/xenapi_conn.py index eb572f295..6d828e109 100644 --- a/nova/virt/xenapi_conn.py +++ b/nova/virt/xenapi_conn.py @@ -169,15 +169,15 @@ class XenAPIConnection(driver.ComputeDriver): def __init__(self, url, user, pw): super(XenAPIConnection, self).__init__() - session = XenAPISession(url, user, pw) - self._vmops = VMOps(session) - self._volumeops = VolumeOps(session) + self._session = XenAPISession(url, user, pw) + self._vmops = VMOps(self._session) + self._volumeops = VolumeOps(self._session) self._host_state = None @property def HostState(self): if not self._host_state: - self._host_state = HostState(self.session) + self._host_state = HostState(self._session) return self._host_state def init_host(self, host): |
