#a description of the CCM datastore schema in old ao_datadict format
#
# For now, manually translated from new format object description
# syntax in ../mspec/ccm_data.mspec.
#
# $Id: ccm_datadict_6_1_3,v 1.1 2005/10/24 20:17:21 mjs Exp $

SCHEMA: 1.1.0
CLASS: CCMZone
CLASSID: 1410
CLASSNAME: 1
CLASSDESC:: eod
The CCM layer description for a forward (non-in-addr.arpa) DNS zone.  
This object describes the configuration required for a primary DNS
zone.  There is a similar primary zone object for reverse zones 
(CCMReverseZone) and a common secondary object for zone configuration
on a secondary DNS server.
eod

ATTR: origin
ATTRID: 1
ATTRTYPE: AT_DNSNAME
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE,AF_IMMUTABLE
ATTRDESC:: eod
The fully-qualified name of the zone's root.  The zone name.
eod

ATTR: records
ATTRID: 2
ATTRTYPE: AT_NLIST(AT_OBJ(CCMRRSet))
# 0x10000 + classid(CCMRRSet)=1417
ATTRVAL: 66953
ATTRVIZ: 1
ATTRDESC:: eod
If we ever try to manage lots of small zones (< 100 RRs or so,
maybe more), then it will be easier to manage the zone and its
RRs as a single object rather than as a related group of objects.

We will need to continue supporting zones with many thousands
of RRs, so we will never remove support for the more complex
and more scalable CCMRRSet/CCMZone model.
eod

ATTR: parent
ATTRID: 3
ATTRTYPE: AT_NAMEREF(CCMZone.origin)
ATTRVAL: 1410
ATTRVIZ: 1
ATTRDESC:: eod
The name of the parent zone, not used since it is fairly easy to
find the most containing zone name.
eod

ATTR: restrict-xfer
ATTRID: 6
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Restricts sending zone transfers to a specific set of hosts. If you
restrict zone transfers, you need to use the restrict-xfer-acl
property to specify the access control list of who is allowed to
perform zone transfers.
eod

ATTR: dynamic
ATTRID: 7
ATTRTYPE: AT_BOOL
ATTRDEFVAL: true
ATTRDESC:: eod
Enables RFC 2136 dynamic updates to the zone.  The most typical source
of these updates is a DHCP server. The UIs also need this attribute 
enabled in order to allow dynamic updates on the zone. Defaults to 
enabled.
eod

ATTR: restricted-set
ATTRID: 8
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRVIZ: 1
DEPRECATED: 5.0
ATTRDESC:: eod
The set of IP addresses which may request zone transfers,
when "restrict-xfer" is enabled.  Addresses with zeros in the
least significant octets are treated as network numbers,
with implicit masks in octet multiples.
eod

# Not used in 6.0
# ATTR: dynupdate-set
# ATTRID: 9
# ATTRTYPE: AT_NLIST(AT_IPADDR)

ATTR: notify
ATTRID: 11
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Enables notification of other authoritative servers when this
zone changes.  When set, to either true or false, it overrides the
global "notify" value for this zone.
eod

ATTR: notify-set
ATTRID: 12
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRDESC:: eod
An optional list of additional servers to notify when this zone
changes.  All servers listed in NS records for the zone, with the
exception of the server described by the "ns" property of the zone
(the mname field of the SOA record) will receive notifications.
Servers listed in "notify-list" will also be notified.
eod

ATTR: update-acl
ATTRID: 13
ATTRTYPE: AT_AMELST
ATTRVIZ: 5
ATTRDESC:: eod
The access control list for DNS updates to the zone, specified as an
address match element list. The access control list is not applied
to dynamic updates coming from the UIs. Updates from the UIs are 
always allowed as long as the zone attribute dynamic is enabled. 
eod

ATTR: template
ATTRID: 20
# AT_OBJREF(CCMZoneTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1424
ATTRDESC:: eod
The zone template last applied to the zone.
eod

ATTR: serial
ATTRID: 21
ATTRTYPE: AT_INT
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
Administratively specified serial number. Note that the serial number 
must never regress; hence, this serial number is only accepted only  
if it is more advanced than the actual (dynamic) serial number.
eod

ATTR: soattl
ATTRID: 30
ATTRTYPE: AT_DNSTTL
ATTRDESC:: eod
The ttl value to be applied to the zone's SOA rr.
eod

ATTR: ns
ATTRID: 31
ATTRTYPE: AT_DNSNAME
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The fully-qualified domain name of the primary name server for this 
zone. This host is the original or primary source of data for this 
zone.
eod

ATTR: person
ATTRID: 32
ATTRTYPE: AT_DNSNAME
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
A domain name which specifies the mailbox of the person
responsible for this zone.  The first label is a user or mail
alias, the rest of the labels are a mail destination.  A mailbox
of hostmaster@test.com would be represented as hostmaster.test.com.
eod

ATTR: refresh
ATTRID: 33
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 3h
ATTRDESC:: eod
The refresh interval, in seconds, of the zone. Used by secondaries
as the period of polling for zone changes.
eod

ATTR: retry
ATTRID: 34
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 1h
ATTRDESC:: eod
The retry interval, in seconds, of the zone. Used by secondaries
as the period of retrying when polling for changes, or attempting
a zone transfer encounters errors. The retry interval must be less 
than (expire - refresh).
eod

ATTR: expire
ATTRID: 35
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 1w
ATTRDESC:: eod
The expire interval, in seconds, of the zone.  The length of
time a secondary can continue to serve zone data without
confirmation that it is still current. The expire interval 
must be greater than the refresh interval.
eod

ATTR: minttl
ATTRID: 36
ATTRTYPE: AT_RANGETIME(0-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 10m
ATTRDESC:: eod
The minimum TTL value to expose in resource records for this zone.
Records with lower TTL values will be published with this value.
eod

ATTR: defttl
ATTRID: 37
ATTRTYPE: AT_RANGETIME(0-2147483647)
ATTRFLAGS: AF_INITIALIZE, AF_REQUIRED
ATTRDEFVAL: 24h
ATTRDESC:: eod
The default TTL value to be used in resource records for this zone
which do not specify a TTL.
eod

ATTR: nameservers
ATTRID: 38
ATTRTYPE: AT_NLIST(AT_DNSNAME)
# AT_DNSNAME = 35
ATTRVAL: 35
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The list of nameservers for this zone.
eod

ATTR: nsttl
ATTRID: 39
ATTRTYPE: AT_DNSTTL
ATTRDESC:: eod
The ttl value to be applied to the zone's NS rrs.
eod

ATTR: checkpoint-interval
ATTRID: 103
ATTRTYPE: AT_RANGETIME(1h-1w)
#ATTRTYPE: AT_RANGETIME(3600-604800)
ATTRDEFVAL: 3h
ATTRDESC:: eod
The interval (in seconds) to checkpoint the zone. This defines how
often the latest zone snapshot is recorded in the Zone Checkpoint DB.
eod

ATTR: scvg-enabled
ATTRID: 104
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Enables dynamic resource-record scavenging for the zone.
eod

ATTR: scvg-interval
ATTRID: 105
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) to schedule scavenging on the zone.
eod

ATTR: scvg-no-refresh-interval
ATTRID: 106
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) in which the zone cannot have a 
timestamp updated if it is to be scavenged.
eod

ATTR: scvg-refresh-interval
ATTRID: 107
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) in which the zone can have a timestamp 
updated.
eod

ATTR: scvg-max-records-searched
ATTRID: 108
ATTRTYPE: AT_INT
ATTRDESC:: eod
The maximum number of records to search at one time for
candidates to be scavenged.
eod

ATTR: scvg-ignore-restart-interval
ATTRID: 109
ATTRTYPE: AT_RANGETIME(2h-24h)
ATTRDESC:: eod
The interval (in seconds) for which a restart will not recalculate
a start scavenging time.
eod

ATTR: scvg-pause-interval
ATTRID: 110
ATTRTYPE: AT_RANGETIME(1s-24h)
ATTRDESC:: eod
The interval (in seconds) that scavenging will wait after
scavenging a set of records, before going onto the next set.
eod

ATTR: checkpoint-min-interval
ATTRID: 111
ATTRTYPE: AT_RANGETIME(60-2700)
ATTRDESC:: eod
The minimum amount of time required (in seconds) between the time
the first checkpoint occurs and the second checkpoint starts.
This attribute applies only to zones with dynamic rrs.
eod

ATTR: scvg-max-records
ATTRID: 112
ATTRTYPE: AT_RANGEINT(1-10000)
ATTRDESC:: eod
The maximum number of records to be scavenged from the zone during a 
scavenging interval.
eod

ATTR: full-reload-recovery-options
ATTRID: 119
ATTRTYPE: AT_ENUMINT(abort-on-error=0, resume-roll-forward-on-err=1, remove-from-changeset-db=2, remove-dynamic-rrs=3) 
ATTRFLAGS: AF_PRINT_ALT
ATTRVIZ: 3
ATTRDESC:: eod
This defines the option to use during zone configuration. 
This option overrides the corresponding server level option.
abort-on-error, the default, specifies that full zone reload
should abort when encountered an error (while rolling-forward
changesets on top of the zone checkpoint). resume-roll-forward-on-err
requests that the server should continue rolling forward the zone
eventhough there was an encountered error(s). remove-from-changeset-db
specifies that the zone should be removed from the changeset DB 
during server startup/reload; this option may result in the lost
of "recent" RRs. Last, remove-dynamic-rrs causes the server to
remove the zone from both the checkpoint datastore and the 
changeset DB, causing all dynamic RRs to be lost (static RRs
shall be retained though).
eod

ATTR: owner
ATTRID: 120
ATTRTYPE: AT_OBJREF(CCMOwner)
ATTRVAL: 1416
ATTRDESC:: eod
The owner of this object, referenced by OID.  This owner field 
is used to group similarly owned objects and can be used to
limit access to objects by their owner.
eod

ATTR: dist-map
ATTRID: 121
ATTRTYPE: AT_OBJREF(CCMZoneDistribution)
ATTRVAL: 1423
ATTRDESC:: eod
The zone distribution map associated with this zone, referenced
by OID.  The zone distribution map describes the primary and
secondary DNS servers that should provide DNS service for
this zone.
eod

ATTR: secondaries
ATTRID: 122
ATTRTYPE: AT_NLIST(AT_OBJREF(CCMServer))
# 2 << 16 | classid(CCMServer) 1421
ATTRVAL: 132493
ATTRVIZ: 1
ATTRDESC:: eod
This is not used, now that we have the zone-distribution map to
handle the relationship between primary and secondary servers.
eod

ATTR: subzone-forward
ATTRID: 123
ATTRTYPE: AT_ENUMINT(normal=0, no-forward=1)
ATTRFLAGS: AF_PRINT_ALT
ATTRDEFVAL: normal
ATTRDESC:: eod
Specifies whether subzones use forwarders or not. When no-forward is 
set, any query for the zone will not be sent to the forwarder. This 
is an extended resolution exception.
eod

ATTR: mcd-major
ATTRID: 124
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
Unique major version number of the zone. Indicates whether a zone has
been deleted and re-added.
eod

ATTR: restrict-xfer-acl
ATTRID: 125
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
The access control list that designates who is allowed to receive
zone transfers from this zone. 
eod

# 126 is master-servers for secondary zone

ATTR: cluster-id
ATTRID: 127
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE, AF_IMMUTABLE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the (local) cluster that is the primary DNS server for
this zone.  This attribute is set as part of replica data
propagation.
eod

ATTR: replica-deleted
ATTRID: 128
ATTRTYPE: AT_BYTE
ATTRDESC:: eod
A marker that the replica propagation code thinks that this
object should be deleted.  This is used rather than removing
the cluster-id value so we can tell when an object has been
created by replica propagation and then should be deleted.
eod

ATTR: restrict-query-acl
ATTRID: 129
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
Zone Address Control List (ACL) used to restrict queries to be 
honored by the DNS server on this zone. This list can contain host 
IPs, network addresses, TSIG keys and/or (global) ACLs.  Those 
clients defined in this ACL  list shall be honored; others shall be 
refused. If missing, the zone inherits the value of the server's
restrict-query-acl attribute.
eod

ATTR: import-file
ATTRID: 130
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file containing the RRs for this zone.
eod

ATTR: ixfr-base-file
ATTRID: 131
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file for ixfr-base.
eod

ATTR: ixfr-tmp-file
ATTRID: 132
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file for ixfr-tmp.
eod

ATTR: zone-rrdata
ATTRID: 133
ATTRVIZ: 1
ATTRTYPE: AT_NLIST(AT_PACK(SSIB*))
ATTRDESC:: eod
An experimental attribute to hold the AT_PACK(SSIB*) type, class, ttl
and data records for the zone itself.  This is the same as the
static-rrs attribute of the RRSet with the name '@'.  It does
not contain the SOA or NS records that are stored and managed
as zone attributes.
eod

#end of primary zone

CLASS: CCMAddrBlock
CLASSID: 1411
CLASSNAME: 2
CLASSDESC:: eod
A block of IPv4 address space.  May be nested to represent 
delegation of address space.  May have either CCMAddrBlock 
or CCMSubnet objects as children.  Top-level address blocks 
(parent == null) represent blocks that have been delegated
from an external system, such as an upstream ISP or RFC 1918.
eod

ATTR: parent
ATTRID: 1
# AT_OBJREF(CCMAddrBlock)
ATTRTYPE: AT_OID
ATTRVAL: 1411
ATTRDESC:: eod
The parent address block.
eod

ATTR:  address
ATTRID: 2
ATTRTYPE: AT_SUBNET
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The address and mask defining the scope of this block
eod

# make this a namespace-id rather than an OID since we are
# using the 4 byte namespace id throughout the system
ATTR: namespace
ATTRID: 3
ATTRTYPE: AT_INT
ATTRFLAGS: AF_REFERENCE | AF_IMMUTABLE
# Encode attribute 4 of Namespace(1127) as 4<<16 + 1127 == 263271
ATTRVAL: 263271
ATTRDESC:: eod
The id of the VPN object used to support multiple address spaces, 
such as in a managed VPN environment.  See the CNR 5.5 and later
documentation for a more complete description of namespaces and
the support for overlapping address spaces.
eod

ATTR: type
ATTRID: 4
ATTRTYPE: AT_NAMEREF(CCMAddrSpaceType)
ATTRVAL: 1446
ATTRDESC:: eod
The type of this address block.  This attribute contains the name
of a CCMAddrSpaceType object that contains more information about 
the type.
eod

ATTR: region
ATTRID: 5
# AT_OBJREF(CCMRegion)
ATTRTYPE: AT_OID
ATTRVAL: 1425
ATTRDESC:: eod
The region associated with this object, referenced by OID.  This 
region field is used to group similarly located objects and can be 
used to limit access to objects by their region.
eod

ATTR: owner
ATTRID: 6
# AT_OBJREF(CCMOwner)
ATTRTYPE: AT_OID
ATTRVAL: 1416
ATTRDESC:: eod
The owner of this object, referenced by OID.  This owner field 
is used to group similarly owned objects and can be used to
limit access to objects by their owner.
eod

ATTR: tags
ATTRID: 7
ATTRTYPE: AT_NLIST(AT_STRING)
# AT_STRING = 5
ATTRVAL: 5
ATTRVIZ: 1
ATTRDESC:: eod
The selection tags for this address block.  CNR Scopes allocated
from address space within this address block will have these
selection tags set.

Is this used?
eod

ATTR: disabled
ATTRID: 9
ATTRTYPE: AT_BOOL
ATTRVIZ: 1
ATTRDESC:: eod
Is this address block disabled?

Is this used?
eod

ATTR: rev-zones
ATTRID: 10
ATTRTYPE: AT_NLIST(AT_OBJREF(CCMReverseZone))
# 2 << 16 | classid(CCMReverseZone) 1427
ATTRVAL: 132499
ATTRVIZ: 1
ATTRDESC:: eod
What ReverseZones (if any) are associated with this address block.
There may be many reverse zones in the case of a non-octet (8, 16, 24)
network mask.  In the case of a /20 delegation, there will be 16
distinct class C ReverseZones associated with the AddrBlock.

This list can be calculated from the list of ReverseZone objects
and this blocks network address (all within the same namespace).
For now, we are going to specify that the relationship is maintained
at creation/deletion time for AddrBlocks and ReverseZones rather
than calculated at query time.

This is not used in 6.1.
eod

ATTR: source
ATTRID: 11
#ATTRTYPE: AT_OBJREF(CCMAddrSource)
ATTRTYPE: AT_OID
ATTRVAL: 1437
ATTRDESC:: eod
If this is a top-level block allocated from a higher-level source,
this reference will point to the CCMAddressSource configuration 
object representing that source.
eod

ATTR: sink
ATTRID: 12
#ATTRTYPE: AT_OBJREF(CCMAddrSink)
ATTRTYPE: AT_OID
ATTRVAL: 1438
ATTRDESC:: eod
If this is a leaf block delegated to a lower-level sink,
this reference will point to the address destination
(CCMAddrSink) configuration object.

Delegated AddrBlocks (those with a non-null sink attribute)
cannot be further split into child AddrBlocks or Subnets.
eod

ATTR: description
ATTRID: 13
ATTRTYPE: AT_STRING
ATTRDESC:: eod
A description of what this address block is used for.
eod

ATTR: scopetemplate
ATTRID: 14
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1426
ATTRDESC:: eod
An optional scope template to be used when creating Scope objects
from subnets allocated from this block.
eod

# keep 15 and 16 free for commonality with CCMSubnet

ATTR: cluster-id
ATTRID: 17
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the (local) cluster that is the authoritative source
for this object.  This attribute is set as part of replica data
propagation.
eod

ATTR: replica-deleted
ATTRID: 18
ATTRTYPE: AT_BYTE
ATTRDESC:: eod
A marker that the replica propagation code thinks that this
object should be deleted.  This is used rather than removing
the cluster-id value so we can tell when an object has been
created by replica propagation and then should be deleted.
eod

ATTR: forward-zone-name
ATTRID: 19
ATTRTYPE: AT_DNSNAME
ATTRDESC:: eod
The name of the forward zone associated with this block.
eod

ATTR: reverse-zone-name
ATTRID: 20
ATTRTYPE: AT_DNSNAME
ATTRDESC:: eod
The name of the reverse zone associated with this block.
eod


