You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2005/09/29 00:04:42 UTC

svn commit: r292329 - /directory/apacheds/trunk/core/src/main/schema/apachedns.schema

Author: erodriguez
Date: Wed Sep 28 15:04:40 2005
New Revision: 292329

URL: http://svn.apache.org/viewcvs?rev=292329&view=rev
Log:
Addition to apachedns.schema to support DIRDNS-4 (Add support for service location SRV records)
o  Added new objectClass for the SRV record type.
o  Added 3 new attributeTypes for SRV priority, weight, and port.

http://issues.apache.org/jira/browse/DIRDNS-4

Modified:
    directory/apacheds/trunk/core/src/main/schema/apachedns.schema

Modified: directory/apacheds/trunk/core/src/main/schema/apachedns.schema
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/schema/apachedns.schema?rev=292329&r1=292328&r2=292329&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/schema/apachedns.schema (original)
+++ directory/apacheds/trunk/core/src/main/schema/apachedns.schema Wed Sep 28 15:04:40 2005
@@ -76,6 +76,21 @@
 	EQUALITY caseIgnoreIA5Match
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE )
 
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.25 NAME 'apacheDnsServicePriority'
+	DESC 'The unsigned 16 bit priority of this target host'
+	EQUALITY integerMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.26 NAME 'apacheDnsServiceWeight'
+	DESC 'The unsigned 16 bit weight specifying a relative weight for entries with the same priority'
+	EQUALITY integerMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.27 NAME 'apacheDnsServicePort'
+	DESC 'The unsigned 16 bit port on this target host of this service'
+	EQUALITY integerMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
 objectclass ( 1.2.6.1.4.1.18060.1.1.1.4.6
 	NAME 'apacheDnsAbstractRecord'
 	DESC 'An abstract DNS record objectClass used to build other specific structural objectclasses for different record types'
@@ -124,3 +139,9 @@
 	DESC 'A text TXT record'
 	SUP apacheDnsAbstractRecord 
 	MUST apacheDnsCharacterString )
+
+objectclass ( 1.2.6.1.4.1.18060.1.1.1.4.10
+	NAME 'apacheDnsServiceRecord'
+	DESC 'A service SRV record'
+	SUP apacheDnsAbstractRecord 
+	MUST ( apacheDnsServicePriority $ apacheDnsServiceWeight $ apacheDnsServicePort $ apacheDnsDomainName ) )