[CORD-520] IPv6 routing
Changes:
- Adds support for IPv6 host routing in the fabric;
Change-Id: I07369500de48f0945f09a5a1e8ab4c98be37978e
diff --git a/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java b/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
index 6694aea..1316285 100644
--- a/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
+++ b/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
@@ -656,6 +656,7 @@
log.warn("{} - we are still receiving ARP packets from {}",
context.inPacket().receivedFrom());
log.debug("{}", ethernet);
+ return;
} else if (ethernet.getEtherType() == Ethernet.TYPE_IPV4) {
IPv4 ipv4Packet = (IPv4) ethernet.getPayload();
//ipHandler.addToPacketBuffer(ipv4Packet);
@@ -664,7 +665,7 @@
} else {
// NOTE: We don't support IP learning at this moment so this
// is not necessary. Also it causes duplication of DHCP packets.
- // ipHandler.processPacketIn(pkt);
+ // ipHandler.processPacketIn(ipv4Packet, pkt.receivedFrom());
}
} else if (ethernet.getEtherType() == Ethernet.TYPE_IPV6) {
IPv6 ipv6Packet = (IPv6) ethernet.getPayload();