commit | 45f4815be049ede1a6af2c5fd2d0a38ade93307c | [log] [tgz] |
---|---|---|
author | Saurav Das <sauravdas@alumni.stanford.edu> | Thu Jan 18 12:07:33 2018 -0800 |
committer | Charles Chan <charles@opennetworking.org> | Fri Jan 19 18:30:10 2018 +0000 |
tree | de6cfbdf444853caaddf7237530ab1986b259ff8 | |
parent | 7b332f168fbba799e4fe69416ff8216abdabe2dc [diff] [blame] |
Take down edge ports on a leaf switch when all uplinks are gone - Bug fix for case when all uplinks are gone, but dual-homed host continues to send packets to switch; We now administratively take down the host port to force the host to use the other leaf in the pair. - Restructured SR manager by creating a LinkHandler - fixed/added some log messages Change-Id: I3722cd364dc8798b16891519bec165627e92bd87
diff --git a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingNeighbourDispatcher.java b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingNeighbourDispatcher.java index cc815da..f170fae 100644 --- a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingNeighbourDispatcher.java +++ b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingNeighbourDispatcher.java
@@ -42,7 +42,8 @@ @Override public void handleMessage(NeighbourMessageContext context, HostService hostService) { - log.trace("Received a {} packet {}", context.protocol(), context.packet()); + log.trace("Received {} packet on {}: {}", context.protocol(), + context.inPort(), context.packet()); switch (context.protocol()) { case ARP: if (this.manager.arpHandler != null) {