netconfcentral logo

openconfig-optical-attenuator@2019-07-19



  module openconfig-optical-attenuator {

    yang-version 1;

    namespace
      "http://openconfig.net/yang/optical-attenuator";

    prefix oc-opt-att;

    import openconfig-platform {
      prefix oc-platform;
    }
    import openconfig-types {
      prefix oc-types;
    }
    import openconfig-extensions {
      prefix oc-ext;
    }

    organization "OpenConfig working group";

    contact
      "OpenConfig working group
    www.openconfig.net";

    description
      "This model describes configuration and operational state data
    for variable optical attenuators, deployed as part of a transport
    line system.";

    revision "2019-07-19" {
      description "Initial release";
      reference
        "0.1.0";

    }

    oc-ext:openconfig-version "0.1.0";
    oc-ext:regexp-posix;
    oc-ext:catalog-organization "openconfig";
    oc-ext:origin "openconfig";

    identity OPTICAL_ATTENUATOR_MODE {
      base 
      description
        "Type definition for different types of optical attenuator
      operating modes";
    }

    identity CONSTANT_POWER {
      base OPTICAL_ATTENUATOR_MODE;
      description "Constant power mode";
    }

    identity CONSTANT_ATTENUATION {
      base OPTICAL_ATTENUATOR_MODE;
      description
        "Constant attenuation mode";
    }
  }  // module openconfig-optical-attenuator