netconfcentral logo

yuma-interfaces

HTML

yuma-interfaces@2012-01-13



  module yuma-interfaces {

    yang-version 1;

    namespace
      "http://netconfcentral.org/ns/yuma-interfaces";

    prefix if;

    import yuma-ncx {
      prefix ncx;
    }
    import ietf-yang-types {
      prefix yang;
    }

    organization "Netconf Central";

    contact
      "Andy Bierman <andy@netconfcentral.org>.";

    description
      "Yuma interfaces table.

     Copyright (c) 2009 - 2012 Andy Bierman and the persons
     identified as authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the BSD 3-Clause License
     http://opensource.org/licenses/BSD-3-Clause";

    revision "2012-01-13" {
      description
        "Added ncx:user-write restrictions";
    }

    revision "2009-11-21" {
      description
        "Changed name from interfaces to yuma-interfaces.";
    }

    revision "2009-07-17" {
      description "Initial version.";
    }


    container interfaces {
      ncx:user-write "update";
      description
        "Container for all interfaces information.";
      list interface {
        key "name";
        leaf name {
          type string;
          description
            "Interface name string";
        }

        container counters {
          config false;
          leaf inBytes {
            type yang:counter64;
            description "In bytes counter";
          }

          leaf inPackets {
            type yang:counter64;
            description "In packets counter";
          }

          leaf inErrors {
            type yang:counter64;
            description "In errors counter";
          }

          leaf inDrops {
            type yang:counter64;
            description "In drops counter";
          }

          leaf inFifo {
            type yang:counter64;
            description "In fifo counter";
          }

          leaf inFrames {
            type yang:counter64;
            description "In frame counter";
          }

          leaf inCompressed {
            type yang:counter64;
            description
              "In compressed counter";
          }

          leaf inMulticast {
            type yang:counter64;
            description
              "In multicast counter";
          }

          leaf outBytes {
            type yang:counter64;
            description "Out bytes counter";
          }

          leaf outPackets {
            type yang:counter64;
            description
              "Out packets counter";
          }

          leaf outErrors {
            type yang:counter64;
            description "Out errors counter";
          }

          leaf outDrops {
            type yang:counter64;
            description "Out drops counter";
          }

          leaf outFifo {
            type yang:counter64;
            description "Out fifo counter";
          }

          leaf outCollisions {
            type yang:counter64;
            description
              "Out collisions counter";
          }

          leaf outCarrier {
            type yang:counter64;
            description
              "Out carrier counter";
          }

          leaf outCompressed {
            type yang:counter64;
            description
              "Out compressed counter";
          }
        }  // container counters
      }  // list interface
    }  // container interfaces
  }  // module yuma-interfaces

Summary

  
  
Organization Netconf Central
  
Module yuma-interfaces
Version 2012-01-13
File yuma-interfaces.yang
  
Prefix if
Namespace http://netconfcentral.org/ns/yuma-interfaces
  
Cooked /cookedmodules/yuma-interfaces/2012-01-13
YANG /src/yuma-interfaces@2012-01-13.yang
XSD /xsd/yuma-interfaces@2012-01-13.xsd
  
Abstract Yuma interfaces table. Copyright (c) 2009 - 2012 Andy Bierman and the persons identified as authors of the code. All rights re...
  
Contact
Andy Bierman <andy@netconfcentral.org>.

Description

 
Yuma interfaces table.

Copyright (c) 2009 - 2012 Andy Bierman and the persons
identified as authors of the code.  All rights reserved.

Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the BSD 3-Clause License
http://opensource.org/licenses/BSD-3-Clause

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
interfaces container Container for all interfaces information.
   interface list name counters
      counters container inBytes inPackets inErrors inDrops inFifo inFrames inCompressed inMulticast outBytes outPackets outErrors outDrops outFifo outCollisions outCarrier outCompressed
         inBytes leaf In bytes counter
         inCompressed leaf In compressed counter
         inDrops leaf In drops counter
         inErrors leaf In errors counter
         inFifo leaf In fifo counter
         inFrames leaf In frame counter
         inMulticast leaf In multicast counter
         inPackets leaf In packets counter
         outBytes leaf Out bytes counter
         outCarrier leaf Out carrier counter
         outCollisions leaf Out collisions counter
         outCompressed leaf Out compressed counter
         outDrops leaf Out drops counter
         outErrors leaf Out errors counter
         outFifo leaf Out fifo counter
         outPackets leaf Out packets counter
      name leaf Interface name string