BUG-242: expose configuration through well-known artifacts 84/3684/1
authorRobert Varga <rovarga@cisco.com>
Thu, 12 Dec 2013 17:47:12 +0000 (18:47 +0100)
committerRobert Varga <rovarga@cisco.com>
Thu, 12 Dec 2013 17:50:02 +0000 (18:50 +0100)
Change-Id: I5167c506347eadb8a397eb4285ec1f903f29ea6b
Signed-off-by: Robert Varga <rovarga@cisco.com>
bgp/controller-config/pom.xml [new file with mode: 0644]
bgp/controller-config/src/main/resources/initial/31-bgp.conf [new file with mode: 0644]
bgp/controller-config/src/main/resources/initial/41-bgp-example.conf [new file with mode: 0644]
bgp/pom.xml
pcep/controller-config/pom.xml [new file with mode: 0644]
pcep/controller-config/src/main/resources/initial/32-pcep.conf [new file with mode: 0644]
pcep/pom.xml
programming/controller-config/pom.xml [new file with mode: 0644]
programming/controller-config/src/main/resources/initial/30-programming.conf [new file with mode: 0644]
programming/pom.xml

diff --git a/bgp/controller-config/pom.xml b/bgp/controller-config/pom.xml
new file mode 100644 (file)
index 0000000..b0f44ef
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+       <parent>
+               <groupId>org.opendaylight.bgpcep</groupId>
+               <artifactId>bgp-parent</artifactId>
+               <version>0.3.0-SNAPSHOT</version>
+       </parent>
+
+       <modelVersion>4.0.0</modelVersion>
+       <artifactId>bgp-controller-config</artifactId>
+       <description>Controller Configuration files for BGP protocol</description>
+       <packaging>jar</packaging>
+       <name>${project.artifactId}</name>
+       <prerequisites>
+               <maven>3.0.4</maven>
+    </prerequisites>
+
+</project>
diff --git a/bgp/controller-config/src/main/resources/initial/31-bgp.conf b/bgp/controller-config/src/main/resources/initial/31-bgp.conf
new file mode 100644 (file)
index 0000000..0bcab15
--- /dev/null
@@ -0,0 +1,103 @@
+//MODULES START
+        <module>
+                <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">prefix:bgp-extensions-impl</type>
+                <name>global-bgp-extensions</name>
+               <extension>
+                        <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extension</type>
+                        <name>base-bgp-parser</name>
+               </extension>
+               <extension>
+                        <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extension</type>
+                        <name>bgp-linkstate</name>
+               </extension>
+        </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:base-bgp-parser</type>
+               <name>base-bgp-parser</name>
+       </module>
+        <module>
+                <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">prefix:bgp-rib-extensions-impl</type>
+                <name>global-rib-extensions</name>
+               <extension>
+                       <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extension</type>
+                       <name>base-bgp-rib</name>
+               </extension>
+               <extension>
+                       <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extension</type>
+                       <name>bgp-linkstate</name>
+               </extension>
+        </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:base-bgp-rib</type>
+               <name>base-bgp-rib</name>
+       </module>
+        <module>
+                <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:linkstate">prefix:bgp-linkstate</type>
+                <name>bgp-linkstate</name>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher-impl</type>
+               <name>global-bgp-dispatcher</name>
+               <bgp-extensions>
+                        <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extensions</type>
+                        <name>global-bgp-extensions</name>
+               </bgp-extensions>
+               <boss-group>
+                       <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
+                       <name>global-boss-group</name>
+               </boss-group>
+               <worker-group>
+                       <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
+                       <name>global-worker-group</name>
+               </worker-group>
+       </module>
+//SERVICES START
+        <service>
+                <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extensions</type>
+                <instance>
+                        <name>global-bgp-extensions</name>
+                        <provider>/modules/module[type='bgp-extensions-impl'][name='global-bgp-extensions']</provider>
+                </instance>
+        </service>
+        <service>
+                <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extension</type>
+                <instance>
+                        <name>base-bgp-parser</name>
+                        <provider>/modules/module[type='base-bgp-parser'][name='base-bgp-parser']</provider>
+               </instance>
+               <instance>
+                        <name>bgp-linkstate</name>
+                        <provider>/modules/module[type='bgp-linkstate'][name='bgp-linkstate']</provider>
+                </instance>
+        </service>
+        <service>
+               <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extension</type>
+                <instance>
+                        <name>base-bgp-rib</name>
+                        <provider>/modules/module[type='base-bgp-rib'][name='base-bgp-rib']</provider>
+               </instance>
+               <instance>
+                        <name>bgp-linkstate</name>
+                        <provider>/modules/module[type='bgp-linkstate'][name='bgp-linkstate']</provider>
+                </instance>
+       </service>
+        <service>
+                <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extensions</type>
+                <instance>
+                        <name>global-rib-extensions</name>
+                        <provider>/modules/module[type='bgp-rib-extensions-impl'][name='global-rib-extensions']</provider>
+                </instance>
+        </service>
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
+               <instance>
+                       <name>global-bgp-dispatcher</name>
+                        <provider>/modules/module[type='bgp-dispatcher-impl'][name='global-bgp-dispatcher']</provider>
+               </instance>
+       </service>
+//CAPABILITIES START
+urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi?module=config-bgp-parser-spi&revision=2013-11-15
+urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi?module=config-bgp-rib-spi&revision=2013-11-15
+urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=bgp-rib-impl&revision=2013-04-09
+urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28
+urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&revision=2013-11-19
diff --git a/bgp/controller-config/src/main/resources/initial/41-bgp-example.conf b/bgp/controller-config/src/main/resources/initial/41-bgp-example.conf
new file mode 100644 (file)
index 0000000..7f3fb0a
--- /dev/null
@@ -0,0 +1,155 @@
+//MODULES START
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-proposal-impl</type>
+               <name>example-bgp-proposal</name>
+               <as-number>64496</as-number>
+               <bgp-id>192.0.2.2</bgp-id>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-impl</type>
+               <name>example-bgp-peer</name>
+               <bgp-dispatcher>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
+                       <name>global-bgp-dispatcher</name>
+               </bgp-dispatcher>
+               <bgp-proposal>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-proposal</type>
+                       <name>example-bgp-proposal</name>
+               </bgp-proposal>
+               <host>route-reflector.example.org</host>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:reconnectstrategy">prefix:timed-reconnect-strategy</type>
+               <name>example-reconnect-strategy</name>
+               <min-sleep>1000</min-sleep>
+               <max-sleep>180000</max-sleep>
+               <sleep-factor>2.00</sleep-factor>
+               <connect-time>5000</connect-time>
+               <executor>
+                       <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-event-executor</type>
+                       <name>global-event-executor</name>
+               </executor>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:rib-impl</type>
+               <name>example-bgp-rib</name>
+               <bgp>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:listener">prefix:listener</type>
+                       <name>example-bgp-peer</name>
+               </bgp>
+               <extensions>
+                        <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extensions</type>
+                        <name>global-rib-extensions</name>
+               </extensions>
+               <data-provider>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
+                       <name>binding-data-broker</name>
+               </data-provider>
+               <session-reconnect-strategy>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:reconnectstrategy">prefix:reconnect-strategy</type>
+                       <name>example-reconnect-strategy</name>
+               </session-reconnect-strategy>
+               <tcp-reconnect-strategy>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:reconnectstrategy">prefix:reconnect-strategy</type>
+                       <name>example-reconnect-strategy</name>
+               </tcp-reconnect-strategy>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider">prefix:bgp-reachability-ipv4</type>
+               <name>example-ipv4-topology</name>
+               <data-provider>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
+                       <name>binding-data-broker</name>
+               </data-provider>
+               <local-rib>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
+                       <name>example-bgp-rib</name>
+               </local-rib>
+               <topology-id>example-ipv4-topology</topology-id>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider">prefix:bgp-reachability-ipv4</type>
+               <name>example-ipv6-topology</name>
+               <data-provider>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
+                       <name>binding-data-broker</name>
+               </data-provider>
+               <local-rib>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
+                       <name>example-bgp-rib</name>
+               </local-rib>
+               <topology-id>example-ipv6-topology</topology-id>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider">prefix:bgp-linkstate-topology</type>
+               <name>example-linkstate-topology</name>
+               <data-provider>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
+                       <name>binding-data-broker</name>
+               </data-provider>
+               <local-rib>
+                       <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
+                       <name>example-bgp-rib</name>
+               </local-rib>
+               <topology-id>example-linkstate-topology</topology-id>
+       </module>
+//SERVICES START
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-proposal</type>
+               <instance>
+                       <name>example-bgp-proposal</name>
+                        <provider>/config/modules/module[name='bgp-proposal-impl']/instance[name='example-bgp-proposal']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:listener">prefix:listener</type>
+               <instance>
+                       <name>example-bgp-peer</name>
+                        <provider>/config/modules/module[name='bgp-impl']/instance[name='example-bgp-peer']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:reconnectstrategy">prefix:reconnect-strategy</type>
+               <instance>
+                       <name>example-reconnect-strategy</name>
+                       <provider>/config/modules/module[name='timed-reconnect-strategy']/instance[name='example-reconnect-strategy']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
+               <instance>
+                       <name>example-ipv4-topology</name>
+                       <provider>/config/modules/module[name='bgp-reachability-ipv4']/instance[name='example-ipv4-topology']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
+               <instance>
+                       <name>example-bgp-rib</name>
+                       <provider>/config/modules/module[name='rib-impl']/instance[name='example-bgp-rib']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
+               <instance>
+                       <name>example-ipv6-topology</name>
+                       <provider>/config/modules/module[name='bgp-reachability-ipv6']/instance[name='example-ipv6-topology']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
+               <instance>
+                       <name>example-linkstate-topology</name>
+                       <provider>/config/modules/module[name='bgp-linkstate-topology']/instance[name='example-linkstate-topology']</provider>
+               </instance>
+       </service>
+//CAPABILITIES START
+urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg?module=config-bgp-rib&revision=2013-07-01
+urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi?module=config-bgp-rib-spi&revision=2013-11-15
+urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=bgp-rib-impl&revision=2013-04-09
+urn:opendaylight:params:xml:ns:yang:controller:bgp:listener?module=bgp-listener&revision=2013-04-09
+urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider?module=config-bgp-topology-provider&revision=2013-11-15
+urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28
+urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&revision=2013-11-19
+urn:opendaylight:params:xml:ns:yang:controller:reconnectstrategy?module=reconnect-strategy&revision=2013-11-09
+urn:opendaylight:params:xml:ns:yang:controller:topology?module=config-topology-api&revision=2013-11-15
index c77b0636b9a5583dd280f161f335db183389eac7..b2972e3c584bb80b4d298520ba3cea20e2f7c560 100644 (file)
@@ -39,6 +39,8 @@
         <module>util</module>
         <module>update-api-config</module>
         <module>update-mock-config</module>
