Hyunsun Moon

Lowered some warning levels

Change-Id: I2a857b1690d462e865821cbe388eb8e5c50ef11a
......@@ -123,8 +123,6 @@ public class CordVtnArpProxy {
* @param gatewayMac gateway mac address
*/
public void processArpPacket(PacketContext context, Ethernet ethPacket, MacAddress gatewayMac) {
checkArgument(!gatewayMac.equals(MacAddress.NONE));
ARP arpPacket = (ARP) ethPacket.getPayload();
Ip4Address targetIp = Ip4Address.valueOf(arpPacket.getTargetProtocolAddress());
......@@ -132,6 +130,12 @@ public class CordVtnArpProxy {
return;
}
if (gatewayMac.equals(MacAddress.NONE)) {
log.debug("Gateway mac address is not set, ignoring ARP request");
context.block();
return;
}
Ethernet ethReply = ARP.buildArpReply(
targetIp,
gatewayMac,
......
......@@ -57,7 +57,7 @@ public class OpenstackNetworkCodec extends JsonCodec<OpenstackNetwork> {
.id(id);
if (networkInfo.path(NETWORK_TYPE).isMissingNode()) {
log.warn("Network {} has no network type, ignore it.", name);
log.debug("Network {} has no network type, ignore it.", name);
return null;
}
......@@ -65,7 +65,7 @@ public class OpenstackNetworkCodec extends JsonCodec<OpenstackNetwork> {
try {
onb.networkType(OpenstackNetwork.NetworkType.valueOf(networkType.toUpperCase()));
} catch (IllegalArgumentException e) {
log.warn("Network {} has unsupported network type {}, ignore it.",
log.debug("Network {} has unsupported network type {}, ignore it.",
name, networkType);
return null;
}
......