838ae8f47c
The zerorpc package is a light-weight, reliable and language-agnostic library for distributed communication between server-side processes. It builds on top of ZeroMQ and MessagePack. This package is required for sysinv ZeroMQ-based RPC backend [1]. TEST PLAN: PASS: Verify STX Debian builds properly PASS: Verify STX Debian deploys properly PASS: Verify zerorpc-python package was properly installed PASS: Verify syinv processes runs properly [1] https://review.opendev.org/c/starlingx/config/+/859571 Story: 2010087 Task: 46794 Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com> Change-Id: I62565e2ce39c0bed63506bfcabf909d5cf186ec1
26 lines
818 B
Diff
26 lines
818 B
Diff
From a1fc1732602377846f1c94111b624e33053336c0 Mon Sep 17 00:00:00 2001
|
|
From: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
|
|
Date: Thu, 20 Oct 2022 17:43:37 -0300
|
|
Subject: [PATCH] Add IPV6 support
|
|
|
|
Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
|
|
---
|
|
zerorpc/events.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/zerorpc/events.py b/zerorpc/events.py
|
|
index f24cc2f..a0de3f0 100644
|
|
--- a/zerorpc/events.py
|
|
+++ b/zerorpc/events.py
|
|
@@ -252,6 +252,7 @@ class Events(ChannelBase):
|
|
self._zmq_socket_type = zmq_socket_type
|
|
self._context = context or Context.get_instance()
|
|
self._socket = self._context.socket(zmq_socket_type)
|
|
+ self._socket.setsockopt(zmq.IPV6, True)
|
|
self._encoder = encoder
|
|
self._decoder = decoder
|
|
|
|
--
|
|
2.25.1
|
|
|