Add to the list of devices that do not support Meter

Change-Id: I1bb0630dcf20d0f68b29f92867da69e37b7c4261
This commit is contained in:
sdn 2018-05-23 18:51:27 +09:00 committed by Junyeong Seo
parent a6bb73be12
commit 77b5cb8e1e
2 changed files with 2 additions and 0 deletions

View File

@ -284,6 +284,7 @@
manufacturer="Arista.*" hwVersion="DCS.*" swVersion=".*">
<behaviour api="org.onosproject.net.behaviour.Pipeliner"
impl="org.onosproject.driver.pipeline.AristaPipeliner"/>
<property name="meterCapable">false</property>
</driver>
<driver name="juniper"

View File

@ -257,6 +257,7 @@ public class OpenFlowMeterProvider extends AbstractProvider implements MeterProv
sw.factory().getVersion() == OFVersion.OF_12 ||
NO_METER_SUPPORT.contains(sw.deviceType()) ||
!isMeterCapable(sw)) {
log.debug("{} does not support Meter.\n", sw.getDpid());
return false;
}