From b55bde98f03744380b5da3b607637d8d48479fd4 Mon Sep 17 00:00:00 2001 From: Madhu Venugopal Date: Tue, 8 Jul 2014 04:04:02 -0700 Subject: [PATCH] Adjusting ovsdb project to work with the new default openflowplugin and openflowjava bundles. With the latest changes in the Controller and Integration projects, MD-SAL based Openflowplugin is made the default openflow plugin. In order to work in tandem with Controller/Integration project, this changeset contains the changes that will make MD-SAL Openflow Plugin as the default Openflow Provider in the OVSDB local distribution target. Change-Id: I11fc6bae0fb8c471fc8518baacf3e96eeefce1d1 Signed-off-by: Madhu Venugopal --- distribution/opendaylight/pom.xml | 8 ++++++-- .../opendaylight/src/assemble/resources/run.base.sh | 12 +++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/distribution/opendaylight/pom.xml b/distribution/opendaylight/pom.xml index beac26dc0..54095f632 100755 --- a/distribution/opendaylight/pom.xml +++ b/distribution/opendaylight/pom.xml @@ -16,13 +16,17 @@ see https://git.opendaylight.org/gerrit/#/c/390/ pom ovsdb Distribution + + + org.opendaylight.openflowjava + util + 0.5-SNAPSHOT + org.opendaylight.openflowjava openflow-protocol-api 0.5-SNAPSHOT - - org.opendaylight.openflowjava openflow-protocol-impl diff --git a/distribution/opendaylight/src/assemble/resources/run.base.sh b/distribution/opendaylight/src/assemble/resources/run.base.sh index f721ef834..c90da054d 100755 --- a/distribution/opendaylight/src/assemble/resources/run.base.sh +++ b/distribution/opendaylight/src/assemble/resources/run.base.sh @@ -9,18 +9,19 @@ OF_FILTER= # Be extra careful to pass on usage from run.internal.sh, but add our # usage as well in the standard way function usage { - $CONTROLLER_RUNSH -help | sed 's/\[-help\]/\[-help\] \[-of13\] \[-bundlefilter \ \]/' | sed "s;$CONTROLLER_RUNSH;$0;" + $CONTROLLER_RUNSH -help | sed 's/\[-help\]/\[-help\] \[-of10\] \[-bundlefilter \ \]/' | sed "s;$CONTROLLER_RUNSH;$0;" exit 1 } -OF13=0 +OF13=1 BUNDLEFILTER= while true ; do (( i += 1 )) case "${@:$i:1}" in - -of13) OF13=1 ;; + -of10) OF13=0 ; (( i += 1 ));; + -of13) OF13=1 ; (( i += 1 ));; -bundlefilter) (( i += 1 )); BUNDLEFILTER="|${@:$i:1}";; - -help) usage ;; + -help) (( i += 1 )); helparg=${@:$i:1}; usage ;; "") break ;; esac done @@ -39,7 +40,8 @@ fi # Make sure we suck out our additional args so as to not confuse # run.internal.sh -NEWARGS=`echo $@|sed 's/-of13//'|sed 's/-bundlefilter[ ]*[^ ]*//'` +NEWARGS=`echo $@|sed 's/-of13//'|sed 's/-of10//'|sed 's/-bundlefilter[ ]*[^ ]*//'` + # Build the filter string FILTERBEGINING='^(?!' -- 2.36.6