Dan Kenigsberg has submitted this change and it was merged.

Change subject: vdscli: make __getLocalVdsName more robust
......................................................................


vdscli: make __getLocalVdsName more robust

vdscli attempts to guess the name of the local host by reading the
"subject" of its openssl certificate.

On Fedora 19, the order of the subject fields has changed. This patch
makes __getLocalVdsName a bit more robust, and adds a unit test for it.

Change-Id: I56bf79904cdf5d0dfcba773f096df1d3ec1670fe
Signed-off-by: Dan Kenigsberg <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/16059
Reviewed-by: Antoni Segura Puimedon <[email protected]>
---
M lib/vdsm/vdscli.py.in
M tests/vdsClientTests.py
2 files changed, 50 insertions(+), 2 deletions(-)

Approvals:
  Antoni Segura Puimedon: Looks good to me, but someone else must approve
  Dan Kenigsberg: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I56bf79904cdf5d0dfcba773f096df1d3ec1670fe
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Giuseppe Vallarelli <[email protected]>
Gerrit-Reviewer: Petr Ĺ ebek <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to