; An example configuration file for use with the non volatile memory scheme
; in Envoy 7.0
;
; There are several sections to the file, the preamble contains information
; about the whole file (currently this is the version stamp).
; Each other block contains information about the named
; section of the database.  Logically each block is composed of a series
; of entries with each entry starting with an identifer and ending with
; the identifer for the next entry or the beginning of the next block.
; The order of fields within an entry doesn't matter.  Fields that
; aren't included are set to the default value as sepcified by its mib
;
; The current list of blocks is view for the view RFC1445 table
; and myagent, agent, access, context, and user which are for use
; with the usec experimental code
; 
; Comments are allowed anywhere however if the file is rewritten (which
; the nv code will do if allowed) comments that appear in a block after
; a field descriptior will be removed.  Symbolic names are not allowed (yet).
;
[etc preamble]
version = 1

[etc view]
; identity	required, oid of family and subtree
; status	required
; storage	3 (non volatile)
; mask		0
; type		1 (view included)
;
identity = 1.1.3.6.1.2.1.1
status = 1
storage = 3
type = 1
identity = 1.1.3.6.1.6.3
status = 1
storage = 3
type = 1
identity = 2.1.3.6
status = 1
storage = 3
type = 1
[etc myagent]
; the local agents id and boot information
; agentid	required, 12 octets in hex format
; agentboots	required,  uint_32_t
agentid = 000000000000000000000002
agentboots = 112
[etc agent]
; list of agents known to this entity
; agentid	required, 12 octets in hex format
agentid = 000000000000000000000001

[etc access]
; list of access rights for various agent-user-context-qos tuples
; agentid	required, 12 octets in hex format
; username	required, string formatted
; contextname	not required, will default to an empty string
; qos		not required, will default to 0 (all qoses have privileges)
; privileges	not required, will default to 43
; readindex	required
; writeindex	required
agentid = 000000000000000000000002
username = public
readindex = 1
writeindex = 1
qos = 0

[etc context]
; list of contexts known to this entity
; agentid	required
; contextname	not required, defaults to the 0 length string
; flags		not required, defaults to local (1)
agentid = 000000000000000000000002

[etc user]
; agentid	required
; username	required
; authprot	if present use md5
; authkey	required if authprot is present, 16 OCTETS in hex format
agentid = 000000000000000000000002
username = public
authprot = 
authkey = 02E4F90AC43FEE84B1E8EB4287B5ED54
