netconfcentral logo

example-fan

HTML

example-fan@2017-12-04



  module example-fan {

    yang-version 1.1;

    namespace
      "http://example.com/ns/example-fan";

    prefix fan;

    import yangcli-pro {
      prefix yp;
    }

    organization "Example, Inc.";

    contact "Support <support@example.com>.";

    description
      "Example show command extension for yangcli-pro";

    revision "2017-12-04" {
      description
        "Change to YANG 1.1 to allow empty in case";
    }

    revision "2014-12-05" {
      description "Initial version";
    }


    augment /yp:show/yp:input/yp:showtype {
      case fan {
        leaf fan {
          type union {
            type empty;
            type uint32 {
              range "1 .. max";
            }
          }
          mandatory true;
          description
            "The fan number to show or the primary fan if
                   no value is given.";
        }

        leaf diagnostics {
          type empty;
          description
            "If present, display extra diagnostics info";
        }
      }  // case fan
      leaf version {
        type empty;
        description "Example.com version";
      }
    }
  }  // module example-fan

Summary

  
  
Organization Example, Inc.
  
Module example-fan
Version 2017-12-04
File example-fan.yang
  
Prefix fan
Namespace http://example.com/ns/example-fan
  
Cooked /cookedmodules/example-fan/2017-12-04
YANG /src/example-fan@2017-12-04.yang
XSD /xsd/example-fan@2017-12-04.xsd
  
Abstract Example show command extension for yangcli-pro
  
Contact
Support <support@example.com>.

Description

 
Example show command extension for yangcli-pro