
314
Novell eDirectory 8.8 Administration Guide
n
ov
do
cx (e
n)
11
Ju
ly 20
08
You cannot assign values to Time and Netaddress types in the Declaration section. If these types do
not already have a value, they receive their values in the Selector or Provider sections. Only single
types are initialized in the Declaration section.
Names/Optional Value Pairs
Variable names are combinations of alphanumeric characters in a string of any length. Because only
the first 31 characters are used, a variable must begin with a unique 31-character string. A variable
name must start with an alphabetic character, or the symbol is interpreted as a numeric constant.
Variable names are case sensitive. For example, the variable
R1
is not the same as the variable
r1
.
The underscore character (_) is allowed in variable names.
Values in a declaration must be constants rather than variables or expressions. Thus, the declaration
LOCAL INT L2:= L3;
is not allowed. A value initializing a variable in the Declaration section
can be changed in the Selector and Provider sections of the policy.
12.3.2 Selector Section
The Selector section of a policy begins with the keyword SELECTOR and concludes with the
keyword END. Selector sections are evaluated to determine which loaded policy will be used.
The Selector sections of all the currently loaded policies are run to determine which policy has the
greatest weight. When evaluated, the section returns a weight between 0-100, where 0 means do not
use this policy, 1-99 means use this policy if no other policy returns a higher value, and 100 means
use this policy.
The result of a Selector section is given in a RETURN declaration. If no RETURN declaration is
made, a default value of 0 is returned. The following is a sample Selector section:
SELECTOR
RETURN 49;
END
When the Selector sections of multiple policies are evaluated, more than one policy might return the
same value. In this case, it is indeterminate which policy will be selected. All else being equal, a
server policy overrides a WAN policy.
Type
Description
INT
Reflects the traffic type of the GetWanPolicy request that the policy is being run for.
For example, the following policy specifies a Traffic Type of NDS_SYNC:
IF TrafficType=NDS_SYNC THEN
action
END.
BOOLEAN
Used for values of only TRUE or FALSE. The value will be indeterminate if it is not set
in a Declaration or a WAN policy request.
TIME
TIME scope variables must receive their values in the Selector or Provider sections or
from the WAN policy request. Do not assign values to TIME scope variables in the
Declaration.
NETADDRE
SS
NETADDRESS scope variables must receive their values in the Selector or Provider
sections. Do not assign values to NETADDRESS scope variables in the Declaration.
Summary of Contents for EDIRECTORY 8.8 SP3
Page 4: ...novdocx en 11 July 2008...
Page 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Page 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...