mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-06 04:36:17 +02:00
Add to the list of devices that do not support Meter
Change-Id: I1bb0630dcf20d0f68b29f92867da69e37b7c4261
This commit is contained in:
parent
a6bb73be12
commit
77b5cb8e1e
@ -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"
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user