netconfcentral logo

yuma-interfaces.yang



   module yuma-interfaces {

      yang-version 1;

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

      prefix "if";

      import ietf-yang-types {
         prefix "yang";
      }

      organization "Netconf Central";

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

      description "Yuma interfaces table.";

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

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


      container interfaces {
         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