ietf-ccamp-wg / ietf-ccamp-layer0-types-ext-RFC9093-bis

CCAMP WG repository for ietf-layer0-types-ext
3 stars 3 forks source link

Frequency THz and GHz definition #59

Closed ggalimba56 closed 1 year ago

ggalimba56 commented 1 year ago

The below definitions should be changed as the accuracy (fraction digit) can match only to 3.125 granularity. Should the granularity be finer the fraction digit needs to be extended (e.g. to 9 and 6 for THz and GHz).

typedef frequency-thz { type decimal64 { fraction-digits 6; } units THz; description "The DWDM frequency in THz, e.g., 193.112500"; } typedef frequency-ghz { type decimal64 { fraction-digits 3; } units GHz; description "The DWDM frequency in GHz, e.g., 193112.500"; }