Interface OpenconfigBgpOperationalData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface OpenconfigBgpOperationalData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This module is part of a YANG model for BGP protocol configuration, focusing on operational data (i.e., state variables) related to BGP operations

    This class represents the following YANG schema fragment defined in module openconfig-bgp-operational

     module openconfig-bgp-operational {
       yang-version 1;
       namespace "http://openconfig.net/yang/bgp-operational";
       prefix bgp-op;
       import ietf-inet-types {
         prefix inet;
       }
       import ietf-yang-types {
         prefix yang;
       }
       import openconfig-bgp-types {
         prefix bgp-types;
       }
       import openconfig-extensions {
         prefix oc-ext;
       }
       oc-ext:openconfig-version 1.1.0;
       revision 2015-10-09 {
       }
       revision 2015-05-15 {
       }
       grouping bgp-counters-message-types_common {
         leaf UPDATE {
           type uint64;
         }
         leaf NOTIFICATION {
           type uint64;
         }
       }
       grouping bgp-context-pfx-path-counters_common {
         leaf total-paths {
           type uint32;
         }
         leaf total-prefixes {
           type uint32;
         }
       }
       grouping bgp-global_state {
         uses bgp-context-pfx-path-counters_common;
       }
       grouping bgp-global-afi-safi_state {
         uses bgp-context-pfx-path-counters_common;
       }
       grouping bgp-peer-group_state {
         uses bgp-context-pfx-path-counters_common;
       }
       grouping bgp-neighbor_state {
         leaf session-state {
           type enumeration {
             enum IDLE {
             }
             enum CONNECT {
             }
             enum ACTIVE {
             }
             enum OPENSENT {
             }
             enum OPENCONFIRM {
             }
             enum ESTABLISHED {
             }
           }
         }
         leaf-list supported-capabilities {
           type identityref {
             base bgp-capability;
           }
         }
       }
       grouping bgp-neighbor-afi-safi_state {
         leaf active {
           type boolean;
         }
         uses bgp-neighbor-prefix-counters_state;
       }
       grouping bgp-neighbor-prefix-counters_state {
         container prefixes {
           leaf received {
             type uint32;
           }
           leaf sent {
             type uint32;
           }
           leaf installed {
             type uint32;
           }
         }
       }
       grouping bgp-neighbor-message-counters-sent_state {
         uses bgp-counters-message-types_common;
       }
       grouping bgp-neighbor-message-counters-received_state {
         uses bgp-counters-message-types_common;
       }
       grouping bgp-neighbor-queue-counters_state {
         leaf input {
           type uint32;
         }
         leaf output {
           type uint32;
         }
       }
       grouping bgp-neighbor-transport_state {
         leaf local-port {
           type inet:port-number;
         }
         leaf remote-address {
           type inet:ip-address;
         }
         leaf remote-port {
           type inet:port-number;
         }
       }
       grouping bgp-neighbor-error-handling_state {
         leaf erroneous-update-messages {
           type uint32;
         }
       }
       grouping bgp-neighbor-timers_state {
         leaf uptime {
           type yang:timeticks;
         }
         leaf negotiated-hold-time {
           type decimal64 {
             fraction-digits 2;
           }
         }
       }
       grouping bgp-afi-safi_state {
       }
       grouping bgp-afi-safi-graceful-restart_state {
         leaf peer-restart-time {
           type uint16 {
             range 0..4096;
           }
         }
         leaf peer-restarting {
           type boolean;
         }
         leaf local-restarting {
           type boolean;
         }
         leaf mode {
           type enumeration {
             enum HELPER-ONLY {
             }
             enum BILATERAL {
             }
             enum REMOTE-HELPER {
             }
           }
         }
       }
       grouping bgp-neighbor-afi-safi-graceful-restart_state {
         leaf received {
           type boolean;
         }
         leaf advertised {
           type boolean;
         }
       }
     }