You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2017/02/21 12:02:35 UTC

[2/4] git commit: updated refs/heads/master to 50147a4

CLOUDSTACK-8737: Removed the missed out-of-band VR reboot code, not required based on persistent VR changes.


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

Branch: refs/heads/master
Commit: 0f35241aade597be8114afff74a0b2de0b91560d
Parents: e02003d
Author: Suresh Kumar Anaparti <su...@accelerite.com>
Authored: Fri Dec 30 15:38:08 2016 +0530
Committer: Suresh Kumar Anaparti <su...@accelerite.com>
Committed: Mon Feb 13 15:07:17 2017 +0530

----------------------------------------------------------------------
 .../VirtualNetworkApplianceManagerImpl.java      | 19 -------------------
 1 file changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0f35241a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
index c8161cc..a959544 100644
--- a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
+++ b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
@@ -2620,25 +2620,6 @@ Configurable, StateListener<VirtualMachine.State, VirtualMachine.Event, VirtualM
         return false;
     }
 
-    protected class RebootTask extends ManagedContextRunnable {
-
-        long _routerId;
-
-        public RebootTask(final long routerId) {
-            _routerId = routerId;
-        }
-
-        @Override
-        protected void runInContext() {
-            try {
-                s_logger.info("Reboot router " + _routerId + " to refresh network rules");
-                rebootRouter(_routerId, true);
-            } catch (final Exception e) {
-                s_logger.warn("Error while rebooting the router", e);
-            }
-        }
-    }
-
     protected boolean aggregationExecution(final AggregationControlCommand.Action action, final Network network, final List<DomainRouterVO> routers)
             throws AgentUnavailableException, ResourceUnavailableException {