Bug 1099: Remove toaster from virt edition
authorEd Warnicke <eaw@cisco.com>
Thu, 5 Jun 2014 02:11:50 +0000 (21:11 -0500)
committerEd Warnicke <eaw@cisco.com>
Thu, 5 Jun 2014 02:18:33 +0000 (21:18 -0500)
In the virt edition, we use a clever felix dm
hack to allow the user to pick one or the other
virt providers by filtering out potentially
conflicting bundles.

vtn has chosen to filter out all sample apps
so as to avoid collisions with things like
simpleforwarder.

Toaster is a sample app and thus its bundle
is filtered.  However, there is configuration
present that demands toaster in order for it
to be applied.  This causes Bug 1099.

The simplest way to resolve this, rather than
extending the Felix DM hack, is to filter
toaster and its config file out of
the virtualization edition.

I have verified that

./run.sh -virt vtn -of13

starts the controller without the reported error.

Change-Id: I0f45ef4f183b3458bbc4b3970e21e833d1cdaccf
Signed-off-by: Ed Warnicke <eaw@cisco.com>
distributions/virtualization/src/assemble/bin.xml

index ecd1bd7f7a68bfd6f4b14475c0444c923fd35299..eed9cf07770f0357a89f1a2baff9f1eb18d0cbcb 100644 (file)
       <outputDirectory>/</outputDirectory>
       <excludes>
           <exclude>opendaylight/run.sh</exclude>
+          <exclude>opendaylight/configuration/initial/03-toaster-sample.xml</exclude>
+          <exclude>opendaylight/plugins/org.opendaylight.controller.samples.sample-toaster-1.1-SNAPSHOT.jar</exclude>
+          <exclude>opendaylight/plugins/org.opendaylight.controller.samples.sample-toaster-provider-1.1-SNAPSHOT.jar</exclude>
+          <exclude>opendaylight/plugins/org.opendaylight.controller.samples.sample-toaster-consumer-1.1-SNAPSHOT.jar</exclude>
       </excludes>
     </fileSet>
   </fileSets>