# CLASSID: 1412 is free
# it was previously CCMAdmin, which was moved to ao_datadict


CLASS: CCMAdminGroup
CLASSID: 1413
CLASSDESC:: eod
A named group of administrators.  The grouping is done by
having the CCMAdmin objects refer to their group(s) rather 
than by having the group contain a list of its members.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of this group.
eod

ATTR: desc
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
A description for this group.
eod

CLASS: CCMFailoverPair
CLASSID: 1414

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of failover pair.
eod


ATTR: main
ATTRID: 2
#ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REQUIRED | AF_REFERENCE
ATTRVAL: 1449
ATTRDESC:: eod
The cluster with the main server for this failover pair. 
eod

ATTR: backup
ATTRID: 3
#ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REQUIRED | AF_REFERENCE
ATTRVAL: 1449
ATTRDESC:: eod
The cluster with the backup server for this failover pair.
eod

#Not used for 6.1
#ATTR: propagate-scopes
#ATTRID: 4
#ATTRVIZ: 1
#ATTRTYPE: AT_BOOL
#ATTRDEFVAL: false

ATTR: poll-subnet-util-interval
ATTRID: 5
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDESC:: eod
This interval specifies how often to collect the subnet 
utilization from DHCP server for this cluster. If set to 0 
then don't poll.
eod

ATTR: poll-subnet-util-retry
ATTRID: 6
ATTRTYPE: AT_RANGEINT(0-4)
ATTRDESC:: eod
This specifies how often to retry if it fails to poll the data.
eod

ATTR: poll-subnet-util-server-first
ATTRID: 7
ATTRTYPE: AT_ENUMINT(mainserver=0, backupserver=1)
ATTRFLAGS: AF_PRINT_ALT
ATTRDEFVAL: mainserver
ATTRDESC:: eod
Specifies which server to poll first, mainserver or backupserver.
eod

ATTR: poll-lease-hist-interval
ATTRID: 8
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDESC:: eod
This interval specifies how often to collect the lease history from 
DHCP server for this cluster. If set to 0 then don't poll.
eod

ATTR: poll-lease-hist-retry
ATTRID: 9
ATTRTYPE: AT_RANGEINT(0-4)
ATTRDESC:: eod
This specifies how often to retry if it fails to poll the data.
eod

ATTR: poll-lease-hist-server-first
ATTRID: 10
ATTRTYPE: AT_ENUMINT(mainserver=0, backupserver=1)
ATTRFLAGS: AF_PRINT_ALT
ATTRDEFVAL: mainserver
ATTRDESC:: eod
Specifies which server to poll first, mainserver or backupserver.
eod

ATTR: server-default
ATTRID: 11
ATTRTYPE: AT_BOOL
ATTRDEFVAL: true
ATTRFLAGS: AF_INITIALIZE
ATTRDESC:: eod
Specifies whether this is server level failover pair or scope level 
failover pair
eod

ATTR: cluster-id
ATTRID: 12
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The cluster that this failover came from if it was propagated from
a local cluster.
eod

ATTR: replica-deleted
ATTRID: 13
ATTRTYPE: AT_BYTE
ATTRDESC:: eod
A marker that the replica propagation code thinks that this
object should be deleted.  This is used rather than removing
the cluster-id value so we can tell when an object has been
created by replica propagation and then should be deleted.
eod

ATTR: poll-lease-hist-offset
ATTRID: 14
ATTRTYPE: AT_RANGETIME(0-24h)
ATTRDESC:: eod
Provide a fixed time of day for lease history polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: poll-subnet-util-offset
ATTRID: 15
ATTRTYPE: AT_RANGETIME(0-24h)
ATTRDESC:: eod
Provide a fixed time of day for subnet utilization polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: scopetemplate
ATTRID: 16
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1426
ATTRDESC:: eod
Scope template associated with the failover pair
eod


CLASS: CCMHost
CLASSID: 1415

ATTR: name
ATTRID: 1
ATTRTYPE: AT_RDNSNAME
ATTRDESC:: eod
The relative name of the host within its zone.
eod

ATTR: zone
ATTRID: 2
# ATTRTYPE: AT_OBJREF(CCMZone)
ATTRFLAGS: AF_REFERENCE
ATTRTYPE: AT_OID
ATTRVAL: 1410
ATTRDESC:: eod
The zone object that this host belongs to.
eod

ATTR: addrs
ATTRID: 3
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRDESC:: eod
The IP address(es) associated with this Host.
eod

ATTR: aliases
ATTRID: 4
ATTRTYPE: AT_NLIST(AT_DNSNAME)
# AT_DNSNAME = 35
ATTRVAL: 35
ATTRVIZ: 1
ATTRDESC:: eod
The other DNS names for this host.  

Is this supported in 6.1?
eod

ATTR: rrs
ATTRID: 5
ATTRTYPE: AT_NLIST(AT_PACK(SSIB*))
# AT_PACK = 36
ATTRVAL: 36
ATTRDESC:: eod
The other (non-A) RRs for this host.
eod

ATTR: create-ptr-records
ATTRID: 6
ATTRTYPE: AT_BOOL
ATTRDEFVAL: true
ATTRDESC:: eod
Should the management infrastructure create (or delete or modify)
PTR records in response to add, modify and delete operations for
this host.
eod

CLASS: CCMOwner
CLASSNAME: 1
CLASSID: 1416
CLASSDESC:: eod
A generic object representing an owner of other objects, such as
AddressBlocks, Subnets and Zones.  Also see CCMRegion, which is also
a generic grouping concept.
eod

ATTR: tag
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The unique tag name for this owner.  Likely to be the scope
selection tag, the ODAP pool name, and every other short name
referring to this owner.
eod

ATTR: name
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The full name or printable name for this owner.
eod

ATTR: contact
ATTRID: 3
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The contact information for this owner. 
eod

ATTR: scopetemplate
ATTRID: 4
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1426
ATTRDESC:: eod
An optional scope template to be used when creating Scope objects
from subnets associated with this Owner.
eod

CLASS: CCMRRSet
CLASSID: 1417
CLASSDESC:: eod
A CCMRRSet (and an RRSet) object describe what DNS usually
calls a name set -- all of the RRs with the same name.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_RDNSNAME
ATTRDESC:: eod
The relative name of the RRs with respect to the containing
zone.
eod

ATTR: flags
ATTRID: 2
ATTRTYPE: AT_FLAGSINT(dynamic=1,whiteout=2)
ATTRVIZ: 1
ATTRDESC:: eod
Is this used?
eod

ATTR: static-rrs
ATTRID: 3
ATTRTYPE: AT_NLIST(AT_PACK(SSIB*))
# AT_PACK = 36
ATTRVAL: 36
ATTRDESC:: eod
These are the statically confiugred RRs for the RR.  
Either the static-rrs or dynamic-rrs list will be
set, but not both.

The actual RR data blobs for this name.  The blobs are of 
the form:
  type:  (S)2 bytes unsigned short
  class: (S)2 bytes unsigned short
  ttl:   (I)4 bytes unsigned int32
  data:  (B*) sz - 8 bytes of data
eod

ATTR: dynamic-rrs
ATTRID: 4
ATTRTYPE: AT_NLIST(AT_PACK(SSIB*))
# AT_PACK = 36
ATTRVAL: 36
ATTRDESC:: eod
These are the dynamic RRs (updated with DDNS) for the RR.  
Either the static-rrs or dynamic-rrs list will be
set, but not both.

The actual RR data blobs for this name.  The blobs are of 
the form:
  type:  (S)2 bytes unsigned short
  class: (S)2 bytes unsigned short
  ttl:   (I)4 bytes unsigne int32
  data:  (B*) sz - 8 bytes of data
eod

ATTR: zone
ATTRID: 5
#ATTRTYPE: AT_OBJREF(AT_OBJ(CCMZone))
ATTRTYPE: AT_OID
ATTRVAL: 1410
ATTRDESC:: eod
The zone that contains this RRSet, referenced by OID.
eod

CLASS: CCMRoleInstance
CLASSID: 1419
CLASSDESC:: eod
The CCMRoleInstance class describes specific roles that
an administrator can play.  These are generally called
'roles' in the CNR documentation.  This object contains
the specific values (such as a list of owners or regions)
for the constraint function defined by its base role (CCMRole).
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of this role.
eod

ATTR: role
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The base role for this object.  The base role (CCMRole)
defines the operations (such as modifying a Zone) that 
are allowed and the further constraints on these operations
(only Zones owned by a specific list of Owners).
eod

ATTR: groups
ATTRID: 3
ATTRTYPE: AT_NLIST(AT_STRING)
# AT_STRING = 5
ATTRVAL: 5
ATTRDESC:: eod
The groups that this role is associated with.  Any member of
one of these groups can play this role (can perform the operations
allowed by this role).
eod

#deprecated attribute... 
ATTR: admins-deprecated
ATTRID: 4
ATTRTYPE: AT_NLIST(AT_STRING)
ATTRVAL: 5
ATTRVIZ: 1
DEPRECATED:6.0.0
ATTRDESC:: eod
Deprecated in CNR version 6.1.1.

The specific admins that are associated with this role.  These
admins can play this role (can perform the operations
allowed by this role).
eod

ATTR: unconstrained
ATTRID: 5
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Indicates that this role has no other constraints beyond
the list of operations it can perform.  
eod

ATTR: read-only
ATTRID: 6
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Indicates that this role can only read data.  If an admin is
associated with any read-only instance of a base role, then
they are read-only for all operations in that base role.
eod

ATTR: sub-roles
ATTRID: 7
ATTRTYPE: AT_NLIST(AT_STRING)
# AT_STRING = 5
ATTRVAL: 5
ATTRVIZ: 5
ATTRDESC:: eod
The list of sub-roles associated with this role instance.
If the all-sub-roles attribute is unset, or set to true,
then this attribute is ignored.  If the all-sub-roles
attribute is set to false, then this attribute specifies
the list of sub-roles for this role instance, and an admin
associated with this role instance has authorization limited
to the specified sub-roles.  If the admin has multiple role
instances where the role attribute is the same,
then sub-role authorization for that role should be taken
to be the union of all of the sets of sub-roles from the
individual role instances; and, if any of these role
instances has the all-sub-roles attribute set to true,
then sub-role authorization for that role is for all sub-roles.
Also, if any role instance for a matching role has the
unconstrained attribute set to true, then sub-role
authorization for that role is for all sub-roles.
eod

ATTR: all-sub-roles
ATTRID: 8
ATTRTYPE: AT_BOOL
ATTRDEFVAL: true
ATTRVIZ: 5
ATTRDESC:: eod
If this attribute is unset, or set to true, then the value
of the sub-roles attribute for this role instance is
ignored, and the sub-role authorization for the role is for
all sub-roles.  If this attribute is false, then the sub-roles
attribute provides the list of sub-roles for which this
role instance is authorized.  If the unconstrained attribute
is set to true, then the values of this attribute and the
of the sub-roles attribute are ignored, and the sub-role
authorization for the role is for all sub-roles.
eod

# start HostAdmin Role Instance constraints
ATTR: zones
ATTRID: 11
ATTRTYPE: AT_NLIST(AT_DNSNAME)
# AT_DNSNAME = 35
ATTRVAL: 35
ATTRDESC:: eod
The list of zones that can be managed.  This list is only
significant for base roles (such as host-admin) that can be 
constrined by a list of zones.
eod

ATTR: owners
ATTRID: 12
ATTRTYPE: AT_NLIST(AT_OBJREF(CCMOwner))
# 2 << 16 | classid(CCMOwner) 1416
ATTRVAL: 132488
ATTRDESC:: eod
The list of owners of objects that can be managed.  This 
list is only significant for base roles (such as zone-admin)
that can be  constrined by a list of owners.
eod

ATTR: regions
ATTRID: 13
ATTRTYPE: AT_NLIST(AT_OBJREF(CCMRegion))
# 2 << 16 | classid(CCMRegion) 1425
ATTRVAL: 132497
ATTRDESC:: eod
The list of regions for objects that can be managed.  This 
list is only significant for base roles (such as zone-admin)
that can be  constrined by a list of regions.
eod

ATTR: ipranges
ATTRID: 14
ATTRTYPE: AT_NLIST(AT_IPPAIR)
# AT_IPPAIR = 28
ATTRVAL: 28
ATTRDESC:: eod
The list of IP address ranges that can be used.  This
list is only significant for base roles (such as host-admin)
that can be  constrined by a list of IP ranges.  In the case
of the host-admin role, this list limits the addresses that
can be assigned to a Host.

If this attribute is empty or has no ranges, the role will
not be allowed to allocate IP addresses unless the use-any-range
attribute is set to true.
eod

ATTR: rrtypes
ATTRID: 15
ATTRTYPE: AT_BLOB
ATTRVIZ: 1
ATTRDESC:: eod
Is this used? 
eod

ATTR: host-regexpr
ATTRID: 16
ATTRTYPE: AT_STRING
ATTRDESC:: eod
Used for the host-admin role to optionally constrain the
names of the Hosts being added.
eod


ATTR: use-any-range
ATTRID: 17
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that there are no IP range restrictions.  
eod

ATTR: use-any-zone
ATTRID: 18
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that there are no zone restrictions.  
eod

# Start ZoneAdmin Role Instance constraints
# shares zones and owners attributes with Host Admin
ATTR: zone-regexpr
ATTRID: 30
ATTRTYPE: AT_STRING
ATTRDESC:: eod
Used to constrain the names of zones that can be viewed and
created.
eod

ATTR: use-any-owner
ATTRID: 31
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that there are no owner restrictions.  
eod

ATTR: edit-owners
ATTRID: 32
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that the users in this role can edit owners.
eod

ATTR: access-secondary-zones
ATTRID: 33
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that the users in this role may access
secondary zones.
eod

ATTR: access-reverse-zones
ATTRID: 34
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that users in this role may access reverse zones. 
eod

ATTR: by-zone
ATTRID: 35
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicated that the role is constrained by
zones (versus owners).
eod

ATTR: by-owner
ATTRID: 36
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that the role is constrained by
owners (versus zones).
eod

ATTR: use-any-region
ATTRID: 37
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Used to indicate that there are no region restrictions.  
eod

CLASS: CCMSecondaryZone
CLASSID: 1420
CLASSNAME: 1

ATTR: origin
ATTRID: 1
ATTRTYPE: AT_DNSNAME
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE,AF_IMMUTABLE
ATTRDESC:: eod
The fully-qualified name of the zone's root.  The zone name.
eod

ATTR: restrict-xfer
ATTRID: 6
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Restricts sending zone transfers to a specific set of hosts. If you
restrict zone transfers, you need to use the restrict-xfer-acl
property to specify the access control list of who is allowed to
perform zone transfers.
eod

ATTR: restricted-set
ATTRID: 8
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRVIZ: 1
DEPRECATED: 4.0
ATTRDESC:: eod
The set of IP addresses which may request zone transfers,
when "restrict-xfer" is enabled.  Addresses with zeros in the
least significant octets are treated as network numbers,
with implicit masks in octet multiples.
eod

ATTR: ixfr
ATTRID: 10
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Enables incremental transfer requests for this zone.  When set, this
attribute overrides the dns server global "ixfr-enable" value.

Using the server global value (not setting this value per-zone)
gives the you an easy way of globally turning ixfr on or off,
or setting a general policy for your zones and specific exceptions
to the server global value. The Windows GUI specifically depends on 
this attribute remaining unset, since it has no way of setting this 
per-zone feature.
eod

ATTR: notify
ATTRID: 11
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Enables notification of other authoritative servers when this
zone changes.  When set, to either true or false, it overrides the
global "notify" value for this zone.
eod

ATTR: notify-set
ATTRID: 12
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRDESC:: eod
An optional list of additional servers to notify when this zone
changes.  All servers listed in NS records for the zone, with the
exception of the server described by the "ns" property of the zone
(the mname field of the SOA record) will receive notifications.
Servers listed in "notify-list" will also be notified.
eod

ATTR: auth-servers
ATTRID: 101
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRVIZ: 1
DEPRECATED: 5.0
ATTRDESC:: eod
The is the list of servers from which we will transfer data
for this secondary zone.
eod

ATTR: checkpoint-interval
ATTRID: 103
ATTRTYPE: AT_RANGETIME(1h-1w)
ATTRDEFVAL: 3h
ATTRDESC:: eod
The interval (in seconds) to checkpoint the zone. This defines how
often the latest zone snapshot is recorded in the Zone Checkpoint DB.
eod

ATTR: checkpoint-min-interval
ATTRID: 111
ATTRTYPE: AT_RANGETIME(60-2700)
ATTRDESC:: eod
The minimum amount of time required (in seconds) between the time
the first checkpoint occurs and the second checkpoint starts.
This attribute applies only to zones with dynamic rrs.
eod

ATTR: subzone-forward
ATTRID: 123
ATTRTYPE: AT_ENUMINT(normal=0, no-forward=1)
ATTRFLAGS: AF_PRINT_ALT
ATTRDEFVAL: normal
ATTRDESC:: eod
Specifies whether subzones use forwarders or not. When no-forward is 
set, any query for the zone will not be sent to the forwarder. This 
is an extended resolution exception.
eod

ATTR: mcd-major
ATTRID: 124
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
Unique major version number of the zone. Indicates whether a zone has
been deleted and re-added.
eod

ATTR: full-reload-recovery-options
ATTRID: 119
ATTRTYPE: AT_ENUMINT(abort-on-error=0, resume-roll-forward-on-err=1, remove-from-changeset-db=2, remove-dynamic-rrs=3) 
ATTRFLAGS: AF_PRINT_ALT
ATTRVIZ: 3
ATTRDESC:: eod
This defines the option to use during zone configuration. 
This option overrides the corresponding server level option.
abort-on-error, the default, specifies that full zone reload
should abort when encountered an error (while rolling-forward
changesets on top of the zone checkpoint). resume-roll-forward-on-err
requests that the server should continue rolling forward the zone
eventhough there was an encountered error(s). remove-from-changeset-db
specifies that the zone should be removed from the changeset DB 
during server startup/reload; this option may result in the lost
of "recent" RRs. Last, remove-dynamic-rrs causes the server to
remove the zone from both the checkpoint datastore and the 
changeset DB, causing all dynamic RRs to be lost (static RRs
shall be retained though).
eod

