commit | 2a43cb3f1d3efa5616c5904b58534e6372acc965 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Fri Apr 13 16:23:10 2018 +0900 |
committer | Jian Li <pyguni@gmail.com> | Fri Apr 13 16:23:10 2018 +0900 |
tree | db801314ea35f1bd68d5ad839b321d3bf13329fb | |
parent | 6f0171362126864449cbd4eafc7cbf17635e02a0 [diff] |
Config ARP proxy mode by default ensure it works in VXLAN and VLAN Change-Id: Iab7e1c71d872b37a6f5309b2d4f9839f9f35fcfc
diff --git a/apps/openstacknetworking/api/src/main/java/org/onosproject/openstacknetworking/api/Constants.java b/apps/openstacknetworking/api/src/main/java/org/onosproject/openstacknetworking/api/Constants.java index 136c12e..2ad9109 100644 --- a/apps/openstacknetworking/api/src/main/java/org/onosproject/openstacknetworking/api/Constants.java +++ b/apps/openstacknetworking/api/src/main/java/org/onosproject/openstacknetworking/api/Constants.java
@@ -31,7 +31,7 @@ public static final String ARP_PROXY_MODE = "proxy"; public static final String DEFAULT_GATEWAY_MAC_STR = "fe:00:00:00:00:02"; - public static final String DEFAULT_ARP_MODE_STR = ARP_BROADCAST_MODE; + public static final String DEFAULT_ARP_MODE_STR = ARP_PROXY_MODE; public static final MacAddress DEFAULT_GATEWAY_MAC = MacAddress.valueOf(DEFAULT_GATEWAY_MAC_STR); public static final MacAddress DEFAULT_EXTERNAL_ROUTER_MAC = MacAddress.valueOf("fe:00:00:00:00:01");
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 7e15b25..0cdb78b 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
@@ -137,7 +137,7 @@ private String gatewayMac = DEFAULT_GATEWAY_MAC_STR; @Property(name = ARP_MODE, value = DEFAULT_ARP_MODE_STR, - label = "ARP processing mode, broadcast (default) | proxy ") + label = "ARP processing mode, proxy (default) | broadcast ") protected String arpMode = DEFAULT_ARP_MODE_STR; private final InternalPacketProcessor packetProcessor = new InternalPacketProcessor();