netconfcentral logo

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