ATTR: restrict-xfer-acl
ATTRID: 125
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
The access control list that designates who is allowed to receive
zone transfers from this zone. 
eod

ATTR: master-servers
ATTRID: 126
ATTRTYPE: AT_NLIST(AT_IPKEY)
# AT_IPKEY = 56
ATTRVAL: 56
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The is the list of servers from which we will transfer data
for this secondary zone. Each server ip can be followed with
an optional key name in order to configure secure zone transfers.

Validation: A list of one or more ip addresses with an optional
key name (format <ipaddress>[-<keyname>]).
eod

ATTR: cluster-id
ATTRID: 127
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the (local) cluster that is the authoritative source
for this object.  This attribute is set as part of replica data
propagation.
eod

ATTR: replica-deleted
ATTRID: 128
ATTRTYPE: AT_BYTE
ATTRDESC:: eod
A marker that the replica propagation code thinks that this
object should be deleted.  This is used rather than removing
the cluster-id value so we can tell when an object has been
created by replica propagation and then should be deleted.
eod

ATTR: restrict-query-acl
ATTRID: 129
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
Zone Address Control List (ACL) used to restrict queries to be 
honored by the DNS server on this zone. This list can contain host 
IPs, network addresses, TSIG keys and/or (global) ACLs.  Those 
clients defined in this ACL  list shall be honored; others shall be 
refused. If missing, the zone inherits the value of the server's
restrict-query-acl attribute.
eod

ATTR: import-file
ATTRID: 130
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file containing the RRs for this zone.
eod

ATTR: ixfr-base-file
ATTRID: 131
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file for ixfr-base.
eod

ATTR: ixfr-tmp-file
ATTRID: 132
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file for ixfr-tmp.
eod

#end of secondary zone

CLASS: CCMServer
CLASSID: 1421
CLASSDESC:: eod
The configuration object representing a remote server that is being
managed by the CCM layer.  In Jack Sprat, this will be a the local
DNS, DHCP and TFTP servers as well as a few secondary DNS servers and
possibly one failover DHCP partner.

CCMServer objects can be grouped by a single CCMCluster object.
This grouping is done by having the CCMServer refer to the CCMCluster
by OID through the 'cluster' attribute.  When the server is part
of a cluster, the remote connection attributes (ipaddr, port,
admin, password) can be inherited from the CCMCluster object.

eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of this server.
eod

ATTR: fqdn
ATTRID: 2
ATTRTYPE: AT_DNSNAME
ATTRDESC:: eod
The DNS name of this server, not used for contacting
the server.
eod

ATTR: ipaddr
ATTRID: 3
ATTRTYPE: AT_IPADDR
ATTRDESC:: eod
The IP address of this server.  This attribute,
rather than the fqdn is used when making connections
to the server.
eod

ATTR: admin
ATTRID: 4
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The administrator identity to use when contacting this server.
eod

ATTR: password
ATTRID: 5
ATTRTYPE: AT_CLEARTEXT
ATTRVAL: 9
ATTRDESC:: eod
The password to use to authenticate the identity stored in the
admin attribute.  This clear-text value should not be used
except within process memory.  The corresponding password-secret
should be used instead.
eod

ATTR: type
ATTRID: 6
ATTRTYPE: AT_ENUMSTR(DNS, DHCP, TFTP, MCDSVR, TRAMP, CCM, CMTS, CNRAGENT, RIC)
ATTRDESC:: eod
The type of the server.
eod

ATTR: local
ATTRID: 7
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Set if this server is running in the same cluster as the CCM server
that is managing the CCMServer configuration object.  This will be
true for the DHCP, DNS, TFTP, CCM and CNRAGENT servers on a local
cluster and for the CCM and RIC servers on a regional cluster.
eod

ATTR: scp-port
ATTRID: 8
ATTRTYPE: AT_INT
ATTRDESC:: eod
The port number to use for SCP communications.
eod

ATTR: password-secret
ATTRID: 9
ATTRTYPE: AT_SECRET
ATTRVAL: 5
ATTRDESC:: eod
The id of the secret representing the password used to authenticate
the identity stored in the admin attribute.
eod

ATTR: http-port
ATTRID: 10
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
The port number to use for HTTP communications.
eod

ATTR: cluster
ATTRID: 11
#ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1449
ATTRVIZ: 3
ATTRDESC:: eod
The cluster that this server is associated with.
eod

ATTR: cluster-id
ATTRID: 12
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the (local) cluster that is the authoritative source
for this object.  This attribute is set as part of replica data
propagation.
eod

ATTR: poll-subnet-util-interval
ATTRID: 13
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDESC:: eod
This interval specifies how often to collect the subnet 
utilization from  DHCP server for this cluster. If set to 0 
then don't poll.
eod

ATTR: poll-subnet-util-retry
ATTRID: 14
ATTRTYPE: AT_INT(0-4)
ATTRDESC:: eod
This specifies how often to retry if it fails to poll the data.
eod

ATTR: poll-lease-hist-interval
ATTRID: 15
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDESC:: eod
This interval specifies how often to collect the lease history from 
DHCP server for this cluster. If set to 0 then don't poll.
eod

ATTR: poll-lease-hist-retry
ATTRID: 16
ATTRTYPE: AT_INT(0-4)
ATTRDESC:: eod
This specifies how often to retry if it fails to poll the data.
eod

ATTR: poll-lease-hist-offset
ATTRID: 17
ATTRTYPE: AT_RANGETIME(0-24h)
ATTRDESC:: eod
Provide a fixed time of day for lease history polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: poll-subnet-util-offset
ATTRID: 18
ATTRTYPE: AT_RANGETIME(0-24h)
ATTRDESC:: eod
Provide a fixed time of day for subnet utilization polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: use-ssl
ATTRID: 19
ATTRTYPE: AT_ENUMSTR(disabled, optional, required)
ATTRDEFVAL: optional
ATTRDESC:: eod
The security mode that we should use when connecting to this server.
If optional, and we have a security library installed, we will
try to secure the connection.  If required, we will not make
the connection unless we can secure the connection (this requires
the security library to be installed).  If none, we will not
try to secure the connection.
eod

ATTR: scp-read-timeout
ATTRID: 20
ATTRTYPE: AT_TIME
ATTRDEFVAL: 1200
ATTRDESC:: eod
The time limit for how long we should wait for data when
reading an SCP message from this cluster.
eod

CLASS: CCMSubnet
CLASSID: 1422
CLASSNAME: 2
CLASSDESC:: eod
The CCMSubnet class represents subnets in the address space
model.  A subnet is a correctly aligned, power of 2 sized
sequence of IP addresses.  In the address space model, 
subnets are leaf nodes while address blocks are root,
internal or leaf nodes of a tree describing the address
space.
eod

ATTR: parent
ATTRID: 1
# AT_OBJREF(CCMAddrBlock)
ATTRTYPE: AT_OID
ATTRVAL: 1411
ATTRDESC:: eod
The parent address block for this subnet.
eod

ATTR: address
ATTRID: 2
ATTRTYPE: AT_SUBNET
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The subnet address for this subnet.  Stored as a network
address and a mask determining how large the range is.
eod

ATTR: namespace
ATTRID: 3
ATTRTYPE: AT_INT
ATTRFLAGS: AF_REFERENCE | AF_IMMUTABLE
# Encode attribute 4 of Namespace(1127) as 4<<16 + 1127 == 263271
ATTRVAL: 263271
ATTRDESC:: eod
The VPN that contains the subnet address for this subnet.
eod

ATTR: type
ATTRID: 4
ATTRTYPE: AT_NAMEREF(CCMAddrSpaceType)
ATTRVAL: 1446
ATTRDESC:: eod
The type of this subnet.  This attribute contains the name
of a CCMAddrSpaceType object that contains more information about 
the type.

If this attribute is unset, the object is assumed to have the
same type as its parent.
eod

ATTR: region
ATTRID: 5
# AT_OBJREF(CCMRegion)
ATTRTYPE: AT_OID
ATTRVAL: 1425
ATTRDESC:: eod
The region associated with this object, referenced by OID.  This 
region field is used to group similarly located objects and can be 
used to limit access to objects by their region.

If this attribute is unset, the object is assumed to have the
same region as its parent.
eod

ATTR: owner
ATTRID: 6
# AT_OBJREF(CCMOwner)
ATTRTYPE: AT_OID
ATTRVAL: 1416
ATTRDESC:: eod
The owner of this object, referenced by OID.  This owner field 
is used to group similarly owned objects and can be used to
limit access to objects by their owner.

If this attribute is unset, the object is assumed to have the
same owner as its parent.
eod

ATTR: network
ATTRID: 7
# AT_OBJREF(CCMNetwork)
ATTRTYPE: AT_OID
ATTRVAL: 1430
ATTRVIZ: 1
ATTRDESC:: eod
Is this used?  We may be just using router interface rather
than network and router interface.
eod

ATTR: interface
ATTRID: 8
# AT_OBJREF(CCMRouterInterface)
ATTRTYPE: AT_OID
ATTRVAL: 1435
ATTRDESC:: eod
The router interface that this subnet is assigned to.
eod

ATTR: reference-count
ATTRID: 9
ATTRTYPE: AT_INT
ATTRVIZ: 3
ATTRDESC:: eod
How many objects (scopes and router interfaces for now) are related 
to this subnet?
eod

ATTR: auto-created
ATTRID: 10
ATTRTYPE: AT_BOOL
ATTRVIZ: 2
ATTRDESC:: eod
Was this subnet created by object (scope or router interface for now)
change propagation?
eod

ATTR: failoverpair
ATTRID: 11
#ATTRTYPE: AT_OBJREF(CCMFailoverPair|CCMCluster)
ATTRTYPE: AT_OID
ATTRVAL: 1414
ATTRDESC:: eod
The CCMFailoverPair or single CCMCluster object that
this subnet is assigned to for DHCP allocation.
eod

ATTR: description
ATTRID: 13
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The description of this subnet.
eod


ATTR: scopetemplate
ATTRID: 14
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1426
ATTRDESC:: eod
An optional scope template to be used when creating Scope objects
from this subnet.
eod

ATTR: state
ATTRID: 15
ATTRTYPE: AT_ENUMSTR(available, ric-allocated, dhcp-allocated, allocated, reclaiming)
ATTRDEFVAL: available
ATTRDESC:: eod
The current state of this subnet.
eod

ATTR: dhcp-servers
ATTRID: 16
ATTRTYPE: AT_NLIST(AT_OBJ(CCMServer))
# 1 << 16 | classid(CCMServer) 1421
ATTRVAL: 66957
ATTRDESC:: eod
This attribute is for handling extraordinary relationships between 
Subnets and DHCP servers.  The expected configuration scenario will
have a Subnet associated with a FailoverPair and thus with 2 DHCP
servers.
eod

ATTR: cluster-id
ATTRID: 17
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the (local) cluster that is the authoritative source
for this object.  This attribute is set as part of replica data
propagation.
eod

ATTR: replica-deleted
ATTRID: 18
ATTRTYPE: AT_BYTE
ATTRDESC:: eod
A marker that the replica propagation code thinks that this
object should be deleted.  This is used rather than removing
the cluster-id value so we can tell when an object has been
created by replica propagation and then should be deleted.
eod

ATTR: forward-zone-name
ATTRID: 19
ATTRTYPE: AT_DNSNAME
ATTRDESC:: eod
The name of the forward zone associated with this subnet.
eod

ATTR: reverse-zone-name
ATTRID: 20
ATTRTYPE: AT_DNSNAME
ATTRDESC:: eod
The name of the reverse zone associated with this subnet.
eod


CLASS: CCMZoneDistribution
CLASSID: 1423
CLASSDESC:: eod
The CCMZoneDistribution object defines a primary DNS
server and a group of secondary DNS servers that provide
information about RRs in one or more zones.

The zone distribution map is managed as a separate
relationship from the individual zones because there
are often multiple zones that share the same primary
and secondary DNS servers.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of this zone distribution map.
eod

ATTR: primary
ATTRID: 2
# ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRFLAGS: AF_REFERENCE
ATTRTYPE: AT_OID
ATTRVAL: 1449
ATTRDESC:: eod
The cluster with the primary server for this zone distribution map.
eod

# DEPRECATED in CNR 6.1 - moved to the secondaries-list
ATTR: secondaries
ATTRID: 3
ATTRTYPE: AT_NLIST(AT_OBJREF(CCMServer))
# 2 << 16 | classid(CCMServer) 1421
ATTRVAL: 132493
ATTRVIZ: 1

ATTR: ddns-updaters
ATTRID: 4
ATTRTYPE: AT_NLIST(AT_OBJREF(CCMCluster))
# 2 << 16 | classid(CCMCluster) 1449
ATTRVAL: 132521

# DEPRECATED in CNR 6.1 - moved to the secondaries-list
ATTR: last-sync-dbsn
ATTRID: 5
ATTRTYPE: AT_INT
ATTRDEFVAL: 0

# DEPRECATED in CNR 6.1 - converted to the master-servers list
ATTR: primary-addresses
ATTRID: 6
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4

ATTR: secondaries-list 
ATTRID: 7 
ATTRTYPE: AT_NLIST(AT_OBJ(CCMZDSecondary))
# 1 << 16 | classid(CCMZDSecondary) 1457
ATTRVAL: 66993

ATTR: master-servers
ATTRID: 8
ATTRTYPE: AT_NLIST(AT_IPKEY)
# AT_IPADDR = 56
ATTRVAL: 56
ATTRDESC:: eod
This is the list of master-servers to set when creating secondary 
zone on secondary server.

Validation: A list of one or more ip addresses with an optional
key name (format <ipaddress>[-<keyname>]).
eod

ATTR: cluster-id
ATTRID: 9
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the (local) cluster that is the authoritative source
for this object.  This attribute is set as part of replica data
propagation.
eod

ATTR: replica-deleted
ATTRID: 10
ATTRTYPE: AT_BYTE
ATTRDESC:: eod
A marker that the replica propagation code thinks that this
object should be deleted.  This is used rather than removing
the cluster-id value so we can tell when an object has been
created by replica propagation and then should be deleted.
eod

CLASS: CCMZoneTemplate
CLASSID: 1424
CLASSNAME: 1

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of this zone template.
eod

ATTR: serial
ATTRID: 2
ATTRTYPE: AT_INT
ATTRDESC:: eod
Starting serial number to use when creating the zone.
eod

ATTR: ns
ATTRID: 3
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The fully-qualified domain name of the primary name server for this 
zone. This host is the original or primary source of data for this 
zone.

Note that this attribute is a string rather than a dnsname
because we want to be able to encode relative or absolute
names in this attribute.  
eod

ATTR: person
ATTRID: 4
ATTRTYPE: AT_STRING
ATTRDESC:: eod
A domain name which specifies the mailbox of the person
responsible for this zone.  The first label is a user or mail
alias, the rest of the labels are a mail destination.  A mailbox
of hostmaster@test.com would be represented as hostmaster.test.com.

Note that this attribute is a string rather than a dnsname
because we want to be able to encode relative or absolute
names in this attribute.  
eod

ATTR: refresh
ATTRID: 5
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 3h
ATTRDESC:: eod
The refresh interval, in seconds, of the zone. Used by secondaries
as the period of polling for zone changes.
eod

ATTR: retry
ATTRID: 6
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 1h
ATTRDESC:: eod
The retry interval, in seconds, of the zone. Used by secondaries
as the period of retrying when polling for changes, or attempting
a zone transfer encounters errors. The retry interval must be less 
than (expire - refresh).
eod

ATTR: expire
ATTRID: 7
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 1w
ATTRDESC:: eod
The expire interval, in seconds, of the zone.  The length of
time a secondary can continue to serve zone data without
confirmation that it is still current. The expire interval 
must be greater than the refresh interval.
eod

ATTR: minttl
ATTRID: 8
ATTRTYPE: AT_RANGETIME(0-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 10m
ATTRDESC:: eod
The minimum TTL value to expose in resource records for this zone.
Records with lower TTL values will be published with this value.
eod

ATTR: nameservers
ATTRID: 9
# this is an AT_NLIST(AT_STRING) because we want to be able to 
# encode relative or non-relative names here and the AT_DNSNAME
# encoding does not provide a bit for specifying whether the name
# relative or absolute.
ATTRTYPE: AT_NLIST(AT_STRING)
# AT_STRING = 5
ATTRVAL: 5
ATTRDESC:: eod
The list of nameservers for this zone.
eod

ATTR: defttl
ATTRID: 10
ATTRTYPE: AT_RANGETIME(0-2147483647)
ATTRFLAGS: AF_INITIALIZE, AF_REQUIRED
ATTRDEFVAL: 24h
ATTRDESC:: eod
The default TTL value to be used in resource records for this zone
which do not specify a TTL.
eod

ATTR: owner
ATTRID: 11
ATTRTYPE: AT_OBJREF(CCMOwner)
ATTRVAL: 1416
ATTRDESC:: eod
The owner of this object, referenced by OID.  This owner field 
is used to group similarly owned objects and can be used to
limit access to objects by their owner.
eod

ATTR: dist-map
ATTRID: 12
# AT_OBJREF(CCMZoneDistribution)
ATTRTYPE: AT_OID
ATTRVAL: 1423
ATTRDESC:: eod
The zone distribution map associated with this zone, referenced
by OID.  The zone distribution map describes the primary and
secondary DNS servers that should provide DNS service for
this zone.
eod

ATTR: secondaries
ATTRID: 13
ATTRTYPE: AT_NLIST(AT_OBJ(CCMServer))
# 1 << 16 | 1421
ATTRVAL: 66957
ATTRVIZ: 1
ATTRDESC:: eod
This is not used, now that we have the zone-distribution map to
handle the relationship between primary and secondary servers.
eod

ATTR: restrict-xfer
ATTRID: 14
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Restricts sending zone transfers to a specific set of hosts. If you
restrict zone transfers, you need to use the restrict-xfer-acl
property to specify the access control list of who is allowed to
perform zone transfers.
eod

ATTR: dynamic
ATTRID: 15
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Enables RFC 2136 dynamic updates to the zone.  The most typical source
of these updates is a DHCP server. The UIs also need this attribute 
enabled in order to allow dynamic updates on the zone. Defaults to 
enabled.
eod

ATTR: restricted-set
ATTRID: 16
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRVIZ: 1
DEPRECATED: 4.0
ATTRDESC:: eod
The set of IP addresses which may request zone transfers,
when "restrict-xfer" is enabled.  Addresses with zeros in the
least significant octets are treated as network numbers,
with implicit masks in octet multiples.
eod

# Not used in 6.0,
# ATTR: dynupdate-set
# ATTRID: 17
# ATTRTYPE: AT_NLIST(AT_IPADDR)

ATTR: notify
ATTRID: 18
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Enables notification of other authoritative servers when this
zone changes.  When set, to either true or false, it overrides the
global "notify" value for this zone.
eod

ATTR: notify-set
ATTRID: 19
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRDESC:: eod
An optional list of additional servers to notify when this zone
changes.  All servers listed in NS records for the zone, with the
exception of the server described by the "ns" property of the zone
(the mname field of the SOA record) will receive notifications.
Servers listed in "notify-list" will also be notified.
eod

ATTR: checkpoint-interval
ATTRID: 20
ATTRTYPE: AT_RANGETIME(1h-1w)
ATTRDEFVAL: 3h
ATTRDESC:: eod
The interval (in seconds) to checkpoint the zone. This defines how
often the latest zone snapshot is recorded in the Zone Checkpoint DB.
eod

ATTR: scvg-enabled
ATTRID: 21
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Enables dynamic resource-record scavenging for the zone.
eod

ATTR: scvg-interval
ATTRID: 22
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) to schedule scavenging on the zone.
eod

