Change in vdsm[master]: libvirtconnection: add function to create a new connection

danken at redhat.com danken at redhat.com
Fri Nov 7 21:33:52 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: libvirtconnection: add function to create a new connection
......................................................................


libvirtconnection: add function to create a new connection

Added a new function open_connection(), which accept credentials and uri,
This will open a new libvirt connection and will not be handled by the
wrapMethod() and will not be stored by the __connection dictionary.

The new function will be needed by the v2v future patches which will need
to connect to a remote libvirt given an uri.

Signed-off-by: Shahar Havivi <shaharh at redhat.com>
Change-Id: I3481d56ee19afec14b36b98b412278148b26379e
Reviewed-on: http://gerrit.ovirt.org/34293
Reviewed-by: Francesco Romani <fromani at redhat.com>
Tested-by: Shahar Havivi <shavivi at redhat.com>
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M lib/vdsm/libvirtconnection.py
M tests/libvirtconnectionTests.py
2 files changed, 18 insertions(+), 6 deletions(-)

Approvals:
  Nir Soffer: Looks good to me, but someone else must approve
  Shahar Havivi: Verified
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/34293
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3481d56ee19afec14b36b98b412278148b26379e
Gerrit-PatchSet: 11
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list