BUG-5434: BGP-LU Ipv6 Initial configuration 40/40140/2
authorClaudio D. Gasparini <cgaspari@cisco.com>
Fri, 10 Jun 2016 07:32:20 +0000 (09:32 +0200)
committerMilos Fabian <milfabia@cisco.com>
Mon, 13 Jun 2016 06:59:16 +0000 (06:59 +0000)
Add BGP-LU Ipv6 to initial cofig files

Change-Id: Ie1d08ec901c89044f160f284511e89589410ff96
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
bgp/controller-config/src/main/resources/initial/31-bgp.xml
bgp/controller-config/src/main/resources/initial/41-bgp-example.xml

index 20215a9edac7c5e250361197ba2063c95f847b18..841722db67848f81503c45d8b2e2c87e6dd542b6 100644 (file)
                 </module>
                 <module>
                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:add-path-impl</type>
-                    <name>labeled-unicast-receive</name>
+                    <name>ipv4-labeled-unicast-receive</name>
                     <address-family>
                         <type xmlns:ribimpl="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">ribimpl:bgp-table-type</type>
-                        <name>labeled-unicast</name>
+                        <name>ipv4-labeled-unicast</name>
                     </address-family>
                     <send-receive>receive</send-receive>
                 </module>
                 <module>
                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:add-path-impl</type>
-                    <name>labeled-unicast-send</name>
+                    <name>ipv4-labeled-unicast-send</name>
                     <address-family>
                         <type xmlns:ribimpl="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">ribimpl:bgp-table-type</type>
-                        <name>labeled-unicast</name>
+                        <name>ipv4-labeled-unicast</name>
                     </address-family>
                     <send-receive>send</send-receive>
                 </module>
                 <module>
                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:add-path-impl</type>
-                    <name>labeled-unicast-both</name>
+                    <name>ipv4-labeled-unicast-both</name>
                     <address-family>
                         <type xmlns:ribimpl="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">ribimpl:bgp-table-type</type>
-                        <name>labeled-unicast</name>
+                        <name>ipv4-labeled-unicast</name>
+                    </address-family>
+                    <send-receive>both</send-receive>
+                </module>
+                <module>
+                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:add-path-impl</type>
+                    <name>ipv6-labeled-unicast-receive</name>
+                    <address-family>
+                        <type xmlns:ribimpl="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">ribimpl:bgp-table-type</type>
+                        <name>ipv6-labeled-unicast</name>
+                    </address-family>
+                    <send-receive>receive</send-receive>
+                </module>
+                <module>
+                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:add-path-impl</type>
+                    <name>ipv6-labeled-unicast-send</name>
+                    <address-family>
+                        <type xmlns:ribimpl="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">ribimpl:bgp-table-type</type>
+                        <name>ipv6-labeled-unicast</name>
+                    </address-family>
+                    <send-receive>send</send-receive>
+                </module>
+                <module>
+                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:add-path-impl</type>
+                    <name>ipv6-labeled-unicast-both</name>
+                    <address-family>
+                        <type xmlns:ribimpl="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">ribimpl:bgp-table-type</type>
+                        <name>ipv6-labeled-unicast</name>
                     </address-family>
                     <send-receive>both</send-receive>
                 </module>
                 </module>
                 <module>
                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
-                    <name>labeled-unicast</name>
+                    <name>ipv4-labeled-unicast</name>
                     <afi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:ipv4-address-family</afi>
                     <safi xmlns:labeled-unicast="urn:opendaylight:params:xml:ns:yang:bgp-labeled-unicast">labeled-unicast:labeled-unicast-subsequent-address-family</safi>
                 </module>
+                <module>
+                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
+                    <name>ipv6-labeled-unicast</name>
+                    <afi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:ipv6-address-family</afi>
+                    <safi xmlns:labeled-unicast="urn:opendaylight:params:xml:ns:yang:bgp-labeled-unicast">labeled-unicast:labeled-unicast-subsequent-address-family</safi>
+                </module>
                 <module>
                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
                     <name>ipv4-l3vpn</name>
                         <provider>/modules/module[type='bgp-table-type-impl'][name='ipv6-flowspec']</provider>
                     </instance>
                     <instance>