ATTR: scvg-no-refresh-interval
ATTRID: 23
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) in which the zone cannot have a 
timestamp updated if it is to be scavenged.
eod

ATTR: scvg-refresh-interval
ATTRID: 24
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) in which the zone can have a timestamp 
updated.
eod

ATTR: scvg-max-records
ATTRID: 25
ATTRTYPE: AT_RANGEINT(1-10000)
ATTRDESC:: eod
The maximum number of records to search at one time for
candidates to be scavenged.
eod

ATTR: scvg-ignore-restart-interval
ATTRID: 26
ATTRTYPE: AT_RANGETIME(2h-24h)
ATTRDESC:: eod
The interval (in seconds) for which a restart will not recalculate
a start scavenging time.
eod

ATTR: scvg-pause-interval
ATTRID: 27
ATTRTYPE: AT_RANGETIME(1s-24h)
ATTRDESC:: eod
The interval (in seconds) that scavenging will wait after
scavenging a set of records, before going onto the next set.
eod

ATTR: scvg-max-records-searched
ATTRID: 28
ATTRTYPE: AT_INT
ATTRDESC:: eod
The maximum number of records to be scavenged from the zone during a 
scavenging interval.
eod

ATTR: checkpoint-min-interval
ATTRID: 29
ATTRTYPE: AT_RANGETIME(60-2700)
ATTRDESC:: eod
The minimum amount of time required (in seconds) between the time
the first checkpoint occurs and the second checkpoint starts.
This attribute applies only to zones with dynamic rrs.
eod

ATTR: soattl
ATTRID: 30
ATTRTYPE: AT_DNSTTL
ATTRDESC:: eod
The ttl value to be applied to the zone's SOA rr.
eod

ATTR: nsttl
ATTRID: 39
ATTRTYPE: AT_DNSTTL
ATTRDESC:: eod
The ttl value to be applied to the zone's NS rrs.
eod

ATTR: update-acl
ATTRID: 40
ATTRTYPE: AT_AMELST
ATTRVIZ: 5
ATTRDESC:: eod
The access control list for DNS updates to the zone, specified as an
address match element list. The access control list is not applied
to dynamic updates coming from the UIs. Updates from the UIs are 
always allowed as long as the zone attribute dynamic is enabled. 
eod

ATTR: full-reload-recovery-options
ATTRID: 119
ATTRTYPE: AT_ENUMINT(abort-on-error=0, resume-roll-forward-on-err=1, remove-from-changeset-db=2, remove-dynamic-rrs=3) 
ATTRFLAGS: AF_PRINT_ALT
ATTRVIZ: 3
ATTRDESC:: eod
This defines the option to use during zone configuration. 
This option overrides the corresponding server level option.
abort-on-error, the default, specifies that full zone reload
should abort when encountered an error (while rolling-forward
changesets on top of the zone checkpoint). resume-roll-forward-on-err
requests that the server should continue rolling forward the zone
eventhough there was an encountered error(s). remove-from-changeset-db
specifies that the zone should be removed from the changeset DB 
during server startup/reload; this option may result in the lost
of "recent" RRs. Last, remove-dynamic-rrs causes the server to
remove the zone from both the checkpoint datastore and the 
changeset DB, causing all dynamic RRs to be lost (static RRs
shall be retained though).
eod

ATTR: subzone-forward
ATTRID: 123
ATTRTYPE: AT_ENUMINT(normal=0, no-forward=1)
ATTRFLAGS: AF_PRINT_ALT
ATTRDEFVAL: normal
ATTRDESC:: eod
Specifies whether subzones use forwarders or not. When no-forward is 
set, any query for the zone will not be sent to the forwarder. This 
is an extended resolution exception.
eod

ATTR: restrict-xfer-acl
ATTRID: 125
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
The access control list that designates who is allowed to receive
zone transfers from this zone. 
eod

ATTR: restrict-query-acl
ATTRID: 129
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
Zone Address Control List (ACL) used to restrict queries to be 
honored by the DNS server on this zone. This list can contain host 
IPs, network addresses, TSIG keys and/or (global) ACLs.  Those 
clients defined in this ACL  list shall be honored; others shall be 
refused. If missing, the zone inherits the value of the server's
restrict-query-acl attribute.
eod

#end of template


CLASS: CCMRegion
CLASSNAME: 1
CLASSID: 1425
CLASSDESC:: eod
A generic object representing a geographic region containing 
other objects, such as AddressBlocks, Subnets and Zones.  Also 
see  CCMOwner, which is also a generic grouping concept.
eod

ATTR: tag
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The unique tag name for this region.  Likely to be the scope
selection tag, the ODAP pool name, and every other short name
referring to this region.
eod

ATTR: name
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The full name or printable name for this region.
eod

ATTR: contact
ATTRID: 3
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The contact information for this region. 
eod

ATTR: scopetemplate
ATTRID: 4
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1426
ATTRDESC:: eod
An optional scope template to be used when creating Scope objects
from subnets associated with this region.
eod

# begin SCOPETEMPLATE class

CLASS: CCMScopeTemplate
CLASSID: 1426
CLASSDESC:: eod
A template for creating a valid CNR Scope object from a 
subnet.  Many of the attributes are just copied literally
from the template to the newly created scope, but the ones
that are of type AT_EXPR or AT_TEXPR are evaluated as
expressions in a scope-template evaluation context to
generate a subnet-specific value for the corresponding
scope attribute.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of this scope template.
eod

ATTR: policy
ATTRID: 5
ATTRTYPE: AT_NAMEREF(Policy)
ATTRVAL: 1102
ATTRDEFVAL: default
ATTRVIZ: 5
ATTRDESC:: eod
The name of the policy associated with this scope.
eod

ATTR: ping-timeout
ATTRID: 10
ATTRTYPE: AT_INT
ATTRVIZ: 5
ATTRFEAT: 11
ATTRDESC:: eod
The number of milliseconds the DHCP server should wait for ping
responses.  If you make this value too large, you will slow down the
lease offering processes. If you make this value too small, you will
reduce the effectiveness of pinging addresses before offering them.
eod

ATTR: ping-clients
ATTRID: 11
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Controls whether the server should attempt to ping
addresses before offering leases.
eod

ATTR: dns-server-addr
ATTRID: 12
ATTRTYPE: AT_IPADDR
ATTRVIZ: 5
ATTRFEAT: 16
ATTRDESC:: eod
The address of the primary DNS server for the zone into which the
server should add A records.
eod

ATTR: dns-zone-name
ATTRID: 13
ATTRTYPE: AT_STRING
ATTRVIZ: 5
ATTRFEAT: 16
ATTRDESC:: eod
The name of the DNS zone to which a DHCP client's host name
should be added (A record).
eod

ATTR: dns-reverse-zone-name
ATTRID: 14
ATTRTYPE: AT_STRING
ATTRVIZ: 5
ATTRFEAT: 16
ATTRDESC:: eod
The name of the inverse (in-addr.arpa) zone that is updated with
PTR and TXT records.
eod

ATTR: synthetic-name-stem
ATTRID: 15
ATTRTYPE: AT_STRING
ATTRVIZ: 5
ATTRFEAT: 17
ATTRDESC:: eod
The stem of the default host name to use if clients do not
supply host names.
eod

ATTR: dynamic-dns
ATTRID: 16
ATTRTYPE: AT_ENUMBYTE(update-none=0, update-all=1, update-fwd-only=2, update-rev-only=3)
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Controls whether the DHCP server should attempt to update a
DNS server with the name and address information from leases that
are granted to requesting clients.
eod

ATTR: synthesize-name
ATTRID: 17
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Controls whether the DHCP server automatically creates DNS host
names for DHCP clients who do not provide names. The server
can synthesize unique names for clients based on the 'synthetic
name stem' attribute.
eod

ATTR: update-dns-first
ATTRID: 18
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRFEAT: 16
ATTRDESC:: eod
Controls whether the DNS server is updated before
the lease is granted.
eod

ATTR: dns-host-bytes
ATTRID: 19
ATTRTYPE: AT_RANGEINT(1-4)
ATTRVIZ: 5
ATTRFEAT: 16
ATTRDESC:: eod
This value tells DHCP how many of the bytes in a lease's IP address to
use when forming in-addr.arpa names. The server forms names in the
in-addr zone by prepending dns-host-bytes of IP address (in reverse
order) to the reverse zone name.

If this is unset, the server will synthesize an appropriate value
based on the scope's subnet size.
eod

ATTR: bootp
ATTRID: 21
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Controls whether the server will accept BOOTP requests
for this scope. If you want clients to always receive the
same addresses, you need to reserve IP addresses for all your
BOOTP clients.
eod

ATTR: dynamic-bootp
ATTRID: 22
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRFEAT: 21
ATTRDESC:: eod
Controls whether the server will accept dynamic BOOTP
requests for this scope.  Dynamic BOOTP requests are BOOTP requests
that do not match a reservation, but could be satisfied from the
available lease pool. To use this feature you must also enable bootp.
eod


ATTR: renew-only
ATTRID: 33
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Controls whether to allow existing clients to reacquire their leases,
but not offer any leases to new clients.  Note that a 'renew-only'
scope will not change the client associated with any of its leases
(other than to allow a client currently using what the server believes
is an available IP address to continue using it).
eod

ATTR: deactivated
ATTRID: 36
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
A deactivated scope will not extend leases to any clients. It treats
all of the addresses in its ranges as if they were individually
deactivated.
eod

ATTR: dns-rev-server-addr
ATTRID: 37
ATTRTYPE: AT_IPADDR
ATTRVIZ: 5
ATTRFEAT: 16
ATTRDESC:: eod
The address of the primary DNS server for the zone into which the
server should add PTR records.
eod

ATTR: dhcp
ATTRID: 38
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Controls whether the server will accept DHCP requests
for this scope. Typically, this is only disabled when
bootp is enabled for that scope, to allow only a scope
to be used exclusively for BOOTP.
eod

ATTR: update-dns-for-bootp
ATTRID: 39
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
If the server is replying to a BOOTP request, and is offering a lease
from a Scope which is configured to perform DNS updates, it will check
this property before beginning the DNS update. This feature allows
an administrator to prevent DNS updates for BOOTP clients, while
allowing updates for DHCP clients.

'Update-dns-for-bootp' can be controlled globally with the 'server'
command; that global command can be overridden by individual Scopes
as necessary.
eod

ATTR: failover-main-server
ATTRID: 45
ATTRTYPE: AT_STRING
ATTRVIZ: 5
ATTRDESC:: eod
The DNS name of the main server associated with this lan
segment.  If this DNS name resolves to the IP address of the
current server, then this server will operate as the main server
for this scope.  It is an error if both the main and backup
server names resolve to the IP addresses which reside on the
same server.  If the backup-server-name is the distinguished
name "local" or is not configured on this scope or in the
server-wide default, then this server is considered to be the
main server for this scope.  Configuring either a
main-server-name or a backup-server-name will enable failover.
eod

ATTR: failover-backup-server
ATTRID: 46
ATTRTYPE: AT_STRING
ATTRVIZ: 5
ATTRDESC:: eod
The DNS name of the backup server associated with this lan
segment.  If this DNS name resolves to the IP address of the
current server, then this server will operate as the backup
server for this scope.  It is an error if both the main and
backup server names resolve to the IP addresses which reside on
the same server.  If the main-server-name is the distinguished
name "local" or is not configured in either this scope or the
server-wide default, then this server is considered to be the
backup server for this scope.  Configuring either a
main-server-name or a backup-server-name will enable failover.
eod

ATTR: failover
ATTRID: 54
ATTRTYPE: AT_ENUMINT(scope-enabled=1,scope-disabled=2,use-server-settings=3)
ATTRFLAGS: AF_PRINT_ALT
ATTRVIZ: 5
ATTRDESC:: eod
If set to scope-enabled, this scope will engage in failover as it has
been configured to do so.  If set to use the servers's settings, then
it will be configured according to the server's global failover
parameters.  If set to scope-disabled, this scope will not engage in
failover at all.
eod

# Scope ATTRID 55-??: trap features and properties
ATTR: trap-free-address-low
ATTRID: 55
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Send trap on FreeAddress below low threshold
eod

ATTR: trap-free-address-high
ATTRID: 56
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_FEATURE
ATTRVIZ: 5
ATTRDESC:: eod
Send trap on FreeAddress above high threshold
eod

ATTR: trap-free-address-low-threshold
ATTRID: 57
ATTRTYPE: AT_STRING
ATTRVIZ: 5
ATTRDESC:: eod
A number, or (if terminated with a %) percentage, of addresses free
at which point the free-address trap is generated
eod

ATTR: trap-free-address-high-threshold
ATTRID: 58
ATTRTYPE: AT_STRING
ATTRVIZ: 5
ATTRDESC:: eod
A number, or (if terminated with a %) percentage, of addresses free
at which point a free-address-high trap is generated and the
free-address trap is re-enabled.
eod

#
# Embedded-policy will not be separate object in CCM
#

ATTR: embedded-policy
ATTRID: 59
ATTRTYPE: AT_OBJ(Policy)
ATTRMCDPATH: embedded-policy
ATTRVIZ: 5
ATTRDESC:: eod
The embedded policy object for this scope.
eod

ATTR: failover-backup-percentage
ATTRID: 60
ATTRTYPE: AT_INT
ATTRVIZ: 5
ATTRDESC:: eod
The percentage of available addresses that the main server should
send to the backup server.  If defined for a scope, it must be
defined for the scope in the main server.  If it is defined in a
backup server, it is ignored (to enable copying of
configurations).  If it is defined, the defined value will
override the server defined values for failover-backup-percentage
and failover-dynamic-bootp-backup-percentage, and the value
defined here is the value that will be used for this scope,
whether or not this scope supports dynamic-bootp.  If it is
defined as zero (0), then no addresses will be sent to the backup
server.  Since zero is a significant value, once defined, this
parameter must be unset in order for this scope to utilize the
server-wide default values for failover-backup-percentage or
failover-dynamic-bootp-backup-percentage.
eod

ATTR: namespace-id
ATTRID: 68
ATTRTYPE: AT_INT
ATTRDESC:: eod
The id of the dhcp namespace that contains this scope.  The
namespace-id of a scope can be set in three ways: (1) when the scope
is created it is automatically assigned the namespace-id of the
session's current-namespace; (2) the namespace-id of the scope may be
set directly with set namespace-id=<namespace-id>; (3) the command
scope <scope-name> set namespace=<namespace-name> will set the
namespace-id of the scope to the namespace-id of <namespace-name>.
eod

#
# For use with expressions
#
# the new (for JackSprat) list of ranges
# Calculated by ranges expression
ATTR: range-list
ATTRID: 71
ATTRTYPE: AT_NLIST(AT_OBJ(CCMRangeTemplate))
ATTRVIZ: 3

ATTR: scope-name
ATTRID: 74
ATTRTYPE: AT_EXPR
ATTRFLAGS: AF_PRINT_ALT
ATTRVIZ: 3
ATTRDESC:: eod
An expression to define the name of the scope object created
when using the scope template.
eod

ATTR: selection-tag-list
ATTRID: 75
ATTRTYPE: AT_NLIST(AT_STRING)
# AT_STRING = 5
ATTRVAL: 5
ATTRDESC:: eod
The list of selection tags to associate with a scope.
eod

ATTR: dynamic-dns-fwd-key
ATTRID: 76
ATTRTYPE: AT_DNSNAME
ATTRMCDPATH: ddns-fwd-key
ATTRVIZ: 5
ATTRDESC:: eod
The TSIG key to be used in processing dynamic DNS updates of forward
zones for all leases that are in a scope.
eod

ATTR: dynamic-dns-rev-key
ATTRID: 77
ATTRTYPE: AT_DNSNAME
ATTRMCDPATH: ddns-rev-key
ATTRVIZ: 5
ATTRDESC:: eod
The TSIG key to be used in processing dynamic DNS updates of reverse
zones for all leases that are in a scope.
eod

ATTR: dynamic-dns-tsig
ATTRID: 78
ATTRTYPE: AT_ENUMINT(enable-fwd-and-rev=1,disable-fwd-and-rev=2,enable-fwd-only=3,enable-rev-only=4,use-server-settings=5)
ATTRFLAGS: AF_PRINT_ALT
ATTRMCDPATH: dynamic-dns-tsig
ATTRVIZ: 5
ATTRDESC:: eod
This attribute controls whether TSIG is used for DNS updates for the
scope.

If set to 'enable-fwd-and-rev' or 'disable-fwd-and-rev' TSIG will be
or will not be used for both forward and reverse zone updates
respectively. If set to 'enable-fwd-only' or 'enable-rev-only', TSIG
will be used for forward or reverse updates alone.

A scope level setting, if configured, will override the DHCP server
level attribute value.
eod

