Signed-off-by: Angus Salkeld <[email protected]>
---
cts/corotests.py | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/cts/corotests.py b/cts/corotests.py
index 514ca3a..6b331ce 100644
--- a/cts/corotests.py
+++ b/cts/corotests.py
@@ -33,6 +33,7 @@ Copyright (c) 2010 Red Hat, Inc.
# THE POSSIBILITY OF SUCH DAMAGE.
import random
+import socket
from UserDict import UserDict
from cts.CTStests import *
from corosync import CpgTestAgent
@@ -1630,6 +1631,15 @@ def CoroTestList(cm, audits):
else:
print 'Not including rrp tests. Use --rrp-binaddr to enable them.'
+ u = ConfigContainer('udpu')
+ u['totem/transport'] = 'udpu'
+ num_nodes = 1
+ for n in cm.Env["nodes"]:
+ conf_name = 'totem/interface[1]/member[%d]/memberaddr' % num_nodes
+ u[conf_name] = socket.gethostbyname(n)
+ num_nodes = num_nodes + 1
+ configs.append(u)
+
num=1
for cfg in configs:
for testclass in GenTestClasses:
--
1.7.3.1
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais