From e349126d23ab22a1ef0640277bb672d63e6dd27b Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Mon, 22 Sep 2014 10:10:09 +0000
Subject: [PATCH] OPENDJ-1565 CR-4564: Optionally bind to a local address

---
 opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml
index f9f5904..177eeea 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml
@@ -75,6 +75,30 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
+  <adm:property name="source-address" multi-valued="false" mandatory="false">
+    <adm:synopsis>
+      If specified, the server will bind to the address before connecting to the
+      remote server.
+    </adm:synopsis>
+    <adm:description>
+      The address must be one assigned to an existing network interface.
+    </adm:description>
+    <adm:default-behavior>
+      <adm:alias>
+        <adm:synopsis>
+          Let the server decide.
+        </adm:synopsis>
+      </adm:alias>
+    </adm:default-behavior>
+    <adm:syntax>
+        <adm:ip-address />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-source-address</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
   <adm:property name="replication-server-id" mandatory="true"
     read-only="true">
     <adm:synopsis>

--
Gitblit v1.10.0