ATTR: options-expr
ATTRID: 79
ATTRTYPE: AT_EXPR
ATTRFLAGS: AF_PRINT_ALT
ATTRDESC:: eod
An expression to define the list of embedded policy options 
to be created for a scope object.
eod

ATTR: ranges-expr
ATTRID: 80
ATTRTYPE: AT_EXPR
ATTRFLAGS: AF_PRINT_ALT
ATTRDESC:: eod
An expression to define the list of scope ranges to be created
for a scope object.
eod

ATTR: offer-timeout
ATTRID: 81
ATTRTYPE: AT_TIME
ATTRDESC:: eod
If the server offers a lease to a client, but the offer is not
accepted, the server will wait the specified number of seconds before
making the lease 'available' again.
eod

ATTR: grace-period
ATTRID: 82
ATTRTYPE: AT_TIME
ATTRDESC:: eod
The length of time between the expiration of a lease and the time it
is made available for re-assignment.
eod

ATTR: router-host
ATTRID: 83
ATTRTYPE: AT_INT
ATTRDESC:: eod
This is use to create the ip address from the subnet to put it on the
router interface because router interface does not take network id. 
It takes ipaddress and mask
eod

ATTR: ignore-declines
ATTRID: 84
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
This attribute controls whether the DHCP server will process a
DHCPDECLINE request referencing an IP address in this scope.  If
this attribute is enabled, then the DHCP server will ignore all
declines which reference an IP address in this scope.  If this
attribute is not set, the DHCP server will set to UNAVAILABLE
every IP address which is referenced in a DHCPDECLINE message.
The default value is false, so that DHCPDECLINE messages are
processed normally, and the IP addresses referenced in these
DHCPDECLINE messages are set to UNAVAILABLE.
eod

ATTR: allocation-priority
ATTRID: 85
ATTRTYPE: AT_INT
ATTRDESC:: eod
You can use the allocation-priority to assign an ordering to scopes,
such that allocation of IP addresses will take place from acceptable
scopes with a higher priority until the IP addresses in all those
scopes are exhausted.  An allocation-priority of 0 is treated as not
having an allocation-proiority.  You can mix scopes with an
allocation-priority along with those without an allocation-priority
(or with an allocation-priority of 0, which is the same thing) in the
same network.  In this case, the scopes with an allocation priority
will be examined for acceptability prior to those scopes with no
allocation-priority (or an allocation-priority of 0).

If this attribute is not set (unset), then the allocation-priority of
the scope will be controlled by the DHCP server attribute
priority-address-allocation.  If priority-address-allocation is set
(and allocation-priority for the scope is not set (unset)), then the
allocation-priority for the scope will be the network number of the
scope.  If allocation-priority has been explicitly configured for a
scope, then for that scope the setting of priority-address-allocation
has no meaning.
eod

ATTR: allocate-first-available
ATTRID: 86
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
This boolean attribute forces all allocation of new IP addresses from
this scope to be made from the first available IP address, rather than
the default of the "least recently used" IP address.

If this attribute is not set (unset), then the decision on whether to
allocate the first available IP address in the scope will be
controlled by the DHCP server attribute priority-address-allocation.
If priority-address-allocation is set (and allocate-first-available
for the scope is not set (unset)), then the scope will allocate
addresses as if allocate-first-available was set.  If
allocate-first-available has been explicitly configured (either
enabled or disabled) for a scope, then for that scope the setting of
priority-address-allocation has no meaning.
eod

ATTR: failover-backup-allocation-boundary
ATTRID: 87
ATTRTYPE: AT_IPADDR
ATTRDESC:: eod
If allocate-first-available is configured, and this scope participates
in a failover relationship, this value is the IP address boundary 
below which which the failover backup servers IP addresses are 
allocated.  Normal client IP addresses are allocated in ascending
order, while the backup server's IP addresses are allocated in
decending order from this boundary.  If it is unset or zero, then 
the boundary used for this allocation is 1/2 of the distance between
the first and last IP address configured in the ranges for this scope.
If there are no IP addresses available below this boundary, then the
first IP address available above this boundary is used.
eod

ATTR: auto-hostname-pattern
ATTRID: 88
ATTRTYPE: AT_STRING
ATTRVIZ: 3
ATTRDESC:: eod
The pattern for auto-generated host names for a scope.
The exact syntax of this pattern are still TBD.
eod
# end of SCOPETEMPLATE


CLASS: CCMReverseZone
CLASSID: 1427
CLASSNAME: 1
CLASSDESC:: eod
The CCMReverseZone class describes configuration objects
that represent reverse DNS zones.  These reverse zones are
primary zones, just like the forward CCMZones, but are associated
with the in-addr.arpa name space.
eod

ATTR: origin
ATTRID: 1
ATTRTYPE: AT_DNSNAME
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE,AF_IMMUTABLE
ATTRDESC:: eod
The fully-qualified name of the zone's root.  The zone name.
eod

ATTR: records
ATTRID: 2
ATTRTYPE: AT_NLIST(AT_OBJ(CCMRRSet))
# 1 << 16 | classid(CCMRRSet) 1417
ATTRVAL: 66953
ATTRVIZ: 1
ATTRDESC:: eod
If we ever try to manage lots of small zones (< 100 RRs or so,
maybe more), then it will be easier to manage the zone and its
RRs as a single object rather than as a related group of objects.

We will need to continue supporting zones with many thousands
of RRs, so we will never remove support for the more complex
and more scalable CCMRRSet/CCMZone model.
eod

ATTR: parent
ATTRID: 3
ATTRTYPE: AT_NAMEREF(CCMZone.origin)
ATTRVAL: 1410
ATTRDESC:: eod
The name of the parent zone, not used since it is fairly easy to
find the most containing zone name.
eod

ATTR: restrict-xfer
ATTRID: 6
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Restricts sending zone transfers to a specific set of hosts. If you
restrict zone transfers, you need to use the restricted-xfer-acl
property to list the servers that are allowed to perform zone
transfers.
eod

ATTR: dynamic
ATTRID: 7
ATTRTYPE: AT_BOOL
ATTRDEFVAL: true
ATTRDESC:: eod
Enables RFC 2136 dynamic updates to the zone.  The most typical source
of these updates is a DHCP server. The UIs also need this attribute 
enabled in order to allow dynamic updates on the zone. Defaults to 
enabled.
eod

ATTR: restricted-set
ATTRID: 8
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
DEPRECATED: 4.0
ATTRVIZ: 1
ATTRDESC:: eod
The set of IP addresses which may request zone transfers,
when "restrict-xfer" is enabled.  Addresses with zeros in the
least significant octets are treated as network numbers,
with implicit masks in octet multiples.
eod

# Not used in 6.0
# ATTR: dynupdate-set
# ATTRID: 9
# ATTRTYPE: AT_NLIST(AT_IPADDR)

ATTR: notify
ATTRID: 11
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Enables notification of other authoritative servers when this
zone changes.  When set, to either true or false, it overrides the
global "notify" value for this zone.
eod

ATTR: notify-set
ATTRID: 12
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRDESC:: eod
An optional list of additional servers to notify when this zone
changes.  All servers listed in NS records for the zone, with the
exception of the server described by the "ns" property of the zone
(the mname field of the SOA record) will receive notifications.
Servers listed in "notify-list" will also be notified.
eod

ATTR: update-acl
ATTRID: 13
ATTRTYPE: AT_AMELST
ATTRVIZ: 5
ATTRDESC:: eod
The access control list for DNS updates to the zone, specified as an
address match element list. The access control list is not applied
to dynamic updates coming from the UIs. Updates from the UIs are 
always allowed as long as the zone attribute dynamic is enabled. 
eod

ATTR: template
ATTRID: 20
# AT_OBJREF(CCMZoneTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1424
ATTRDESC:: eod
The zone template last applied to the zone.
eod

ATTR: serial
ATTRID: 21
ATTRTYPE: AT_INT
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
Administratively specified serial number. Note that the serial number 
must never regress; hence, this serial number is only accepted only  
if it is more advanced than the actual (dynamic) serial number.
eod

ATTR: soattl
ATTRID: 30
ATTRTYPE: AT_DNSTTL
ATTRDESC:: eod
The ttl value to be applied to the zone's SOA rr.
eod

ATTR: ns
ATTRID: 31
ATTRTYPE: AT_DNSNAME
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The fully-qualified domain name of the primary name server for this 
zone. This host is the original or primary source of data for this 
zone.
eod

ATTR: person
ATTRID: 32
ATTRTYPE: AT_DNSNAME
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
A domain name which specifies the mailbox of the person
responsible for this zone.  The first label is a user or mail
alias, the rest of the labels are a mail destination.  A mailbox
of hostmaster@test.com would be represented as hostmaster.test.com.
eod

ATTR: refresh
ATTRID: 33
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 3h
ATTRDESC:: eod
The refresh interval, in seconds, of the zone. Used by secondaries
as the period of polling for zone changes.
eod

ATTR: retry
ATTRID: 34
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 1h
ATTRDESC:: eod
The retry interval, in seconds, of the zone. Used by secondaries
as the period of retrying when polling for changes, or attempting
a zone transfer encounters errors. The retry interval must be less 
than (expire - refresh).
eod

ATTR: expire
ATTRID: 35
ATTRTYPE: AT_RANGETIME(1-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 1w
ATTRDESC:: eod
The expire interval, in seconds, of the zone.  The length of
time a secondary can continue to serve zone data without
confirmation that it is still current. The expire interval 
must be greater than the refresh interval.
eod

ATTR: minttl
ATTRID: 36
ATTRTYPE: AT_RANGETIME(0-2147483647)
ATTRFLAGS: AF_INITIALIZE
ATTRDEFVAL: 10m
ATTRDESC:: eod
The minimum TTL value to expose in resource records for this zone.
Records with lower TTL values will be published with this value.
eod

ATTR: defttl
ATTRID: 37
ATTRTYPE: AT_RANGETIME(0-2147483647)
ATTRFLAGS: AF_INITIALIZE, AF_REQUIRED
ATTRDEFVAL: 24h
ATTRDESC:: eod
The default TTL value to be used in resource records for this zone
which do not specify a TTL.
eod

ATTR: nameservers
ATTRID: 38
ATTRTYPE: AT_NLIST(AT_DNSNAME)
# AT_DNSNAME = 35
ATTRVAL: 35
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The list of nameservers for this zone.
eod

ATTR: nsttl
ATTRID: 39
ATTRTYPE: AT_DNSTTL
ATTRDESC:: eod
The ttl value to be applied to the zone's NS rrs.
eod

ATTR: checkpoint-interval
ATTRID: 103
ATTRTYPE: AT_RANGETIME(1h-1w)
ATTRDEFVAL: 3h
ATTRDESC:: eod
The interval (in seconds) to checkpoint the zone. This defines how
often the latest zone snapshot is recorded in the Zone Checkpoint DB.
eod

ATTR: scvg-enabled
ATTRID: 104
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Enables dynamic resource-record scavenging for the zone.
eod

ATTR: scvg-interval
ATTRID: 105
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) to schedule scavenging on the zone.
eod

ATTR: scvg-no-refresh-interval
ATTRID: 106
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) in which the zone cannot have a 
timestamp updated if it is to be scavenged.
eod

ATTR: scvg-refresh-interval
ATTRID: 107
ATTRTYPE: AT_RANGETIME(1h-365d)
ATTRDESC:: eod
The interval (in seconds) in which the zone can have a timestamp 
updated.
eod

ATTR: scvg-max-records-searched
ATTRID: 108
ATTRTYPE: AT_INT
ATTRDESC:: eod
The maximum number of records to search at one time for
candidates to be scavenged.
eod

ATTR: scvg-ignore-restart-interval
ATTRID: 109
ATTRTYPE: AT_RANGETIME(2h-24h)
ATTRDESC:: eod
The interval (in seconds) for which a restart will not recalculate
a start scavenging time.
eod

ATTR: scvg-pause-interval
ATTRID: 110
ATTRTYPE: AT_RANGETIME(1s-24h)
ATTRDESC:: eod
The interval (in seconds) that scavenging will wait after
scavenging a set of records, before going onto the next set.
eod

ATTR: checkpoint-min-interval
ATTRID: 111
ATTRTYPE: AT_RANGETIME(60-2700)
ATTRDESC:: eod
The minimum amount of time required (in seconds) between the time
the first checkpoint occurs and the second checkpoint starts.
This attribute applies only to zones with dynamic rrs.
eod

ATTR: scvg-max-records
ATTRID: 112
ATTRTYPE: AT_RANGEINT(1-10000)
ATTRDESC:: eod
The maximum number of records to be scavenged from the zone during a 
scavenging interval.
eod

ATTR: owner
ATTRID: 120
ATTRTYPE: AT_OBJREF(CCMOwner)
ATTRVAL: 1416
ATTRDESC:: eod
The owner of this object, referenced by OID.  This owner field 
is used to group similarly owned objects and can be used to
limit access to objects by their owner.
eod

ATTR: dist-map
ATTRID: 121
ATTRTYPE: AT_OBJREF(CCMZoneDistribution)
ATTRVAL: 1423
ATTRDESC:: eod
The zone distribution map associated with this zone, referenced
by OID.  The zone distribution map describes the primary and
secondary DNS servers that should provide DNS service for
this zone.
eod

ATTR: secondaries
ATTRID: 122
ATTRTYPE: AT_NLIST(AT_OBJREF(CCMCluster))
# 2 << 16 | classid(CCMCluster) 1449
ATTRVAL: 132521
ATTRVIZ: 1
ATTRDESC:: eod
This is not used, now that we have the zone-distribution map to
handle the relationship between primary and secondary servers.
eod

ATTR: subzone-forward
ATTRID: 123
ATTRTYPE: AT_ENUMINT(normal=0, no-forward=1)
ATTRFLAGS: AF_PRINT_ALT
ATTRDEFVAL: normal
ATTRDESC:: eod
Specifies whether subzones use forwarders or not. When no-forward is 
set, any query for the zone will not be sent to the forwarder. This 
is an extended resolution exception.
eod

ATTR: mcd-major
ATTRID: 124
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
Unique major version number of the zone. Indicates whether a zone has
been deleted and re-added.
eod

ATTR: name-bytes
ATTRID: 150
ATTRTYPE: AT_ENUMINT(0,1,2,3,4)
ATTRDESC:: eod
The number of address bytes that should be used for a PTR record name
eod

ATTR: address
ATTRID: 151
ATTRTYPE: AT_SUBNET
ATTRVIZ: 1
ATTRDESC:: eod
Not used.  Perhaps useful to track the exact subnet associated with
this reverse zone.
eod

ATTR: namespace
ATTRID: 152
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
Not used.  Would be used to specify the VPN that contained
the address.
eod

ATTR: ranges
ATTRID: 153
ATTRTYPE: AT_LIST(AT_BLOB)
ATTRVIZ: 1
ATTRDESC:: eod
Not used.  Perhaps useful to track the ranges of address for 
this zone.
eod

ATTR: full-reload-recovery-options
ATTRID: 119
ATTRTYPE: AT_ENUMINT(abort-on-error=0, resume-roll-forward-on-err=1, remove-from-changeset-db=2, remove-dynamic-rrs=3) 
ATTRFLAGS: AF_PRINT_ALT
ATTRVIZ: 3
ATTRDESC:: eod
This defines the option to use during zone configuration. 
This option overrides the corresponding server level option.
abort-on-error, the default, specifies that full zone reload
should abort when encountered an error (while rolling-forward
changesets on top of the zone checkpoint). resume-roll-forward-on-err
requests that the server should continue rolling forward the zone
eventhough there was an encountered error(s). remove-from-changeset-db
specifies that the zone should be removed from the changeset DB 
during server startup/reload; this option may result in the lost
of "recent" RRs. Last, remove-dynamic-rrs causes the server to
remove the zone from both the checkpoint datastore and the 
changeset DB, causing all dynamic RRs to be lost (static RRs
shall be retained though).
eod

ATTR: restrict-xfer-acl
ATTRID: 125
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
The access control list that designates who is allowed to receive
zone transfers from this zone. 
eod

# 126 is master-servers in secondary zone

ATTR: cluster-id
ATTRID: 127
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the (local) cluster that is the authoritative source
for this object.  This attribute is set as part of replica data
propagation.
eod

ATTR: replica-deleted
ATTRID: 128
ATTRTYPE: AT_BYTE
ATTRDESC:: eod
A marker that the replica propagation code thinks that this
object should be deleted.  This is used rather than removing
the cluster-id value so we can tell when an object has been
created by replica propagation and then should be deleted.
eod

ATTR: restrict-query-acl
ATTRID: 129
ATTRTYPE: AT_AMELST
ATTRDESC:: eod
Zone Address Control List (ACL) used to restrict queries to be 
honored by the DNS server on this zone. This list can contain host 
IPs, network addresses, TSIG keys and/or (global) ACLs.  Those 
clients defined in this ACL  list shall be honored; others shall be 
refused. If missing, the zone inherits the value of the server's
restrict-query-acl attribute.
eod

ATTR: import-file
ATTRID: 130
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file containing the RRs for this zone.
eod

ATTR: ixfr-base-file
ATTRID: 131
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file for ixfr-base.
eod

ATTR: ixfr-tmp-file
ATTRID: 132
ATTRVIZ: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The file for ixfr-tmp.
eod

ATTR: zone-rrdata
ATTRID: 133
ATTRVIZ: 1
ATTRTYPE: AT_NLIST(AT_PACK(SSIB*))
ATTRDESC:: eod
An experimental attribute to hold the AT_PACK(SSIB*) type, class, ttl
and data records for the zone itself.  This is the same as the
static-rrs attribute of the RRSet with the name '@'.  It does
not contain the SOA or NS records that are stored and managed
as zone attributes.
eod

#end of reverse zone

CLASS: CCMIPRange
CLASSID: 1428
CLASSDESC:: eod
The CCMIPRange class of objects describe a range of IP address
space.  Unlike subnets (and address blocks) this range can be of
any size and alignment.
eod

ATTR: parent
ATTRID: 1
#ATTRTYPE: AT_OBJREF(CCMSubnet)
ATTRTYPE: AT_OID
ATTRVAL: 1422
ATTRDESC:: eod
The parent subnet for this range.
eod

ATTR: start
ATTRID: 2
ATTRTYPE: AT_IPADDR
ATTRDESC:: eod
The first address in the range.
eod

