example-fan

Example show command extension for yangcli-pro

  • Version: 2018-03-17

    example-fan@2018-03-17


    
      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 "2018-03-17" {
          description "Add example-cmd";
        }
    
        revision "2017-12-04" {
          description
            "Change to YANG 1.1 to allow empty in case";
        }
    
        revision "2014-12-05" {
          description "Initial version";
        }
    
    
        rpc example-cmd {
          description "Example external command";
          input {
            leaf parm1 {
              type string;
              description
                "The first example parameter";
            }
    
            leaf parm2 {
              type int32;
              description
                "The second example parameter";
            }
          }
        }  // rpc example-cmd
      }  // module example-fan
    

© 2023 YumaWorks, Inc. All rights reserved.