2.4 Enumerations
An Enumeration Type (Enum Type) consists of a name and a set of values. The purpose of the Enum Type is to define the possible values of a data input field.
The allowed values are either comma separated integers32 or in the form of <label>:<value>, where value is an integer32. If an item does not contain a colon, then the value and label are the same.
Pre-defined Enum Types are provided with the Diameter Mediation feature. New Enum Types can be defined with their possible values. When a new Enum Type is created, it automatically appears in the Conditions section of the Insert, Copy, and Edit pages, within the list of Right value types. The Enum Type must be created before a Rule template Condition or Action can use it. The values of the Enum Type (Integer32 type) used by the Mediation Rule Set can be modified after the Rule Template has been created.
When a Right value of a Rule Template Condition is set to an Enum Type, the actual value can be set in a rule only to one of the valid values of the specified Enum Type. This is enforced by presenting a list instead of an input field on the
[Insert] and [Edit] pages.-
Insert new Enumeration Type and its values, as defined in Adding an Enumeration
If the maximum number of Enumeration Types (64) already exist in the system, the
page does not open and an error message displays. -
Edit the name of an Enumeration, as defined in Editing an Enumeration.
-
Delete an Enumeration Type, as defined in Deleting an Enumeration.