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

@Generated("mdsal-binding-generator") public interface BgpRibData extends org.opendaylight.yangtools.yang.binding.DataRoot
This module contains the concept of a Routing Information Base, as defined by RFC4271. Copyright (c)2013 Cisco Systems, Inc. All rights reserved. This and the accompanying materials are made available under the terms of the Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

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

 module bgp-rib {
   yang-version 1;
   namespace urn:opendaylight:params:xml:ns:yang:bgp-rib;
   prefix rib;
   import bgp-message {
     prefix bgp-msg;
     revision-date 2020-01-20;
   }
   import bgp-multiprotocol {
     prefix bgp-mp;
     revision-date 2018-03-29;
   }
   import ietf-inet-types {
     prefix inet;
     revision-date 2013-07-15;
   }
   revision 2018-03-29 {
   }
   revision 2017-12-07 {
   }
   revision 2013-09-25 {
   }
   typedef rib-id {
     type inet:uri;
   }
   typedef application-rib-id {
     type inet:uri;
   }
   typedef peer-id {
     type inet:uri;
   }
   typedef peer-role {
     type enumeration {
       enum ebgp;
       enum ibgp;
       enum rr-client;
       enum internal;
     }
   }
   grouping route {
     uses bgp-msg:path-id-grouping;
     leaf route-key {
       type string;
     }
     uses bgp-msg:path-attributes;
   }
   grouping rib {
     list tables {
       uses bgp-mp:bgp-table-type;
       key "afi safi";
       container attributes {
         leaf uptodate {
           type boolean;
           default false;
         }
       }
       choice routes;
     }
   }
   list application-rib {
     leaf id {
       type application-rib-id;
     }
     key id;
     uses rib;
   }
   container bgp-rib {
     list rib {
       config false;
       leaf id {
         type rib-id;
       }
       key id;
       list peer {
         key peer-id;
         leaf peer-id {
           type peer-id;
         }
         leaf peer-role {
           type peer-role;
         }
         list supported-tables {
           key "afi safi";
           uses bgp-mp:bgp-add-path-table-type;
         }
         container adj-rib-in {
           uses rib {
             augment tables/attributes {
               leaf llgr-stale {
                 type empty;
               }
             }
           }
         }
         container effective-rib-in {
           uses rib;
         }
         container adj-rib-out {
           uses rib;
         }
       }
       container loc-rib {
         uses rib;
       }
     }
   }
 }
 
  • Method Details

    • getApplicationRib

      @Nullable Map<ApplicationRibKey,ApplicationRib> getApplicationRib()
      Return applicationRib, or null if it is not present.
      Returns:
      Map<ApplicationRibKey, ApplicationRib> applicationRib, or null if it is not present.
    • nonnullApplicationRib

      default @NonNull Map<ApplicationRibKey,ApplicationRib> nonnullApplicationRib()
      Return applicationRib, or an empty list if it is not present.
      Returns:
      Map<ApplicationRibKey, ApplicationRib> applicationRib, or an empty list if it is not present.
    • getBgpRib

      BgpRib getBgpRib()
      Return bgpRib, or null if it is not present.
      Returns:
      BgpRib bgpRib, or null if it is not present.
    • nonnullBgpRib

      @NonNull BgpRib nonnullBgpRib()
      Return bgpRib, or an empty instance if it is not present.
      Returns:
      BgpRib bgpRib, or an empty instance if it is not present.