Disable LLGR by default 93/80793/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Mar 2019 13:40:33 +0000 (14:40 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Mar 2019 13:46:21 +0000 (14:46 +0100)
LLGR is an unfinished feature and advertizing it by default means
we cannot fit our advertizement into the OPEN message. Disable it
by default, allowing users to test it when they need to.

JIRA: BGPCEP-867
Change-Id: Ife9c4c30125b06c3c8edfe7c884835fd6359d84a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/config-example/src/main/resources/initial/protocols-config.xml

index 6d368941162918e66a08da73b1fe887a27b5bea0..29459921f388e7b6c9f695ca332cb7ede99c99ed 100644 (file)
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
                             <graceful-restart>
                                 <config>
                                     <enabled>true</enabled>
-                                    <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
+                                    <!--ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
                                         <config>
                                             <long-lived-stale-time>180</long-lived-stale-time>
                                         </config>
-                                    </ll-graceful-restart>
+                                    </ll-graceful-restart-->
                                 </config>
                             </graceful-restart>
                         </afi-safi>
             </peer-groups>
         </bgp>
     </protocol>
-</protocols>
\ No newline at end of file
+</protocols>