+
+        <module>controller-config</module>
     </modules>
 
     <dependencyManagement>
diff --git a/pcep/controller-config/pom.xml b/pcep/controller-config/pom.xml
new file mode 100644 (file)
index 0000000..161d8b3
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+       <parent>
+               <groupId>org.opendaylight.bgpcep</groupId>
+               <artifactId>pcep-parent</artifactId>
+               <version>0.3.0-SNAPSHOT</version>
+       </parent>
+
+       <modelVersion>4.0.0</modelVersion>
+       <artifactId>pcep-controller-config</artifactId>
+       <description>Controller Configuration files for PCEP protocol</description>
+       <packaging>jar</packaging>
+       <name>${project.artifactId}</name>
+       <prerequisites>
+               <maven>3.0.4</maven>
+    </prerequisites>
+
+    <dependencies>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>programming-controller-config</artifactId>
+            <version>${project.version}</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+</project>
diff --git a/pcep/controller-config/src/main/resources/initial/32-pcep.conf b/pcep/controller-config/src/main/resources/initial/32-pcep.conf
new file mode 100644 (file)
index 0000000..1f78e29
--- /dev/null
@@ -0,0 +1,117 @@
+//MODULES START
+        <module>
+                <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">prefix:pcep-extensions-impl</type>
+                <name>global-pcep-extensions</name>
+               <extension>
+                       <type xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">pcepspi:extension</type>
+                       <name>pcep-parser-base</name>
+               </extension>
+               <extension>
+                       <type xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">pcepspi:extension</type>
+                       <name>pcep-parser-crabbe-initiated</name>
+               </extension>
+        </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">prefix:pcep-parser-base</type>
+               <name>pcep-parser-base</name>
+        </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">prefix:pcep-parser-crabbe-initiated</type>
+               <name>pcep-parser-crabbe-initiated</name>
+        </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">prefix:pcep-session-proposal-factory-impl</type>
+               <name>global-pcep-session-proposal-factory</name>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">prefix:pcep-dispatcher-impl</type>
+               <name>global-pcep-dispatcher</name>
+               <pcep-extensions>
+                       <type xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">pcepspi:extensions</type>
+                       <name>global-pcep-extensions</name>
+               </pcep-extensions>
+               <pcep-session-proposal-factory>
+                       <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-session-proposal-factory</type>
+                       <name>global-pcep-session-proposal-factory</name>
+               </pcep-session-proposal-factory>
+               <boss-group>
+                       <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
+                       <name>global-boss-group</name>
+               </boss-group>
+               <worker-group>
+                       <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
+                       <name>global-worker-group</name>
+               </worker-group>
+               <timer>
+                       <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-timer</type>
+                       <name>global-timer</name>
+               </timer>
+       </module>
+       <module>
+               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">prefix:pcep-topology-provider</type>
+               <name>pcep-topology</name>
+               <data-provider>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
+                       <name>binding-data-broker</name>
+               </data-provider>
+               <dispatcher>
+                       <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-dispatcher</type>
+                       <name>global-pcep-dispatcher</name>
+               </dispatcher>
+               <rpc-registry>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
+                       <name>binding-rpc-broker</name>
+               </rpc-registry>
+               <scheduler>
+                       <type xmlns:pgmspi="urn:opendaylight:params:xml:ns:yang:controller:programming:spi">pgmspi:instruction-scheduler</type>
+                        <name>global-instruction-scheduler</name>
+               </scheduler>
+               <topology-id>pcep-topology</topology-id>
+       </module>
+//SERVICES START
+        <service>
+                <type xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">pcepspi:extensions</type>
+                <instance>
+                        <name>global-pcep-extensions</name>
+                        <provider>/config/modules/module[name='pcep-extensions-impl']/instance[name='global-pcep-extensions']</provider>
+                </instance>
+        </service>
+        <service>
+                <type xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">pcepspi:extension</type>
+                <instance>
+                        <name>pcep-parser-base</name>
+                        <provider>/config/modules/module[name='pcep-parser-base']/instance[name='pcep-parser-base']</provider>
+                </instance>
+                <instance>
+                        <name>pcep-parser-crabbe-initiated</name>
+                        <provider>/config/modules/module[name='pcep-parser-crabbe-initiated']/instance[name='pcep-parser-crabbe-initiated']</provider>
+                </instance>
+        </service>
+       <service>
+               <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-session-proposal-factory</type>
+               <instance>
+                       <name>global-pcep-session-proposal-factory</name>
+                       <provider>/config/modules/module[name='pcep-session-proposal-factory-impl']/instance[name='global-pcep-session-proposal-factory']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep">pcep:pcep-dispatcher</type>
+               <instance>
+                       <name>global-pcep-dispatcher</name>
+                       <provider>/config/modules/module[name='pcep-dispatcher-impl']/instance[name='global-pcep-dispatcher']</provider>
+               </instance>
+       </service>
+       <service>
+               <type xmlns:pcep="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">pcep:pcep-topology-reference</type>
+               <instance>
+                       <name>pcep-topology</name>
+                       <provider>/config/modules/module[name='pcep-topology-provider']/instance[name='pcep-topology']</provider>
+               </instance>
+       </service>
+//CAPABILITIES START
+urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28
+urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&revision=2013-11-19
+urn:opendaylight:params:xml:ns:yang:controller:pcep:impl?module=odl-pcep-impl-cfg&revision=2013-06-27
+urn:opendaylight:params:xml:ns:yang:controller:pcep:spi?module=config-pcep-spi&revision=2013-11-15
+urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?module=config-pcep-topology-provider&revision=2013-11-15
+urn:opendaylight:params:xml:ns:yang:controller:programming:spi?module=config-programming-spi&revision=2013-11-15
index 9f0c45d98c0cd072f9f768d333e774c636f95a6a..c16fedf86df93802c1270acd0bff6f29c21e8cf6 100644 (file)
@@ -32,6 +32,8 @@
         <module>tunnel-api</module>
         <module>tunnel-provider</module>
         <module>tunnel-provider-config</module>
