cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to 3fd35dd
Date Wed, 19 Aug 2015 16:13:42 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master b913c881a -> 3fd35dd4a


CLOUDSTACK-8749: KVM - cleanup linklocal interface based on names

This tries to avoid cleaning by a device name.

This closes #718

(cherry picked from commit 74f697a2dd6e2630fa1fa5949e41c7d539015fbf)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3fd35dd4
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3fd35dd4
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3fd35dd4

Branch: refs/heads/master
Commit: 3fd35dd4a7bc16e83d09077418739e85050b3eed
Parents: b913c88
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Wed Aug 19 15:38:31 2015 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Wed Aug 19 21:43:24 2015 +0530

----------------------------------------------------------------------
 .../kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3fd35dd4/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
index aaf75ff..dbc079d 100644
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
@@ -287,7 +287,7 @@ public class BridgeVifDriver extends VifDriverBase {
             for (String line : lines) {
                 String[] tokens = line.split(" ");
                 if (!tokens[2].equalsIgnoreCase(linkLocalBr)) {
-                    Script.runSimpleBashScript("ip route del " + NetUtils.getLinkLocalCIDR());
+                    Script.runSimpleBashScript("ip route del " + NetUtils.getLinkLocalCIDR()
+ " dev " + tokens[2]);
                 } else {
                     foundLinkLocalBr = true;
                 }


Mime
View raw message