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 <msivak(a)redhat.com>
Reviewed-on:
https://gerrit.ovirt.org/42228
Reviewed-by: Adam Litke <alitke(a)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 <msivak(a)redhat.com>
Gerrit-Reviewer: Adam Litke <alitke(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org