+
+        <module>controller-config</module>
     </modules>
 
     <dependencyManagement>
diff --git a/programming/controller-config/pom.xml b/programming/controller-config/pom.xml
new file mode 100644 (file)
index 0000000..ee2c7b7
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+       <parent>
+               <groupId>org.opendaylight.bgpcep</groupId>
+               <artifactId>programming-parent</artifactId>
+               <version>0.3.0-SNAPSHOT</version>
+       </parent>
+
+       <modelVersion>4.0.0</modelVersion>
+       <artifactId>programming-controller-config</artifactId>
+       <description>Controller Configuration files for Programming</description>
+       <packaging>jar</packaging>
+       <name>${project.artifactId}</name>
+       <prerequisites>
+               <maven>3.0.4</maven>
+    </prerequisites>
+
+</project>
diff --git a/programming/controller-config/src/main/resources/initial/30-programming.conf b/programming/controller-config/src/main/resources/initial/30-programming.conf
new file mode 100644 (file)
index 0000000..8ca07b7
--- /dev/null
@@ -0,0 +1,30 @@
+//MODULES START
+        <module>
+                <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:programming:impl">prefix:instruction-scheduler-impl</type>
+                <name>global-instruction-scheduler</name>
+               <notification-service>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
+                       <name>binding-notification-broker</name>
+               </notification-service>
+               <rpc-registry>
+                       <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
+                       <name>binding-rpc-broker</name>
+               </rpc-registry>
+               <timer>
+                       <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-timer</type>
+                       <name>global-timer</name>
+               </timer>
+        </module>
+//SERVICES START
+        <service>
+                <type xmlns:pgmspi="urn:opendaylight:params:xml:ns:yang:controller:programming:spi">pgmspi:instruction-scheduler</type>
+                <instance>
+                        <name>global-instruction-scheduler</name>
+                        <provider>/modules/module[type='instruction-scheduler-impl'][name='global-instruction-scheduler']</provider>
+                </instance>
+        </service>
+//CAPABILITIES START
+urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28
+urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&revision=2013-11-19
+urn:opendaylight:params:xml:ns:yang:controller:programming:impl?module=config-programming-impl&revision=2013-11-15
+urn:opendaylight:params:xml:ns:yang:controller:programming:spi?module=config-programming-spi&revision=2013-11-15
index b9e56a15be4ad46ef627e3cd7b158a9e3db7fb8f..9d54bff071f27aa07b27521c7541cbc4d5547d73 100644 (file)
@@ -25,6 +25,8 @@
         <module>spi-config</module>
         <module>topology-api</module>
                <module>tunnel-api</module>
+
+        <module>controller-config</module>
     </modules>
 
     <dependencyManagement>