commit | 79dc517edbd4bdaec3d034c16d64b98fae95b699 | [log] [tgz] |
---|---|---|
author | Sangho Shin <sangho@onlab.us> | Thu Oct 23 11:15:12 2014 -0700 |
committer | Sangho Shin <sangho@onlab.us> | Thu Oct 23 11:15:12 2014 -0700 |
tree | 91343b63f644c4b25af79548eab47b2b21e1fc4a | |
parent | 6471d20dd843f3415909373570ac402f85454d35 [diff] |
Call removeGroup instead of removeTunnel when removing tunnel Change-Id: I51bc873ebd4d9ec367400a7e18d196ba22e05ebe
diff --git a/src/main/java/net/onrc/onos/apps/segmentrouting/SegmentRoutingManager.java b/src/main/java/net/onrc/onos/apps/segmentrouting/SegmentRoutingManager.java index e300ee2..f352e43 100644 --- a/src/main/java/net/onrc/onos/apps/segmentrouting/SegmentRoutingManager.java +++ b/src/main/java/net/onrc/onos/apps/segmentrouting/SegmentRoutingManager.java
@@ -1665,7 +1665,7 @@ return false; } else { - sw13.removeTunnel(tunnelId); + sw13.removeGroup(route.getGroupId()); } }