openconfig / public

Repository for publishing OpenConfig models, documentation, and other material for the community.
Apache License 2.0
894 stars 652 forks source link

Add VOA range and actual VOA for optical-amplifier.yang and wavelength-router.yang #200

Closed HubertYuanjing closed 1 month ago

HubertYuanjing commented 5 years ago

A typical amplifier will have an integrated Variable Optical Attenuator integrated. So I suggest to add voa target value and actual voa attenuation into optical-amplifier.yang config and state container, details are:

config & state container:
    leaf target-voa {
      type decimal64 {
        fraction-digits 2;
        range 0..max;
      }
      units dB;
      description
        "Voa attenuation control";
    }

state container only:
    container actual-voa {
      description
        "The actual attenuation applied by the voa integrated with in amplifier in units of 0.01dB. If avg/min/max statistics are not supported, just supply the instant value";

      uses oc-types:avg-min-max-instant-stats-precision2-dB;
    }

Also, for Wavelength router application, attenuation for media channel should also be monitored and configurable, so I propose to add target voa and actual voa attenuation into wavelength-router.yang config and state container, details are:

config & state container:
    leaf target-voa {
      type decimal64 {
        fraction-digits 2;
        range 0..max;
      }
      units dB;
      description
        "Voa attenuation control";
    }

state container only:
   container actual-voa {
      description
        "The actual attenuation applied by the voa for specified media channel in units of 0.01dB. If avg/min/max statistics are not supported, just supply the instant value";
      uses oc-types:avg-min-max-instant-stats-precision2-dB;
    }
github-actions[bot] commented 3 months ago

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.