ATTR: end
ATTRID: 3
ATTRTYPE: AT_IPADDR
ATTRDESC:: eod
The last address in the range.
eod

ATTR: type
ATTRID: 4
ATTRTYPE: AT_ENUMSTR(dynamic, static, mixed)
ATTRDESC:: eod
The type of range, either static for static address
assignment or dynamic for DHCP controlled assignment.
eod

ATTR: scope
ATTRID: 5
#ATTRTYPE: AT_OBJREF(Scope)
ATTRTYPE: AT_OID
ATTRVAL: 1101
ATTRVIZ: 2
ATTRDESC:: eod
The current MCD (primary) Scope object associated with this range
eod

ATTR: backup-scope
ATTRID: 6
#ATTRTYPE: AT_OBJREF(Scope)
ATTRTYPE: AT_OID
ATTRVAL: 1101
ATTRVIZ: 2
ATTRDESC:: eod
The current MCD backup Scope object associated with this range.
Probably won't be used in 6.0, but is kept here as a hint about
handling main and backup scopes in a unified address space view.
eod

# make this a namespace-id rather than an OID since we are
# using the 4 byte namespace id throughout the system
ATTR: namespace
ATTRID: 7
ATTRTYPE: AT_INT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 4 of Namespace(1127) as 4<<16 + 1127 == 263271
ATTRVAL: 263271
ATTRDESC:: eod
The VPN that contains this address range.
eod

# remove CCMReservation -- just use the Reservation object from
# cnr-datadict.
# CLASS: CCMReservation
# CLASSID: 1429

CLASS: CCMNetwork
CLASSID: 1430
CLASSDESC:: eod
The configuration object that
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The name of this network.
eod

ATTR: address
ATTRID: 2
ATTRTYPE: AT_SUBNET
ATTRDESC:: eod
The primary subnet for this network.
eod

ATTR: namespace
ATTRID: 3
ATTRTYPE: AT_INT
ATTRDESC:: eod
The id of the VPN containing the primary subnet
eod

CLASS: CCMRouter
CLASSID: 1431
CLASSDESC:: eod
This class describes configuration objects representing
managed router devices.  The data model for routers
in CNR is fairly simple, containing just the components
that are related to IP address management.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The name of this router.
eod

ATTR: address
ATTRID: 2
ATTRTYPE: AT_IPADDR
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The address of the management interface for this router.
eod

ATTR: username
ATTRID: 3
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The username to use to log in to this router.
eod

ATTR: password
ATTRID: 4
ATTRTYPE: AT_CLEARTEXT
ATTRVAL: 5
ATTRDESC:: eod
The password to use to authenticate the username.  Should not
be normally used, and should never be sent over insecure
links.  The main use is to provide the clear-text password
to the RIC server which intentionally does not have access 
to the secret storage module.
eod

ATTR: password-secret
ATTRID: 5
ATTRTYPE: AT_SECRET
ATTRVAL: 4
ATTRDESC:: eod
The id of the secret containing the clear-text password for
authenticating the username.
eod

ATTR: enable
ATTRID: 6
ATTRTYPE: AT_CLEARTEXT
ATTRVAL: 7
ATTRDESC:: eod
The enable password, in clear-text form.  See the notes
about the management of the clear-text value for the
password attribute, which applies to this.
eod

ATTR: enable-secret
ATTRID: 7
ATTRTYPE: AT_SECRET
ATTRVAL: 6
ATTRDESC:: eod
The id of the secret containing the clear-text password
for enabling super-user access to the router.
eod

ATTR: owner
ATTRID: 8
# AT_OBJREF(CCMOwner)
ATTRTYPE: AT_OID
ATTRVAL: 1416
ATTRDESC:: eod
The owner of this object, referenced by OID.  This owner field 
is used to group similarly owned objects and can be used to
limit access to objects by their owner.
eod

ATTR: region
ATTRID: 9
# AT_OBJREF(CCMRegion)
ATTRTYPE: AT_OID
ATTRVAL: 1425
ATTRDESC:: eod
The region associated with this object, referenced by OID.  This 
region field is used to group similarly located objects and can be 
used to limit access to objects by their region.
eod

ATTR: type
ATTRID: 10
ATTRTYPE: AT_NAMEREF(CCMRouterType.name)
ATTRVAL: 1447
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The type of the router.  This is needed so that the RIC
server can use the correct implementation of the router-specific
interface.
eod

ATTR: login-template
ATTRID: 11
ATTRTYPE: AT_NAMEREF(CCMRouterLoginTemplate.name)
ATTRVAL: 1454
ATTRDESC:: eod
The optional name of a login template that can be used
to further customize the RIC server's login and enable
interaction sessions.
eod

ATTR: login-temp-obj
ATTRID: 12
ATTRTYPE: AT_OBJ(CCMRouterLoginTemplate)
ATTRVAL: 1454
ATTRFLAGS: AF_TRANSIENT
ATTRDESC:: eod
The actual login template object.  This attribute is used 
so that the CCM server can provide the login template to
the stateless RIC server.
eod

ATTR: scopetemplate
ATTRID: 13
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1426
ATTRDESC:: eod
An optional scope template to be used when creating Scope objects
from subnets allocated to this router.
eod

ATTR: failoverpair
ATTRID: 14
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1414
ATTRDESC:: eod
A reference by OID to the failover pair that is used for
the primary (or only) DHCP service.
eod

ATTR: secondary-failoverpair
ATTRID: 15
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1414
ATTRDESC:: eod
A reference by OID to the failover pair that is used for
the secondary DHCP service.  This is used when a CMTS
is configured to send DHCP requests to different DHCP
servers for cable modems (CM) and for the devices behind 
the cable modems (CPE).
eod

#Not used for 6.1
#ATTR: port
#ATTRID: 16
#ATTRTYPE: AT_INT
#ATTRDEFVAL: 23

ATTR: interfaces
ATTRID: 17
ATTRTYPE: AT_NLIST(AT_OBJ(CCMRouterInterface))
# 1 << 16 | classid(CCMRouterInterface) 1435
ATTRVAL: 66971
ATTRFLAGS: AF_TRANSIENT
ATTRDESC:: eod
The list of objects describing the interfaces associated with
this router.  This is used when the RIC server is returning
information about a router and its interfaces, or when the
CCM server is returning a list of routers and interfaces for
the UI to display a tree of routers and interfaces.
eod

ATTR: use-ssh
ATTRID: 18
ATTRTYPE: AT_ENUMINT(disabled=0,optional=1,required=2)
ATTRDEFVAL: optional
ATTRDESC:: eod
Specify whether the RIC server should (or must) use SSH 
when communicating with the router. 
eod

ATTR: description
ATTRID: 19
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The description of this router.
eod


# this never got used
# CLASS: CCMScope
# CLASSID: 1432

# This is confusing with CCMAddrInfo, which is what we are using
# CLASS: AddrInfo
# CLASSID: 1433

CLASS: CCMTask
CLASSID: 1434

ATTR: id
ATTRID: 1
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
The unique identifier of this task.
eod

ATTR: db-id
ATTRID: 2
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
db-id -- the Datastore id for this task which qualifies DBSN
  0   -  means the current datastore
  1   - is the CCM datastore for this JackSprat release
  2   - is the local MCD datastore associated with the CCM datastore
  3-n - are the remote datastores

The db-id can also be used as the conn id.
eod

ATTR: state
ATTRID: 3
ATTRTYPE: AT_ENUMINT(NONE=0, INIT=1, QUEUED=2, EXECUTING=3, DONE=4, ERROR=5)
ATTRVIZ: 1
ATTRDESC:: eod
The state of this task.
eod

ATTR: dbsn
ATTRID: 4
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
The DBSN of the ChangeSet that triggered this task.
eod

ATTR: req-list
ATTRID: 7
ATTRTYPE: AT_NLIST(AT_OBJ(Message))
# 1 << 16 | 6
ATTRVAL: 65542
ATTRVIZ: 1
ATTRDESC:: eod
The list of ScpMessage requests that should be performed.  This
is the actual encoding of the work to be done by this task.
eod

ATTR: resp-list
ATTRID: 8
ATTRTYPE: AT_NLIST(AT_OBJ(Message))
# 1 << 16 | 6
ATTRVAL: 65542
ATTRVIZ: 1
ATTRDESC:: eod
The corresponding list of ScpMessage responses for the requests
that were made when executing this task.
eod

CLASS: CCMRouterInterface
CLASSID: 1435
CLASSDESC:: eod
This class contains objects that describe the
interfaces on a router.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_IMMUTABLE
ATTRDESC:: eod
The name of the router interface.
eod

ATTR: router
ATTRID: 2
#ATTRTYPE: AT_OBJREF(CCMRouter)
ATTRTYPE: AT_OID
ATTRVAL: 1431
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
A reference by OID to the router that this interface is
part of.
eod

ATTR: primary-subnet
ATTRID: 3
ATTRTYPE: AT_IPNET
ATTRDESC:: eod
The primary subnet (and interface address) for this 
interface.
eod

ATTR: secondary-subnets
ATTRID: 4
ATTRTYPE: AT_NLIST(AT_IPNET)
# AT_IPNET=27
ATTRVAL: 27
ATTRDESC:: eod
The list of secondary subnets (and interface addresses) 
for this interface.
eod

# Not in use for 6.1
#ATTR: docsis-secret
#ATTRID: 5
#ATTRTYPE: AT_STRING

ATTR: mac-address
ATTRID: 6
ATTRTYPE: AT_MACADDR
ATTRFLAGS: AF_IMMUTABLE
ATTRDESC:: eod
The MAC address of this interface.
eod

ATTR: state
ATTRID: 7
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_IMMUTABLE
ATTRDESC:: eod
The enabled/disabled state of this interface.
eod

ATTR: cable-helper
ATTRID: 8
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRDESC:: eod
The list of ip addresses stored as the cable-helper value
on the interface.
eod

ATTR: ip-helper
ATTRID: 9
ATTRTYPE: AT_NLIST(AT_IPADDR)
# AT_IPADDR = 4
ATTRVAL: 4
ATTRDESC:: eod
The list of ip addresses stored as the ip-helper value on
the interface.
eod

ATTR: description
ATTRID: 10
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The description of this interface.
eod

ATTR: scopetemplate
ATTRID: 11
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1426
ATTRDESC:: eod
An optional scope template to be used when creating Scope objects
for this interface.
eod

ATTR: failoverpair
ATTRID: 12
ATTRTYPE: AT_OID
ATTRVAL: 1414
ATTRDESC:: eod
A reference by OID to the failover pair that is used for
the primary DHCP service.  If this is not set, the
failoverpair attribute on the router will be used.
eod

ATTR: secondary-failoverpair
ATTRID: 13
ATTRTYPE: AT_OID
ATTRVAL: 1414
ATTRDESC:: eod
A reference by OID to the failover pair that is used for
the secondary DHCP service.  If this is not set, the
secondary-failoverpair attribute on the router will be used.
eod

ATTR: parent
ATTRID: 14
# ATTRTYPE: AT_OBJREF(CCMRouterInterface)
ATTRFLAGS: AF_REFERENCE
ATTRTYPE: AT_OID
ATTRVAL: 1435
ATTRDESC:: eod
The parent interface if we have sub-interfaces or bundled
interfaces configured on the router.
eod

ATTR: is-virtual
ATTRID: 15
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRFLAGS: AF_IMMUTABLE
ATTRDESC:: eod
Indication if this interface is a virtual sub-interface.
eod

ATTR: bundle-id
ATTRID: 16
ATTRTYPE: AT_INT
ATTRFLAGS: AF_IMMUTABLE
ATTRDESC:: eod
The id of the bundle for grouping bundled interfaces.
eod

ATTR: is-master
ATTRID: 17
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRFLAGS: AF_IMMUTABLE
ATTRDESC:: eod
Indication that this is the master interface in a bundle of
interfaces.
eod

ATTR: owner
ATTRID: 18
# AT_OBJREF(CCMOwner)
ATTRTYPE: AT_OID
ATTRVAL: 1416
ATTRDESC:: eod
The owner of this object, referenced by OID.  This owner field 
is used to group similarly owned objects and can be used to
limit access to objects by their owner.
eod

ATTR: region
ATTRID: 19
# AT_OBJREF(CCMRegion)
ATTRTYPE: AT_OID
ATTRVAL: 1425
ATTRDESC:: eod
The region associated with this object, referenced by OID.  This 
region field is used to group similarly located objects and can be 
used to limit access to objects by their region.
eod

ATTR: cable-dhcp-giaddr
ATTRID: 20
ATTRTYPE: AT_ENUMINT(policy=2, primary=1, not-present=0)
ATTRDEFVAL: not-present
ATTRDESC:: eod
The setting for giaddr selection in cable interfaces.
eod

CLASS: CCMUserSessionSettings
CLASSID: 1436
CLASSDESC:: eod
The per-user settings for user interfaces, stores persistent UI
session values.
eod

ATTR: username
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The username for whom these settings are saved.
eod

CLASS: CCMAddrSource
CLASSID: 1437
CLASSDESC:: eod
The contact and type information for a higher-level source of
address space.  Examples include: ARIN, an ISP, and ANR.

The CCMAddressSource object could contain information about:
  - how to contact the source both for reporting on and requesting
    address space.
  - what kind of data and what format to use for reports
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The name of this address source.
eod

ATTR: server
ATTRID: 2
#ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1449
ATTRVIZ: 1
ATTRDESC:: eod
The server associated with this address source.  This could be
used to report on utilization or make further requests for more
space.
eod

ATTR: type
ATTRID: 3
ATTRTYPE: AT_ENUMSTR(CCM=2)
ATTRFLAGS: AF_REQUIRED, AF_IMMUTABLE
ATTRDESC:: eod
The type of address source.  The type will determine how
utilization reports and requests for more space are sent
back.  It may also indicate that other attributes are 
required.
eod

CLASS: CCMAddrSink
CLASSID: 1438
CLASSDESC:: eod
The contact and type information for a lower-level sink of
address space.  Examples include the CNR DHCP server, which
will be the only defined address sink in the JS release.

The CCMAddrSink object could contain information about:
  - how to contact the sink
  - what kind of data and what format to use for communication
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The name of this address destination.
eod

ATTR: server
ATTRID: 2
#ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1449
ATTRVIZ: 1
ATTRDESC:: eod
The server associated with this address destination.  This could be
used to report on utilization or make further requests for more
space.
eod

ATTR: type
ATTRID: 3
ATTRTYPE: AT_ENUMSTR(DHCP=1,CCM=2)
ATTRFLAGS: AF_REQUIRED, AF_IMMUTABLE
ATTRDESC:: eod
The type of address destination.  The type will determine
how utilization is queried and how address space is delegated.
eod

CLASS: CCMServerInfo
CLASSID: 1439

ATTR: health
ATTRID: 1
ATTRTYPE: AT_INT
ATTRDESC:: eod
The health of the server as an abstract number from 1 to 10.
eod

ATTR: state
ATTRID: 2
ATTRTYPE: AT_ENUMINT(unknown=0,loaded=1,initialized=2,unconfigured=3,running=4,stopped=5,disabled=6,exiting=7,test-unknown=42)
ATTRDESC:: eod
The running state of this server as it moves through the AIC 
server state machine.
eod

#
# Not used
# CLASS: CCMRangeTemplate
# CLASSID: 1440

# classids for log file, perhaps other stuff
CLASS: CCMCCMServer
CLASSID: 1441

CLASS: CCMCCMServerStats
CLASSID: 1442

CLASS: CCMCnrAgent
CLASSID: 1443

CLASS: CCMCnrAgentStats
CLASSID: 1444

CLASS: CCMAddrInfo
CLASSID: 1445
CLASSDESC:: eod
A description of an address.  Containing such information as
the DNS names associated with this address and/or the DHCP
reservations.
eod

ATTR: addr
ATTRID: 1
ATTRTYPE: AT_IPADDR
ATTRDESC:: eod
The IP address being described.
eod

ATTR: namespace
ATTRID: 2
ATTRTYPE: AT_INT
ATTRDESC:: eod
The VPN that qualifies the IP address being described.
eod

ATTR: flags
ATTRID: 3
ATTRTYPE: AT_FLAGSINT(named=1,reserved=2,manual=5)
ATTRDESC:: eod
Flags defining what information is valid in the information,
and what state the address is in.
  named    - it has a DNS name, !named ==> dynamic DNS update.
  reserved - it is reserved in DHCP for the specified MAC address.
  manual   - it is manually assigned and named.
eod

ATTR: macaddr
ATTRID: 4
ATTRTYPE: AT_MACADDR
ATTRDESC:: eod
The reserved mac address, if any for this address.
eod

ATTR: zone
ATTRID: 5
# AT_OBJREF(CCMZone)
ATTRTYPE: AT_OID
ATTRVAL: 1410
ATTRDESC:: eod
The zone that the name is relative to.
eod

ATTR: name
ATTRID: 6
ATTRTYPE: AT_RDNSNAME
ATTRDESC:: eod
The relative name, if any for this address.
eod

CLASS: CCMAddrSpaceType
CLASSID: 1446
CLASSDESC:: eod
This is the user define type for addr space
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The name of the address space type.  This is used in the
AddrBlock.type attribute to specify the type of a given address block.
eod

ATTR: description
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
A description of the address space type.
eod

ATTR: scopetemplate
ATTRID: 3
#ATTRTYPE: AT_OBJREF(CCMScopeTemplate)
ATTRTYPE: AT_OID
ATTRVAL: 1426
ATTRDESC:: eod
An optional scope template to be used when creating Scope objects
from subnets allocated from address blocks of this type.
eod

ATTR: selection-tags
ATTRID: 4
ATTRTYPE: AT_NLIST(AT_STRING)
# AT_STRING=5
ATTRVAL: 5
ATTRDESC:: eod
The selection tags to use for Scopes of this address type.
eod

ATTR: client-class
ATTRID: 5
ATTRTYPE: AT_NAMEREF(ClientClass.name)
ATTRVAL: 1117
ATTRVIZ: 1
ATTRDESC:: eod
The client class name that should be associated with clients
using this address space type.

Does this make sense?
eod

ATTR: sub-interface-number
ATTRID: 6
ATTRTYPE: AT_INT
ATTRVIZ: 1
ATTRDESC:: eod
If MPLS VPNs and sub-interfaces are being used, it may be 
useful to associate a constant sub-interface number with a
specific type of address type.  If so, this attribute should
contain the sub-interface number.

