Enumerations

An Enumeration Type (Enum Type) consists of a name and a set of values. The purpose of the Enum Type is to strictly define the possible values of a data input field.

The allowed values are comma-separated items, which might optionally contain colons. If an item contains a colon, then everything before the colon is a label and everything after the colon is a value. If an item does not contain a colon, then the value and the 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 Diameter > Mediation > Rule Templates Insert, Copy, and Edit pages, within the list of Right value types. The Enum Type must be created before a Rule Template Condition can use it. The values of the Enum 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 pulldown list instead of an input field on the Diameter > Mediation > Rule Sets [Insert] and [Edit] pages.

On the Diameter > Mediation > Enumerations page, you can perform the following actions: