From 100a7f8b6227b86957e9c95fe51796b1435203e9 Mon Sep 17 00:00:00 2001
From: Sebastien Bertholet <sebastien.bertholet@forgerock.com>
Date: Wed, 14 May 2008 07:30:21 +0000
Subject: [PATCH] allow to use secure replication and to enable ssl (LDAPsport)

---
 opends/tests/system-tests/phases/parser/parser.py |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/opends/tests/system-tests/phases/parser/parser.py b/opends/tests/system-tests/phases/parser/parser.py
index a80624a..87db426 100755
--- a/opends/tests/system-tests/phases/parser/parser.py
+++ b/opends/tests/system-tests/phases/parser/parser.py
@@ -338,7 +338,7 @@
   def __init__(self, iid, name, product, role, host, installDir, tarball, \
                portLDAP, portLDAPS, portJMX, portREPL, \
                sslEnabled, certificate, startTlsEnabled, \
-               tuning):
+               secureReplication,tuning):
     # from instance object
     self.iid             = iid
     self.name            = name
@@ -356,6 +356,7 @@
     self.sslEnabled      = sslEnabled
     self.certificate     = certificate
     self.startTlsEnabled = startTlsEnabled
+    self.secureReplication = secureReplication
     self.tuning          = tuning
     
   def getLDAPSPort(self):
@@ -381,7 +382,10 @@
     
   def getIsStartTlsEnabled(self):
     return self.startTlsEnabled
-    
+  
+  def getSecureReplication(self):
+    return self.secureReplication
+  
   def getTuning(self):
     return self.tuning
 
@@ -657,6 +661,7 @@
   cSslEnabled      = 'false'
   cCertificate     = NOT_DEFINED
   cStartTlsEnabled = 'false'
+  cSecureReplication  = 'false'
   cIsJava          = 'false'
   cXms             = NOT_DEFINED
   cXmx             = NOT_DEFINED
@@ -724,7 +729,7 @@
         cSslEnabled      = _getAttributeNode(thisSubChild,'sslEnabled')
         cCertificate     = _getAttributeNode(thisSubChild,'certificate')
         cStartTlsEnabled = _getAttributeNode(thisSubChild,'startTlsEnabled')
-        
+        cSecureReplication = _getAttributeNode(thisSubChild,'secureReplication')
       
       elif (thisSubChild.getNodeType() == Node.ELEMENT_NODE and
           thisSubChild.getNodeName() == 'tuning'):
@@ -801,7 +806,7 @@
                              opendsZip,\
                              cPortLDAP,cPortLDAPS,cPortJMX,cPortREPL,\
                              cSslEnabled,cCertificate,cStartTlsEnabled,\
-                             cOpendsTuning)]
+                             cSecureReplication,cOpendsTuning)]
 
 
 

--
Gitblit v1.10.0