There is no product support for using this sub-interface number,
so this attribute is currently set to visibility 1.
eod


CLASS: CCMRouterType
CLASSID: 1447
CLASSDESC:: eod
The router type class describes the objects that provide 
configuration information for the RIC server to communicate
with routers of that specific type.  The main configuration
value is the name of the java class that implements the
actual command line parsing and unparsing (for telnet based
communications).
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The name of this router type.
eod

ATTR: description
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The description of this router type.
eod

ATTR: java-class-name
ATTRID: 3
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The java class name for an implementation of 
com.cisco.cnr.ricsrv.IRouter that can communicate 
with this type of router.
eod

ATTR: manufacturer
ATTRID: 4
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The name of the manufacturere of this type of router.
eod

ATTR: router-os-version
ATTRID: 5
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The OS version, as a string for this type of router.
eod

# Keep this class around so that we can provide low volume versions of the
# subnet utilization data as an ScpObj/aobj_h
CLASS: CCMSubnetUtilization
CLASSID: 1448
CLASSDESC:: eod
This stores the Subnet utilization data as an aobj_h
eod

ATTR: timestamp
ATTRID: 1
ATTRTYPE: AT_DATE
ATTRDESC:: eod
The time when this utilization data was collected.
eod

ATTR: subnet
ATTRID: 2
ATTRTYPE: AT_IPNET
ATTRDESC:: eod
The subnet address and mask for this utilization report. This
needs to be attrid 2 for sorting to work.
eod

ATTR: vpn-id
ATTRID: 3
ATTRTYPE: AT_INT
ATTRDESC:: eod
The VPN that contains the subnet for this utilization report.
This needs to be attrid 3 for sorting to work.
eod


ATTR: low-active-dynamic
ATTRID: 4
ATTRTYPE: AT_INT
ATTRDESC:: eod
The lowest number of dynamic addresses in use recorded during this 
reporting interval.
eod

ATTR: high-active-dynamic
ATTRID: 5
ATTRTYPE: AT_INT
ATTRDESC:: eod
The highest number of dynamic addresses in use recorded during this 
reporting interval.
eod

ATTR: active-dynamic
ATTRID: 6
ATTRTYPE: AT_INT
ATTRDESC:: eod
The number of dynamic addresses that are in use by clients at the
end of this reporting interval. Addresses in the OFFERED, LEASED, 
EXPIRED, RELEASED and PENDING-AVAILABLE states are considered active.
eod

ATTR: low-free-dynamic
ATTRID: 7
ATTRTYPE: AT_INT
ATTRDESC:: eod
The lowest number of free dynamic addresses recorded during this 
reporting interval.
eod

ATTR: high-free-dynamic
ATTRID: 8
ATTRTYPE: AT_INT
ATTRDESC:: eod
The highest number of free dynamic addresses recorded during this 
reporting interval.
eod

ATTR: free-dynamic
ATTRID: 9
ATTRTYPE: AT_INT
ATTRDESC:: eod
The number of dynamic addresses that are free and available for new 
clients at the end of this reporting interval. Addresses in the  
AVAILABLE and OTHER-AVAILABLE states are considered free.
eod

ATTR: low-active-reserved
ATTRID: 10
ATTRTYPE: AT_INT
ATTRDESC:: eod
The lowest number of active reserved addresses recorded during this 
reporting interval.
eod

ATTR: high-active-reserved
ATTRID: 11
ATTRTYPE: AT_INT
ATTRDESC:: eod
The highest number of active reserved addresses recorded during this 
reporting interval.
eod

ATTR: active-reserved
ATTRID: 12
ATTRTYPE: AT_INT
ATTRDESC:: eod
The number of active reserved addresses in use by clients at the 
end of this reporting interval. Addresses in the OFFERED, LEASED, 
EXPIRED, RELEASED and PENDING-AVAILABLE states are considered active.
eod

ATTR: local-vpn-id
ATTRID: 13
ATTRTYPE: AT_INT
ATTRDESC:: eod
The VPN id for the local server. This is used to aggregate subnet
utilization information from multiple DHCP servers that do not have 
a coordinated set of VPN ids for their VPNs.
eod

ATTR: cluster-id
ATTRID: 14
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_REFERENCE
# Encode attribute 11 of Cluster(1449) as 11<<16 + 1449 == 722345
ATTRVAL: 722345
ATTRDESC:: eod
The id of the local cluster that is the authoritative source
for this data. This attribute is set as part of the replica data
propagation.
eod

CLASS: CCMCluster
CLASSID: 1449
CLASSDESC:: eod
The CCMCluster class contains configuration objects that
represent remote CNR clusters.  Its main purpose is to
store contact information(address, port and credentials)
for a remote cluster and to serve as a reference point for
objects related to that remote cluster.

One particular group of objects is the CCMServer objects
representing the specific servers on the remote cluster.
These objects refer to the cluster through their cluster
attribute, and usually inherit the contact information
from the cluster object.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The name of the cluster.
eod

ATTR: fqdn
ATTRID: 2
ATTRTYPE: AT_DNSNAME
ATTRDESC:: eod
The DNS name of this server, not used for contacting
the cluster.
eod

ATTR: ipaddr
ATTRID: 3
ATTRTYPE: AT_IPADDR
ATTRFLAGS: AF_REQUIRED,AF_UNIQUE
ATTRDESC:: eod
The IP address of this server.  This attribute,
rather than the fqdn is used when making connections
to the cluster.
eod

ATTR: admin
ATTRID: 4
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The administrator identity to use when contacting this cluster.
eod

ATTR: password
ATTRID: 5
ATTRTYPE: AT_CLEARTEXT
ATTRVAL: 7
ATTRDESC:: eod
The password to use to authenticate the identity stored in the
admin attribute.  This clear-text value should not be used
except within process memory.  The corresponding password-secret
should be used instead.
eod

ATTR: scp-port
ATTRID: 6
ATTRTYPE: AT_INT
ATTRDESC:: eod
The port number to use for SCP communications.
eod

ATTR: password-secret
ATTRID: 7
ATTRTYPE: AT_SECRET
ATTRVAL: 5
ATTRDESC:: eod
The id of the secret representing the password used to authenticate
the identity stored in the admin attribute.
eod

ATTR: http-port
ATTRID: 8
ATTRTYPE: AT_INT
ATTRVIZ: 5
ATTRDESC:: eod
This specifies the http-port to use for non-SSL-secured connections
to the webserver for this cluster.
eod

ATTR: poll-replica-interval
ATTRID: 9
ATTRTYPE: AT_TIME
ATTRDEFVAL: 4h
ATTRDESC:: eod
This interval specifies how often to poll this 
server for replica data.
eod

ATTR: poll-replica-offset
ATTRID: 10
ATTRTYPE: AT_TIME
ATTRDEFVAL: 4h
ATTRDESC:: eod
Provide a fixed time of day for replica polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: cluster-id
ATTRID: 11
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_UNIQUE, AF_IMMUTABLE
ATTRDESC:: eod
The id of the (local) cluster that is the authoritative source
for this object.  This attribute is set as part of replica data
propagation.
eod

ATTR: local-servers
ATTRID: 12
ATTRTYPE: AT_NLIST(AT_OBJ(CCMServer))
# 1 << 16 | 1421
ATTRVAL: 66957
ATTRFLAGS: AF_TRANSIENT
ATTRDESC:: eod
The transient list of servers associated with this cluster.
This attribute is provided to make it easier for clients 
that want to show a tree of clusters with their child
servers to get all of the information in a single request.
eod

ATTR: poll-subnet-util-interval
ATTRID: 13
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDESC:: eod
This interval specifies how often to collect the subnet 
utilization from DHCP server for this cluster. If set to 0 
then don't poll.
eod

ATTR: poll-subnet-util-retry
ATTRID: 14
ATTRTYPE: AT_RANGEINT(0-4)
ATTRDESC:: eod
This specifies how often to retry if it fails to poll the data.
eod

ATTR: poll-lease-hist-interval
ATTRID: 15
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDESC:: eod
This interval specifies how often to collect the lease history from 
DHCP server for this cluster. If set to 0 then don't poll.
eod

ATTR: poll-lease-hist-retry
ATTRID: 16
ATTRTYPE: AT_RANGEINT(0-4)
ATTRDESC:: eod
This specifies how often to retry if it fails to poll the data.
eod

ATTR: https-port
ATTRID: 17
ATTRTYPE: AT_INT
ATTRVIZ: 5
ATTRDESC:: eod
This specifies the https-port to use for SSL-secured connections
to the webserver for this cluster.  This port is only used if
the value of the use-https-port attribute is true.
eod

ATTR: use-https-port
ATTRID: 18
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRVIZ: 5
ATTRDESC:: eod
This specifies whether the https-port should be used in making
single sign-on connections to the cluster.  If the value is
false, or if the https-port attribute is not set, then the
http-port value is used.
eod

ATTR: shared-secret
ATTRID: 19
ATTRTYPE: AT_SECRET
ATTRDESC:: eod
The id of the secret that is shared between the server storing
this object and the cluster that it represents.  This shared 
secret is used to generate single-sign-on authentication tokens.
eod

ATTR: remote-id
ATTRID: 20
ATTRTYPE: AT_SHORT
ATTRFLAGS: AF_IMMUTABLE
ATTRDESC:: eod
The CCMCluster.id value for the CCMCluster object on the remote
cluster that refers back to us.  If we have two CCMCluster objects 
on two servers that share a secret and refer to each other, then:
  L.id                   == R.remote-id
  L.remote-id            == R.id
  value(L.shared-secret) == value(R.shared-secret)
eod

ATTR: replication-initialized
ATTRID: 21
ATTRTYPE: AT_BOOL
ATTRFLAGS: AF_IMMUTABLE
ATTRDEFVAL: false
ATTRVIZ: 5
ATTRDESC:: eod
This indicates whether data replication has already been initialized
on this cluster.
eod

ATTR: poll-lease-hist-offset
ATTRID: 22
ATTRTYPE: AT_RANGETIME(0-24h)
ATTRDESC:: eod
Provide a fixed time of day for lease history polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: poll-subnet-util-offset
ATTRID: 23
ATTRTYPE: AT_RANGETIME(0-24h)
ATTRDESC:: eod
Provide a fixed time of day for subnet utilization polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: use-ssl
ATTRID: 24
ATTRTYPE: AT_ENUMSTR(disabled, optional, required)
ATTRDEFVAL: optional
ATTRDESC:: eod
What security mode should we use when connecting to this cluster.
If optional, and we have a security library installed, we will
try to secure the connection.  If required, we will not make
the connection unless we can secure the connection (this requires
the security library to be installed).  If none, we will not
try to secure the connection.
eod

ATTR: scp-read-timeout
ATTRID: 25
ATTRTYPE: AT_TIME
ATTRDEFVAL: 1200
ATTRDESC:: eod
The time limit for how long we should wait for data when
reading an SCP message from this cluster.
eod

ATTR: product-version
ATTRID: 26
ATTRTYPE: AT_PCV
ATTRDESC:: eod
The product version number of the cluster in major, minor, rev form.
This value is updated when the cluster is resynchronized.
eod

ATTR: compatibility-version
ATTRID: 27
ATTRTYPE: AT_PCV
ATTRVIZ: 3
ATTRDESC:: eod
The product compatibility version number of the cluster in major,
minor, rev form.  This value is for internal code use only.
This value is updated when the cluster is resynchronized.
eod


CLASS: CCMReplicaState
CLASSID: 1450
CLASSDESC:: eod
The CCMReplicaState object contains information about
the replica information stored for specific remote
master database.
eod

ATTR: master
ATTRID: 1
ATTRTYPE: AT_SHORT
ATTRDESC:: eod
The master id value for the .  This is not quite the
same as the cluster id for the cluster containing the
master db.  Since there are two authoritative databases
(MCD and CCM) on a local cluster, the master-id needs
to encode both the cluster id and which database.

The relationship between master-id and cluster-id is:
  master-id = 2 * cluster-id + (1 if MCD, 0 if CCM)

eod

ATTR: last-sync
ATTRID: 2
ATTRTYPE: AT_DATE
ATTRDESC:: eod
The time when we last successfully synchronized the replica
with the master datastore.  Getting a response that there
have been no changes on the master counts as a successful
synchronization.
eod

ATTR: last-sync-attempt
ATTRID: 3
ATTRTYPE: AT_DATE
ATTRDESC:: eod
The time when we last tried to synchronize the replica
with the master datastore.  This will differ from
the last-sync value if we have tried and failed to
synchronize since the last successful synchronization.
eod

ATTR: last-sync-status
ATTRID: 4
ATTRTYPE: AT_INT
ATTRDESC:: eod
The status of the last synchronization attempt.
eod

ATTR: dbsn
ATTRID: 5
ATTRTYPE: AT_INT
ATTRDESC:: eod
The DBSN of the master datastore when we last successfully
synchronized with it.
eod

ATTR: master-cluster
ATTRID: 6
#ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1449
ATTRDESC:: eod
The reference by OID to the CCMCluster object that
contains the master datastore.
eod

ATTR: poll-interval
ATTRID: 9
ATTRTYPE: AT_TIME
ATTRDEFVAL: 14400
ATTRDESC:: eod
The polling interval for this replica DB.
eod

ATTR: poll-offset
ATTRID: 10
ATTRTYPE: AT_TIME
ATTRDEFVAL: 0
ATTRDESC:: eod
Provide a fixed time of day for replica polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

CLASS: CCMServerConfig
CLASSID: 1451
CLASSNAMEDESC:: eod
This class contains the server configuration properties
eod

ATTR: poll-subnet-util-interval
ATTRID: 1
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDEFVAL: 4h
ATTRDESC:: eod
This interval specifies how often to collect the subnet 
utilization from all the DHCP servers. If set to 0 then 
don't poll the data.
eod

ATTR: poll-subnet-util-retry
ATTRID: 2
ATTRTYPE: AT_RANGEINT(0-4)
ATTRDEFVAL: 1
ATTRDESC:: eod
This specifies how often to retry if it fails to poll the data.
eod

ATTR: trim-subnet-util-interval
ATTRID: 3
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDEFVAL: 1d
ATTRDESC:: eod
This interval specifies how often to trim the old subnet utilization 
data. If set to 0 no automatic subnet utilization trimming occurs.
eod

ATTR: trim-subnet-util-age
ATTRID: 4
ATTRTYPE: AT_RANGETIME(1d-365d)
ATTRDEFVAL: 24w
ATTRDESC:: eod
The age that we will allow a subnet-util trimming element to be before
deciding to delete that element. If this value is set to zero, we will not
consider the record age when trimming. Default is 0.
eod

ATTR: subnet-util-purge-dblog-interval
ATTRID: 5
ATTRTYPE: AT_RANGETIME(1-86400)
ATTRDEFVAL: 1h
ATTRVIZ: 3
ATTRDESC:: eod
Time interval (secs) of the subnet-util DB's trimming of its 
unneeded Btree DB's log files. Default is 4 hours.
Validation: 1 <= x <= 86400
eod

ATTR: subnet-util-dbcheckpoint-interval
ATTRID: 6
ATTRTYPE: AT_RANGETIME(1-1d)
ATTRDEFVAL: 900
ATTRVIZ: 3
ATTRDESC:: eod
The interval at which the subnet utilization database will 
checkpoint, in seconds.
eod

ATTR: subnet-util-dbcache-size
ATTRID: 7
ATTRTYPE: AT_INT
ATTRDEFVAL: 10000000
ATTRVIZ: 3
ATTRDESC:: eod
The subnet utilization database maintains a memory cache of
'subnet-util-dbcache-chunks' chunks of this size. That is, the memory
footprint of the database cache is the _product_ of these two
settings.
eod

ATTR: subnet-util-dbcache-chunks
ATTRID: 8
ATTRTYPE: AT_INT
ATTRDEFVAL: 1
ATTRVIZ: 3
ATTRDESC:: eod
The subnet utilization database maintains a memory cache of
'subnet-util-dbcache-chunks' chunks of 'subnet-util-dbcache-size' 
size.  That is, the memory footprint of the database cache is the
_product_ of these two settings.
eod

ATTR: subnet-util-dblogfile-size
ATTRID: 9
ATTRTYPE: AT_INT
ATTRVIZ: 3
ATTRDESC:: eod
The size of each log file that the underlying database will create,
in bytes. The database's default is currently 10MB.
eod

ATTR: subnet-util-dblog-buffer-size
ATTRID: 10
ATTRTYPE: AT_INT
ATTRVIZ: 3
ATTRDESC:: eod
The size, in bytes, of the database's internal buffer between
database updates and the logfile. The database's default is
currently 32KB.
eod

ATTR: poll-lease-hist-interval
ATTRID: 11
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDEFVAL: 4h
ATTRDESC:: eod
This interval specifies how often to collect the lease history 
information from all the DHCP servers. If set to 0 then don't poll the data.
eod

ATTR: poll-lease-hist-retry
ATTRID: 12
ATTRTYPE: AT_RANGEINT(0-4)
ATTRDEFVAL: 1
ATTRDESC:: eod
This specifies how often to retry in the event of a failure to collect
lease history information from a DHCP server.
eod

ATTR: trim-lease-hist-interval
ATTRID: 13
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDEFVAL: 1d
ATTRDESC:: eod
This interval specifies how often to trim the old lease history data. 
If set to 0 no automatic lease history trimming occurs. If lease
history collection and polling are enabled and this parameter is
set to 0, the lease history database will continue to grow without
bound.
eod

ATTR: trim-lease-hist-age
ATTRID: 14
ATTRTYPE: AT_RANGETIME(1d-365d)
ATTRDEFVAL: 24w
ATTRDESC:: eod
The minimum length of time that we will keep a lease history record
in the lease history database.  Any lease history record older than
this time will be deleted when the next lease history database trimming
operation occurs.  

If you wish to disable lease history trimming (which is not recommended, 
as the database will grow without bound), configure 
trim-lease-hist-interval to zero.
eod

ATTR: lease-hist-purge-dblog-interval
ATTRID: 15
ATTRTYPE: AT_RANGETIME(1-86400)
ATTRDEFVAL: 1h
ATTRVIZ: 3
ATTRDESC:: eod
Time interval (secs) of the lease-hist DB's trimming of its 
unneeded Btree DB's log files. Default is 4 hours.
Validation: 1 <= x <= 86400
eod

