Adam Litke has submitted this change and it was merged.

Change subject: Allow using unix socket for the RPC port
......................................................................


Allow using unix socket for the RPC port

This adds a code that is able to start an XML-RPC server listening
on unix socket. MOM first tries to see if the port can be parsed as
a number and uses it as a path when it is not.

port -1 - no RPC
port <number> - TCP based XML-RPC
port <anything else> - unixsock based XML-RPC

Change-Id: I6617d92c94259dff604acaa2b6481ef9595522a4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1227714
Signed-off-by: Martin Sivak <msi...@redhat.com>
Reviewed-on: https://gerrit.ovirt.org/42228
Reviewed-by: Adam Litke <ali...@redhat.com>
---
M mom/Makefile.am
M mom/RPCServer.py
A mom/unixrpc.py
3 files changed, 65 insertions(+), 7 deletions(-)

Approvals:
  Adam Litke: Looks good to me, approved
  Martin Sivák: Verified



-- 
To view, visit https://gerrit.ovirt.org/42228
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6617d92c94259dff604acaa2b6481ef9595522a4
Gerrit-PatchSet: 5
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: Adam Litke <ali...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to