Attempt at fixing p4-trellis STC scenario
the mininet stdout was clogged with stratum log affecting test result
Change-Id: I0f138d3c32bea14ec175fdc745bda58ac74d1bbc
diff --git a/tools/dev/mininet/bmv2.py b/tools/dev/mininet/bmv2.py
index d079482..f99aeaf 100644
--- a/tools/dev/mininet/bmv2.py
+++ b/tools/dev/mininet/bmv2.py
@@ -367,7 +367,9 @@
'-cpu_port=%s' % self.cpuPort,
'-external_hercules_urls=0.0.0.0:%d' % self.grpcPort,
'-local_hercules_url=localhost:%d' % self.grpcPortInternal,
- '-max_num_controllers_per_node=10'
+ '-max_num_controllers_per_node=10',
+ '-logtosyslog=false',
+ '-logtostderr=true'
]
return " ".join(args)
diff --git a/tools/test/scenarios/net-setup-trellis-p4.xml b/tools/test/scenarios/net-setup-trellis-p4.xml
index bd430b6..519d98d 100644
--- a/tools/test/scenarios/net-setup-trellis-p4.xml
+++ b/tools/test/scenarios/net-setup-trellis-p4.xml
@@ -77,11 +77,17 @@
<step name="App-Activate-Mcast"
exec="onos ${OCI} app activate org.onosproject.mcast"
requires="Trellis-Net-P4-Setup.Deactivate-Apps"/>
+ <step name="App-Activate-LldpProvider"
+ exec="onos ${OCI} app activate org.onosproject.lldpprovider"
+ requires="Trellis-Net-P4-Setup.Deactivate-Apps"/>
+ <step name="App-Activate-HostProvider"
+ exec="onos ${OCI} app activate org.onosproject.hostprovider"
+ requires="Trellis-Net-P4-Setup.Deactivate-Apps"/>
</group>
<group name="Trellis-Net-P4-Setup.Verify-Apps" requires="Trellis-Net-P4-Setup.Activate-Apps">
<parallel var="${OC#}">
- <step name="Trellis-Net-P4-Setup.Check-Apps-${#}" exec="onos-check-apps ${OC#} drivers.bmv2,pipelines.fabric,generaldeviceprovider includes"
+ <step name="Trellis-Net-P4-Setup.Check-Apps-${#}" exec="onos-check-apps ${OC#} drivers.bmv2,generaldeviceprovider,pipelines.fabric,segmentrouting,fpm,dhcprelay,netcfghostprovider,routeradvertisement,mcast,lldpprovider,hostprovider includes"
requires="Trellis-Net-P4-Setup.Activate-Apps"/>
</parallel>
</group>