From 14d9b363bb79566c3ffaa86bbac68f221b29bc8c Mon Sep 17 00:00:00 2001 From: Carmelo Cascone Date: Thu, 14 Sep 2017 14:38:20 +0200 Subject: [PATCH] Fixed wiring problem in the pi-demo-ecmp app Change-Id: I15d3b93b820d61f175eb9edbc8314994062e4f1a --- apps/pi-demo/ecmp/BUCK | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/pi-demo/ecmp/BUCK b/apps/pi-demo/ecmp/BUCK index 7c6a9afb94..f2680280cc 100644 --- a/apps/pi-demo/ecmp/BUCK +++ b/apps/pi-demo/ecmp/BUCK @@ -15,6 +15,7 @@ BUNDLES = [ '//apps/pi-demo/ecmp:onos-apps-pi-demo-ecmp', '//apps/pi-demo/common:onos-apps-pi-demo-common', '//drivers/default:onos-drivers-default', + '//incubator/bmv2/model:onos-incubator-bmv2-model', ] onos_app ( @@ -24,4 +25,12 @@ onos_app ( url = 'http://onosproject.org', description = 'Provides ECMP support for a 2-stage clos fabric topology of PI-enabled devices', included_bundles = BUNDLES, + required_apps = [ + # FIXME: there should be no dependendcy on a driver here. + # However, we depend on the DefaultP4Interpreter that currently lives in the p4runtime + # driver. Bringing up the whole app avoids to specify all transitive runtime dependencies + # as bundles. DefaultP4Interpreter and other pipeconf-related stuff should leave in a + # separate location, outside the drivers. + 'org.onosproject.drivers.p4runtime' + ] )