commit | 8ac677c7eda8b0005fbe522b85155d310a75aed8 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Mon Sep 16 22:41:34 2019 +0900 |
committer | Jian Li <pyguni@gmail.com> | Tue Sep 17 00:22:21 2019 +0900 |
tree | 85fcb5c9afd404c48cf4f0446babcc3f76a0103e | |
parent | f8f4f200ede5cf9861fafc73d23d1ca91e8f5688 [diff] |
Fix: do not install group table rules if ARP mode set as proxy mode Change-Id: I7f9a44b3c0d2b02d6bdd9431863eb0b23fd4d201
diff --git a/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java b/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java index 8c6d1d9..c730647 100644 --- a/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java +++ b/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java
@@ -944,6 +944,11 @@ } private void setVnetArpRule(Network network, boolean install) { + + if (ARP_PROXY_MODE.equals(getArpMode())) { + return; + } + String netId = network.getId(); NetworkType netType = network.getNetworkType();