namespace ZB.MOM.WW.OtOpcUa.Configuration.Enums;

/// <summary>
///     Cluster redundancy mode per OPC UA Part 5 §6.5. Persisted as string in
///     <c>ServerCluster.RedundancyMode</c> with a CHECK constraint coupling to <c>NodeCount</c>.
/// </summary>
public enum RedundancyMode
{
    /// <summary>Single-node cluster. Required when <c>NodeCount = 1</c>.</summary>
    None,

    /// <summary>Warm redundancy (non-transparent). Two-node cluster.</summary>
    Warm,

    /// <summary>Hot redundancy (non-transparent). Two-node cluster.</summary>
    Hot,
}