-                        <name>labeled-unicast</name>
-                        <provider>/modules/module[type='bgp-table-type-impl'][name='labeled-unicast']</provider>
+                        <name>ipv4-labeled-unicast</name>
+                        <provider>/modules/module[type='bgp-table-type-impl'][name='ipv4-labeled-unicast']</provider>
+                    </instance>
+                    <instance>
+                        <name>ipv6-labeled-unicast</name>
+                        <provider>/modules/module[type='bgp-table-type-impl'][name='ipv6-labeled-unicast']</provider>
                     </instance>
                     <instance>
                         <name>ipv4-l3vpn</name>
                         <provider>/modules/module[type='add-path-impl'][name='ipv6-flowspec-receive']</provider>
                     </instance>
                     <instance>
-                        <name>labeled-unicast-receive</name>
-                        <provider>/modules/module[type='add-path-impl'][name='labeled-unicast-receive']</provider>
+                        <name>ipv4-labeled-unicast-receive</name>
+                        <provider>/modules/module[type='add-path-impl'][name='ipv4-labeled-unicast-receive']</provider>
+                    </instance>
+                    <instance>
+                        <name>ipv6-labeled-unicast-receive</name>
+                        <provider>/modules/module[type='add-path-impl'][name='ipv--labeled-unicast-receive']</provider>
                     </instance>
                     <instance>
                         <name>ipv4-unicast-send</name>
                         <provider>/modules/module[type='add-path-impl'][name='ipv6-flowspec-send']</provider>
                     </instance>
                     <instance>
-                        <name>labeled-unicast-send</name>
-                        <provider>/modules/module[type='add-path-impl'][name='labeled-unicast-send']</provider>
+                        <name>ipv4-labeled-unicast-send</name>
+                        <provider>/modules/module[type='add-path-impl'][name='ipv4-labeled-unicast-send']</provider>
+                    </instance>
+                    <instance>
+                        <name>ipv6-labeled-unicast-send</name>
+                        <provider>/modules/module[type='add-path-impl'][name='ipv6-labeled-unicast-send']</provider>
                     </instance>
                     <instance>
                         <name>ipv4-unicast-both</name>
                         <provider>/modules/module[type='add-path-impl'][name='ipv6-flowspec-both']</provider>
                     </instance>
                     <instance>
-                        <name>labeled-unicast-both</name>
-                        <provider>/modules/module[type='add-path-impl'][name='labeled-unicast-both']</provider>
+                        <name>ipv4-labeled-unicast-both</name>
+                        <provider>/modules/module[type='add-path-impl'][name='ipv4-labeled-unicast-both']</provider>
+                    </instance>
+                    <instance>
+                        <name>ipv6-labeled-unicast-both</name>
+                        <provider>/modules/module[type='add-path-impl'][name='ipv6-labeled-unicast-both']</provider>
                     </instance>
                 </service>
                 <service>
index 56a226e04f31c33480b6dee0e1767b176bdcde3e..74d1b8c37d9bc8a96bdc5a40c7e329d8aa2381e0 100755 (executable)
                     </advertized-table>
                     <advertized-table>
                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
-                        <name>labeled-unicast</name>
+                        <name>ipv4-labeled-unicast</name>
+                    </advertized-table>
+                    <advertized-table>
+                        <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
+                        <name>ipv6-labeled-unicast</name>
                     </advertized-table>
                     <advertized-table>
                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
                     </local-table>
                     <local-table>
                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
-                        <name>labeled-unicast</name>
+                        <name>ipv4-labeled-unicast</name>
+                    </local-table>
+                    <local-table>
+                        <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
+                        <name>ipv6-labeled-unicast</name>
                     </local-table>
                     <local-table>
                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>