Add blueprint XML for bgp-flowspec 27/40327/6
authorTom Pantelis <tpanteli@brocade.com>
Tue, 14 Jun 2016 21:45:22 +0000 (17:45 -0400)
committerMilos Fabian <milfabia@cisco.com>
Tue, 28 Jun 2016 08:29:54 +0000 (08:29 +0000)
Change-Id: I0963553e5d090377883b3269b75c9916aff4c8fd
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
bgp/flowspec/src/main/resources/META-INF/services/org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator [new file with mode: 0644]
bgp/flowspec/src/main/resources/META-INF/services/org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderActivator [new file with mode: 0644]
bgp/flowspec/src/main/resources/org/opendaylight/blueprint/bgp-flowspec.xml [new file with mode: 0644]

diff --git a/bgp/flowspec/src/main/resources/META-INF/services/org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator b/bgp/flowspec/src/main/resources/META-INF/services/org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator
new file mode 100644 (file)
index 0000000..b69f6c3
--- /dev/null
@@ -0,0 +1,7 @@
+# Copyright (c) 2016 Brocade Communications Systems, Inc. and others.  All rights reserved.
+#
+# This program and the accompanying materials are made available
+# under the terms of the Eclipse Public License v1.0 which
+# accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+org.opendaylight.protocol.bgp.flowspec.BGPActivator
diff --git a/bgp/flowspec/src/main/resources/META-INF/services/org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderActivator b/bgp/flowspec/src/main/resources/META-INF/services/org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderActivator
new file mode 100644 (file)
index 0000000..2d1fda0
--- /dev/null
@@ -0,0 +1,7 @@
+# Copyright (c) 2016 Brocade Communications Systems, Inc. and others.  All rights reserved.
+#
+# This program and the accompanying materials are made available
+# under the terms of the Eclipse Public License v1.0 which
+# accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+org.opendaylight.protocol.bgp.flowspec.RIBActivator
diff --git a/bgp/flowspec/src/main/resources/org/opendaylight/blueprint/bgp-flowspec.xml b/bgp/flowspec/src/main/resources/org/opendaylight/blueprint/bgp-flowspec.xml
new file mode 100644 (file)
index 0000000..58557e6
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
+
+  <bean id="flowSpecExtensionContext" class="org.opendaylight.protocol.bgp.flowspec.SimpleFlowspecExtensionProviderContext"/>
+
+  <bean id="flowSpecActivator" class="org.opendaylight.protocol.bgp.flowspec.FlowspecActivator">
+    <argument ref="flowSpecExtensionContext"/>
+  </bean>
+
+  <bean id="BGPActivator" class="org.opendaylight.protocol.bgp.flowspec.BGPActivator">
+    <argument ref="flowSpecExtensionContext"/>
+    <argument ref="flowSpecActivator"/>
+  </bean>
+
+  <bean id="RIBActivator" class="org.opendaylight.protocol.bgp.flowspec.RIBActivator">
+    <argument ref="flowSpecExtensionContext"/>
+  </bean>
+
+  <service ref="BGPActivator" interface="org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator"
+          odl:type="org.opendaylight.protocol.bgp.flowspec.BGPActivator"/>
+
+  <service ref="RIBActivator" interface="org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderActivator"
+          odl:type="org.opendaylight.protocol.bgp.flowspec.RIBActivator"/>
+</blueprint>
\ No newline at end of file