Change in ovirt-engine[master]: core: Use ping verb to check connectivity with host

masayag at redhat.com masayag at redhat.com
Wed May 30 12:57:58 UTC 2012


Moti Asayag has submitted this change and it was merged.

Change subject: core: Use ping verb to check connectivity with host
......................................................................


core: Use ping verb to check connectivity with host

The previous check connectivity used the getCapabilities verb to verify
ovirt-engine is capable of connecting to the host. However, it was used
only to assure the host is responsive and accessible, regardless the
returned data from the getCapabilities.

The patch replaces the use of 'getCapabilities' with 'ping' verb, which
is lighter and should response quicker, with less processing done on the
host.

Change-Id: Ic528aad6a3489d133da4b8c56c07cb6363e0de2f
Signed-off-by: Moti Asayag <masayag at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetupNetworksCommand.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/PollVDSCommand.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsServerConnector.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsServerWrapper.java
4 files changed, 11 insertions(+), 7 deletions(-)

Approvals:
  Moti Asayag: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic528aad6a3489d133da4b8c56c07cb6363e0de2f
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>



More information about the Engine-commits mailing list