OpenConfig-Interface YANG Module

Describes the information that can be fetched from the OperConfig-Interface Yang Module

For the Interface Module, the following operational state information can be fetched:

 
module: operconfig-interfaces
path:   /interfaces/interface[name=<ifname>]/state

module: operconfig-interfaces
  +--rw interfaces
    +--rw interface* [name]  
      +--rw name                --> ../config/name
      | +--ro name?             string
      | +--ro mtu?              uint16
      | +--ro loopback-mode?    boolean
      | +--ro description?      string
      | +--ro enabled?          boolean
      | +--ro ifindex?          uint32
      | +--ro counters
      | | +--ro in-octets?          oc-yang:counter64
      | | +--ro in-unicast-pkts?    oc-yang:counter64
      | | +--ro in-broadcast-pkts?  oc-yang:counter64
      | | +--ro in-multicast-pkts?  oc-yang:counter64
      | | +--ro in-discards?        oc-yang:counter64
      | | +--ro in-errors?          oc-yang:counter64
      | | +--ro in-fcs-errors?      oc-yang:counter64
      | | +--ro out-octets?         oc-yang:counter64
      | | +--ro out-unicast-pkts?   oc-yang:counter64
      | | +--ro out-broadcast-pkts? oc-yang:counter64
      | | +--ro out-multicast-pkts? oc-yang:counter64
      | | +--ro out-discards?       oc-yang:counter64
      | | +--ro out-errors?         oc-yang:counter64