ATTR: lease-hist-dbcheckpoint-interval
ATTRID: 16
ATTRTYPE: AT_RANGETIME(1-1d)
ATTRDEFVAL: 900
ATTRVIZ: 3
ATTRDESC:: eod
The interval at which the lease history database will checkpoint, in
seconds.
eod

ATTR: lease-hist-dbcache-size
ATTRID: 17
ATTRTYPE: AT_INT
ATTRDEFVAL: 10000000
ATTRVIZ: 3
ATTRDESC:: eod
The lease history database maintains a memory cache of
'lease-hist-dbcache-chunks' chunks of this size. That is, the memory
footprint of the database cache is the _product_ of these two
settings.
eod

ATTR: lease-hist-dbcache-chunks
ATTRID: 18
ATTRTYPE: AT_INT
ATTRDEFVAL: 1
ATTRVIZ: 3
ATTRDESC:: eod
The lease history database maintains a memory cache of
'lease-hist-dbcache-chunks' chunks of 'lease-hist-dbcache-size' size.
That is, the memory footprint of the database cache is the
_product_ of these two settings.
eod

ATTR: lease-hist-dblogfile-size
ATTRID: 19
ATTRTYPE: AT_INT
ATTRVIZ: 3
ATTRDESC:: eod
The size of each log file that the underlying database will create,
in bytes. The database's default is currently 10MB.
eod

ATTR: lease-hist-dblog-buffer-size
ATTRID: 20
ATTRTYPE: AT_INT
ATTRVIZ: 3
ATTRDESC:: eod
The size, in bytes, of the database's internal buffer between
database updates and the logfile. The database's default is
currently 32KB.
eod

ATTR: poller-event-threads
ATTRID: 21
ATTRTYPE: AT_RANGEINT(1-5)
ATTRDEFVAL: 1
ATTRDESC:: eod
This specifies how many threads that the poller will create.
eod

ATTR: poll-lease-hist-offset
ATTRID: 22
#ATTRTYPE: AT_RANGETIME(0-24h)
ATTRTYPE: AT_RANGETIME(0-86400)
ATTRDESC:: eod
Provide a fixed time of day for lease history polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: poll-subnet-util-offset
ATTRID: 23
#ATTRTYPE: AT_RANGETIME(0-24h)
ATTRTYPE: AT_RANGETIME(0-86400)
ATTRDESC:: eod
Provide a fixed time of day for subnet utilization polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: next-cluster-id
ATTRID: 24
ATTRTYPE: AT_SHORT
ATTRDESC:: eod
Specifies the next cluster-id which will be allocated for this
server.
eod

ATTR: purge-dblog-interval
ATTRID: 25
ATTRTYPE: AT_RANGETIME(1-86400)
ATTRDEFVAL: 4h
ATTRVIZ: 3
ATTRDESC:: eod
Time interval (secs) of the CCM DB's trimming of its 
unneeded Btree DB's log files. Default is 4 hours.
eod

ATTR: dbcheckpoint-interval
ATTRID: 26
#ATTRTYPE: AT_RANGETIME(1-1d)
ATTRTYPE: AT_RANGETIME(1-86400)
ATTRDEFVAL: 3600
ATTRVIZ: 3
ATTRDESC:: eod
The interval at which the CCM database will checkpoint, in
seconds.
eod

ATTR: subnet-util-db-max-txn-records
ATTRID: 27
ATTRTYPE: AT_INT
ATTRDEFVAL: 5000
ATTRVIZ: 3
ATTRDESC:: eod
The maximum number of records committed in each transaction for subnet
utilization db.
eod

ATTR: lease-hist-db-max-txn-records
ATTRID: 28
ATTRTYPE: AT_INT
ATTRDEFVAL: 5000
ATTRVIZ: 3
ATTRDESC:: eod
The maximum number of records committed in each transaction for lease
history db.
eod

ATTR: local-scp-read-timeout
ATTRID: 29
ATTRTYPE: AT_TIME
ATTRDEFVAL: 1200
ATTRVIZ: 3
ATTRDESC:: eod
The amount of time we will wait for data when reading a message from a 
local server.  For remote servers, identified by a CCMCluster object,
use CCMCluster.scp-read-timeout.
eod

ATTR: lease-hist-detail
ATTRID: 30
ATTRTYPE: AT_BOOL
ATTRDEFVAL: true
ATTRDESC:: eod
If polling for lease history data, this causes CCM to ask for history
detail data when polling DHCP servers, and save the detail data when
it's returned.
eod

ATTR: subnet-util-db-lock-count
ATTRID: 31
ATTRTYPE: AT_INT
ATTRDEFVAL: 15000
ATTRVIZ: 3
ATTRDESC:: eod
The subnetutil database must be configured with a lock count,
else the default of 15000 will be used.  Sometimes, particularly
when processing a large configuration the number of records per 
database transaction can grow well beyond 15000. 
Set debug U=1 and stop the server to see the high water mark for 
locks used.
eod

ATTR: lease-hist-db-lock-count
ATTRID: 32
ATTRTYPE: AT_INT
ATTRDEFVAL: 15000
ATTRVIZ: 3
ATTRDESC:: eod
The leasehist database must be configured with a lock count,
else the default of 15000 will be used.  Sometimes, particularly
when processing a large configuration the number of records per 
database transaction can grow well beyond 15000. 
Set debug E=1 and stop the server to see the high water mark for 
locks used.
eod

ATTR: replica-db-max-txn-records
ATTRID: 33
ATTRTYPE: AT_INT
ATTRDEFVAL: 5000
ATTRVIZ: 3
ATTRDESC:: eod
The maximum number of records committed in each transaction for replica db.
eod


ATTR: replica-db-lock-count
ATTRID: 34
ATTRTYPE: AT_INT
ATTRDEFVAL: 15000
ATTRVIZ: 3
ATTRDESC:: eod
The replica database must be configured with a lock count,
else the default of 15000 will be used.  Sometimes, particularly
when processing a large configuration the number of records per 
database transaction can grow well beyond 15000. 
Set debug D=1 and stop the server to see the high water mark for 
locks used.
eod


ATTR: poll-replica-interval
ATTRID: 35
ATTRTYPE: AT_RANGETIME(0-365d)
ATTRDEFVAL: 4h
ATTRDESC:: eod
This interval specifies the default value of how often to poll 
for configuration changes when replicating data from a local cluster.
eod

ATTR: poll-replica-offset
ATTRID: 36
ATTRTYPE: AT_RANGETIME(0-24h)
ATTRDEFVAL: 0
ATTRDESC:: eod
Provide a fixed time of day for replica polling.

This time is interpreted as a time of day offset, with 0 being 
12 midnight, provided the polling interval is less than 24 hours,
and the offset value is less than the polling interval. If the offset
value is greater than the polling interval, or the interval is
greater than 24 hours, the offset will be ignored.

The scheduler for polling will ensure that the first polling event  
occurs at the offset time. For example, if you set the interval to  
4 hours and the offset to 2am, the polling would occur at 2am, 6am, 
10am, 2pm, 6pm and 10pm.  
eod

ATTR: poll-db-checkpoint
ATTRID: 41
ATTRTYPE: AT_INT
ATTRDEFVAL: 10000
ATTRVIZ: 3
ATTRDESC:: eod
This number indicates during poll when received these many records do
db checkpoint and log purge.
eod

ATTR: trim-changeset-age
ATTRID: 42
ATTRTYPE: AT_RANGETIME(1d-3y)
ATTRDEFVAL: 1y
ATTRDESC:: eod
The minimum age for a change log entry to be eligible for trimming.  
eod

ATTR: trim-changeset-interval
ATTRID: 43
ATTRTYPE: AT_RANGETIME(1d-1y)
ATTRVIZ: 3
ATTRDEFVAL: 1d
ATTRDESC:: eod
The time interval that the change log trim function is run.  
eod

ATTR: trim-changeset-time
ATTRID: 44
#ATTRTYPE: AT_RANGETIME(0-24h)
ATTRTYPE: AT_RANGETIME(0-86400)
ATTRVIZ: 3
ATTRDEFVAL: 10800
ATTRDESC:: eod
The time of day when the automated change log trim will occur.
Data is seconds after midnight.
eod

ATTR: trim-changeset-db-max-size
ATTRID: 46
ATTRTYPE: AT_INT
ATTRVIZ: 3
ATTRDEFVAL: 500000
ATTRDESC:: eod
The maximum number of change set objects allowed in any one 
data base after executing the change log trim function.  
If this value is set to zero, there is no trimming based on 
size, only age in considered.
eod

# classids for the RIC server and its stats

CLASS: CCMRICServer
CLASSID: 1452
CLASSVIZ: 1
CLASSDESC:: eod
A placeholder class for the RIC Server.
eod

CLASS: CCMRICStats
CLASSID: 1453
CLASSVIZ: 1
CLASSDESC:: eod
A placeholder class for the RIC Server's stats.
eod

CLASS: CCMRouterLoginTemplate
CLASSID: 1454
CLASSDESC:: eod
This object contains customizable prompts for customizing
the RIC server's login and enable negotiation with the
router that it is communicating with.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The name of this template
eod

ATTR: username-prompt
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The string that is used as the username prompt by the router.
eod

ATTR: password-prompt
ATTRID: 3
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The string that is used as the user password prompt by the router.
eod

ATTR: login-prompt
ATTRID: 4
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The string that is used as the login prompt by the router.
eod

ATTR: ena-pass-prompt
ATTRID: 5
ATTRTYPE: AT_STRING
ATTRDESC:: eod
The string that is used as the enable password prompt by the router.
eod

ATTR: enable-prompt
ATTRID: 6
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The string that is used as the prompt by the router in enable mode.
eod

CLASS: CCMSubnetUtilizationState
CLASSID: 1455

ATTR: remote-oid
ATTRID: 1
ATTRTYPE: AT_OID
ATTRDESC:: eod
The actual remote server or failoverpair that is being polled.
This can be CCMServer or FailoverPair.
eod

ATTR: last-sync
ATTRID: 2
ATTRTYPE: AT_DATE
ATTRDESC:: eod
When did we last successfully synchronize with this server.
eod

ATTR: last-sync-attempt
ATTRID: 3
ATTRTYPE: AT_DATE
ATTRDESC:: eod
When did we last successfully synchronize with this server.
eod

ATTR: last-sync-status
ATTRID: 4
ATTRTYPE: AT_INT
ATTRDESC:: eod
What was the status from our last synchronization attempt?
Unset or 0 implies OK.
eod

ATTR: main-server-sync
ATTRID: 5
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Indicates whether data is polled from main server or not.
eod

ATTR: last-sync-all
ATTRID: 6
ATTRTYPE: AT_DATE
ATTRDESC:: eod
When did we last successfully synchronize with this server all main data.
eod

CLASS: CCMLeaseHistoryState
CLASSID: 1456

ATTR: remote-oid
ATTRID: 1
ATTRTYPE: AT_OID
ATTRDESC:: eod
The actual remote server or failoverpair that is being polled.
This can be CCMServer or FailoverPair.
eod

ATTR: last-sync
ATTRID: 2
ATTRTYPE: AT_DATE
ATTRDESC:: eod
When did we last successfully synchronize with this server.
eod

ATTR: last-sync-attempt
ATTRID: 3
ATTRTYPE: AT_DATE
ATTRDESC:: eod
When did we last successfully synchronize with this server.
eod

ATTR: last-sync-status
ATTRID: 4
ATTRTYPE: AT_INT
ATTRDESC:: eod
What was the status from our last synchronization attempt?
Unset or 0 implies OK.
eod

ATTR: main-server-sync
ATTRID: 5
ATTRTYPE: AT_BOOL
ATTRDESC:: eod
Indicates whether data is polled from main server or not.
eod

ATTR: last-sync-all
ATTRID: 6
ATTRTYPE: AT_DATE
ATTRDESC:: eod
When did we last successfully synchronize with this server for all main data.
eod

CLASS: CCMZDSecondary 
CLASSID: 1457 
CLASSDESC:: eod
The qualified link to a secondary DNS server in a CCMZoneDistribution map
object.  Adding this object to represent each secondary DNS server in 
the map allows us to add attributes such as master-servers that could
differ on a per-secondary server basis.
eod
ATTR: secondary 
ATTRID: 1 
#ATTRTYPE: AT_OBJREF(CCMCluster)
ATTRTYPE: AT_OID
ATTRFLAGS: AF_REFERENCE
ATTRVAL: 1449
ATTRDESC:: eod
The cluster with the secondary server that this object
describes.
eod

ATTR: master-servers
ATTRID: 2
ATTRTYPE: AT_NLIST(AT_IPKEY)
# AT_IPKEY=56
ATTRVAL: 56

ATTRDESC:: eod
This is the list of master-servers to set when creating secondary 
zone on secondary server.

Validation: A list of one or more ip addresses with an optional
key name (format <ipaddress>[-<keyname>]).
eod

ATTR: last-sync-dbsn 
ATTRID: 3 
ATTRTYPE: AT_INT
ATTRFLAGS: AF_INITIALIZE 
ATTRDEFVAL: 0
ATTRVIZ: 3
ATTRDESC:: eod
This is used for internal logic.
eod


###############################################################################
# Begin Webui display classes
###############################################################################

CLASS: CCMScpClassDisplayFormat
CLASSID: 1500
CLASSVIZ: 3
CLASSDESC:: eod
A display format description for generic handling of an ScpObj of a
particular ScpClass.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The value of this attribute must be the name of the ScpClass for
the ScpObj being displayed.
eod

ATTR: display-name
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
An optional display name for the ScpClass.  If not specified, the
name attribute will be used instead.
eod

## ATTRIDs 3-8 available for future use

ATTR: context
ATTRID: 9
ATTRTYPE: AT_ENUMINT(all=0, local=1, regional=2)
ATTRFLAGS: AF_REQUIRED, AF_PRINT_ALT
ATTRDEFVAL: all
ATTRDESC:: eod
Specifies the server context for which this class display
format is valid.
eod

ATTR: groups
ATTRID: 10
ATTRTYPE: AT_NLIST(CCMScpClassDisplayGroup)
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The ordered list of display groups for the class.  At least one group
must be specified.
eod

CLASS: CCMScpClassDisplayGroup
CLASSID: 1501
CLASSVIZ: 3
CLASSDESC:: eod
A format description for a group of attributes of a particular
ScpClass.  This class is not intended for to be instantiated
independently; rather, it should always be embedded within
an instance of the CCMScpClassDisplayFormat class.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The name of the display group of ScpClass attributes.
eod

ATTR: display-name
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
An optional display name for the group.  If not specified, the
name attribute will be used instead.
eod

ATTR: no-banner
ATTRID: 3
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
If true, then no banner line should be displayed for the group.
Thus, neither the group name nor its display-name would be shown.
This option would likely be used where all the attributes in a
class fall into one layout group, and that group cannot be hidden.
eod

ATTR: visibility
ATTRID: 4
ATTRTYPE: AT_ENUMINT(excluded=0, debug=1, edit=2, add=3)
ATTRFLAGS: AF_REQUIRED, AF_PRINT_ALT
ATTRDESC:: eod
The visibility for the group.  Note that groups which have
add visibility are also visible for edit and debug; those which have
edit visibility are also visible for debug (but not for add); and
excluded groups are never shown.
eod

ATTR: expansion
ATTRID: 5
ATTRTYPE: AT_ENUMINT(collapsed=0, edit=1, add=2, cannotHide=3)
ATTRFLAGS: AF_REQUIRED, AF_PRINT_ALT
ATTRDEFVAL: collapsed
ATTRDESC:: eod
The expansion for the group.  This attribute does not override
the value of the visibility attribute.  It specifies how the
group should be displayed, if it is visible.  A group with
cannotHide expansion displays no show/hide toggle.  A group
with add expansion is expanded in add and edit pages.  A group
with edit expansion is expanded in edit pages and collapsed in
add pages.  A group with collapsed expansion is shown initially
in collapsed state (but has a show/hide control and so may be
expanded).
eod

ATTR: readonly
ATTRID: 6
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Determines whether all the attributes belonging to this group are
to be displayed in a readonly (non-editable) manner.
eod

## ATTRIDs 7-9 available for future use

ATTR: attributes
ATTRID: 10
ATTRTYPE: AT_NLIST(CCMScpClassDisplayAttribute)
ATTRFLAGS: AF_REQUIRED
ATTRDESC:: eod
The ordered list of display attributes for the group.  At least one
attribute must be specified.
eod

## ATTRIDs 11-19 available for future use

ATTR: alt-desc
ATTRID: 20
ATTRTYPE: AT_STRING
ATTRDESC:: eod
An optional descriptive string which should be suitable for display
to an end user.  For example, in a GUI, this could be text to
display in a tool-tip.
eod

CLASS: CCMScpClassDisplayAttribute
CLASSID: 1502
CLASSVIZ: 3
CLASSDESC:: eod
A format description for a single attribute of a particular
ScpClass.  This class is not intended for to be instantiated
independently; rather, it should always be embedded within
an instance of the CCMScpClassDisplayGroup class.
eod

ATTR: name
ATTRID: 1
ATTRTYPE: AT_STRING
ATTRFLAGS: AF_UNIQUE, AF_REQUIRED
ATTRDESC:: eod
The name of ScpClass attribute.
eod

ATTR: display-name
ATTRID: 2
ATTRTYPE: AT_STRING
ATTRDESC:: eod
An optional display name for the attribute.  If not specified, the
name attribute will be used instead.
eod

## ATTRIDs 3-5 available for future use

ATTR: readonly
ATTRID: 6
ATTRTYPE: AT_BOOL
ATTRDEFVAL: false
ATTRDESC:: eod
Determines whether an attribute is displayed in a readonly
(non-editable) manner.
eod

## ATTRIDs 7-19 available for future use

ATTR: alt-desc
ATTRID: 20
ATTRTYPE: AT_STRING
ATTRDESC:: eod
An optional short descriptive string which should be suitable for
display to an end user.  For example, in a GUI, this could be text to
display in a tool-tip.
If this attribute is not set, the UI could choose to display the
dictionary ATTRDESC for the underlying datadict attribute.
eod

