From 3af1c93c0de41be1cdfc0e6aff1d1c98f1d5530b Mon Sep 17 00:00:00 2001
From: mrossign <mrossign@localhost>
Date: Tue, 07 Jul 2009 09:15:52 +0000
Subject: [PATCH] Fractional replication Info about the feature: https://www.opends.org/wiki/page/FractionalReplication
---
opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml | 95 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 95 insertions(+), 0 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
index b4a5726..8930324 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
@@ -345,4 +345,99 @@
</ldap:attribute>
</adm:profile>
</adm:property>
+ <adm:property name="fractional-include" multi-valued="true" mandatory="false"
+ advanced="true">
+ <adm:synopsis>
+ Allows to include some attributes to replicate to this server.
+ </adm:synopsis>
+ <adm:description>
+ If fractional-include configuration attribute is used, only attributes
+ specified in this attribute will be added/modified/deleted when an
+ operation performed from another directory server is being replayed in the
+ local server. Note that the usage of this configuration attribute is
+ mutually exclusive with the usage of the fractional-exclude attribute.
+ </adm:description>
+ <adm:default-behavior>
+ <adm:undefined/>
+ </adm:default-behavior>
+ <adm:syntax>
+ <adm:string>
+ <adm:pattern>
+ <!-- This java regex is mostly derived from keystring BNF definition
+ that can be found in RFC 2252, section "4.1. Common Encoding Aspects".
+ This can be read as: (oid|\*):oid(,oid)*+
+ -->
+ <adm:regex>^((([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+)|\\*):(([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+)(,(([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+))*+$</adm:regex>
+ <adm:usage>Syntax:
+ className:attributeName[,attributeName]
+ or
+ *:attributeName[,attributeName]
+ Note that any class (className) or attribute (attributeName) definition can be replaced with its OID definition.
+ Examples:
+ - inetOrgPerson:uid,employeeNumber : 'uid' and 'employeeNumber' attributes of any entry of type 'inetOrgPerson' class.
+ This can also be 2.16.840.1.113730.3.2.2:0.9.2342.19200300.100.1.1,2.16.840.1.113730.3.1.3 or a mix.
+ - *:description : the 'description' attribute of any entry that has this attribute.
+ This can also be *:2.5.4.13
+ </adm:usage>
+ <adm:synopsis>
+ Defines attribute(s) of one particular class or of all possible
+ classes, to include in the replication.
+ </adm:synopsis>
+ </adm:pattern>
+ </adm:string>
+ </adm:syntax>
+ <adm:profile name="ldap">
+ <ldap:attribute>
+ <ldap:name>ds-cfg-fractional-include</ldap:name>
+ </ldap:attribute>
+ </adm:profile>
+ </adm:property>
+ <adm:property name="fractional-exclude" multi-valued="true" mandatory="false"
+ advanced="true">
+ <adm:synopsis>
+ Allows to exclude some attributes to replicate to this server.
+ </adm:synopsis>
+ <adm:description>
+ If fractional-exclude configuration attribute is used, attributes
+ specified in this attribute will be ignored (not added/modified/deleted)
+ when an operation performed from another directory server is being
+ replayed in the local server. Note that the usage of this configuration
+ attribute is mutually exclusive with the usage of the fractional-include
+ attribute.
+ </adm:description>
+ <adm:default-behavior>
+ <adm:undefined/>
+ </adm:default-behavior>
+ <adm:syntax>
+ <adm:string>
+ <adm:pattern>
+ <!-- This java regex is mostly derived from keystring BNF definition
+ that can be found in RFC 2252, section "4.1. Common Encoding Aspects".
+ This can be read as: (oid|\*):oid(,oid)*+
+ -->
+ <adm:regex>^((([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+)|\\*):(([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+)(,(([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+))*+$</adm:regex>
+ <adm:usage>Syntax:
+ className:attributeName[,attributeName]
+ or
+ *:attributeName[,attributeName].
+ Note that any class (className) or attribute (attributeName) definition can be replaced with its OID definition.
+ Examples:
+ inetOrgPerson:photo,jpegPhoto : 'photo' and 'jpegPhoto' attributes of any entry of type 'inetOrgPerson' class.
+ This can also be 2.16.840.1.113730.3.2.2:0.9.2342.19200300.100.1.7,0.9.2342.19200300.100.1.60 or a mix.
+ *:jpegPhoto : the 'jpegPhoto' attribute of any entry that has this attribute.
+ This can also be *:0.9.2342.19200300.100.1.60
+ </adm:usage>
+ <adm:synopsis>
+ Defines attribute(s) of one particular class or of all possible
+ classes, to exclude from the replication.
+ </adm:synopsis>
+ </adm:pattern>
+ </adm:string>
+ </adm:syntax>
+ <adm:profile name="ldap">
+ <ldap:attribute>
+ <ldap:name>ds-cfg-fractional-exclude</ldap:name>
+ </ldap:attribute>
+ </adm:profile>
+ </adm:property>
</adm:managed-object>
--
Gitblit v1.10.0