diff options
| author | Josh Kearney <josh@jk0.org> | 2011-05-18 11:27:39 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-05-18 11:27:39 -0500 |
| commit | 4d025ef1d2b2b97c13d710cb5080b78e246215bc (patch) | |
| tree | 34cc789f8ee8ff6f1773ff66ebfd4edce7e41fce /nova/virt | |
| parent | d9a87dd0dcb703a84c5f642c323d7b2ff68410a6 (diff) | |
| download | nova-4d025ef1d2b2b97c13d710cb5080b78e246215bc.tar.gz nova-4d025ef1d2b2b97c13d710cb5080b78e246215bc.tar.xz nova-4d025ef1d2b2b97c13d710cb5080b78e246215bc.zip | |
Added missing xenhost plugin.
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): |
