BUG-2383: wire DOMDataBroker into RIBImpl
[bgpcep.git] / bgp / rib-impl / src / main / yang / odl-bgp-rib-impl-cfg.yang
index 484ab8730297d28e32f4a58ccbe69daeb3ea35b8..c84f70d14fc312b0094e40a09b09d79f478846dd 100644 (file)
@@ -12,6 +12,7 @@ module odl-bgp-rib-impl-cfg {
     import odl-bgp-rib-spi-cfg { prefix ribspi; revision-date 2013-11-15; }
     import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
     import opendaylight-md-sal-binding {prefix mdsb; revision-date 2013-10-28; }
+    import opendaylight-md-sal-dom {prefix sal; revision-date 2013-10-28; }
     import netty { prefix netty; revision-date 2013-11-19; }
     import config { prefix config; revision-date 2013-04-05; }
     import protocol-framework { prefix pf; revision-date 2014-03-13; }
@@ -439,6 +440,12 @@ module odl-bgp-rib-impl-cfg {
             default "false";
         }
 
+        leaf gr-capability {
+            description "BGP graceful restart support capability.";
+            type boolean;
+            default "false";
+        }
+
         list advertized-table-types {
             description "The BGP Table-type capabilities advertized by the BGP peer.";
             leaf afi {
@@ -631,6 +638,15 @@ module odl-bgp-rib-impl-cfg {
                 }
             }
 
+            container dom-data-provider {
+                uses config:service-ref {
+                    refine type {
+                        mandatory true;
+                        config:required-identity sal:dom-async-data-broker;
+                    }
+                }
+            }
+
             leaf local-as {
                 description "Our local AS number. Needed by best selection path attribute.";
                 type uint32;