Skip to content

Commit bc86800

Browse files
author
Sheng Yang
committed
NaaS: Remove Redundant Virtual Router element
Would use capability instead.
1 parent d6d878c commit bc86800

11 files changed

Lines changed: 5 additions & 408 deletions

‎api/src/com/cloud/api/commands/ConfigureRedundantVirtualRouterElementCmd.java‎

Lines changed: 0 additions & 128 deletions
This file was deleted.

‎api/src/com/cloud/api/commands/CreateRedundantVirtualRouterElementCmd.java‎

Lines changed: 0 additions & 112 deletions
This file was deleted.

‎api/src/com/cloud/network/element/RedundantVirtualRouterElementService.java‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎client/tomcatconf/components-premium.xml.in‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<adapter name="NetscalerExternalLoadBalancer" class="com.cloud.network.element.NetscalerExternalLoadBalancerElement"/>
2525
<adapter name="F5ExternalLoadBalancer" class="com.cloud.network.element.F5ExternalLoadBalancerElement"/>
2626
<adapter name="DomainRouter" class="com.cloud.network.element.VirtualRouterElement"/>
27-
<adapter name="RedundantVirtualRouter" class="com.cloud.network.element.RedundantVirtualRouterElement"/>
2827
<adapter name="Ovs" class="com.cloud.network.element.OvsElement"/>
2928
<adapter name="ExternalDhcp" class="com.cloud.network.element.ExternalDhcpElement"/>
3029
<adapter name="BareMetal" class="com.cloud.network.element.BareMetalElement"/>

‎client/tomcatconf/components.xml.in‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
</adapters>
108108

109109
<pluggableservice name="VirtualRouterElementService" key="com.cloud.network.element.VirtualRouterElementService" class="com.cloud.network.element.VirtualRouterElement"/>
110-
<pluggableservice name="RedundantVirtualRouterElementService" key="com.cloud.network.element.RedundantVirtualRouterElementService" class="com.cloud.network.element.RedundantVirtualRouterElement"/>
111110
</management-server>
112111

113112
<configuration-server class="com.cloud.server.ConfigurationServerImpl">

‎client/tomcatconf/virtualrouter_commands.properties.in‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#### router commands
55
createVirtualRouterElement=com.cloud.api.commands.CreateVirtualRouterElementCmd;7
6-
createRedundantVirtualRouterElement=com.cloud.api.commands.CreateRedundantVirtualRouterElementCmd;7
76
configureVirtualRouterElement=com.cloud.api.commands.ConfigureVirtualRouterElementCmd;7
8-
configureRedundantVirtualRouterElement=com.cloud.api.commands.ConfigureRedundantVirtualRouterElementCmd;7

‎server/src/com/cloud/configuration/DefaultComponentLibrary.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@
9090
import com.cloud.network.dao.RemoteAccessVpnDaoImpl;
9191
import com.cloud.network.dao.VirtualRouterProviderDaoImpl;
9292
import com.cloud.network.dao.VpnUserDaoImpl;
93-
import com.cloud.network.element.RedundantVirtualRouterElement;
94-
import com.cloud.network.element.RedundantVirtualRouterElementService;
9593
import com.cloud.network.element.VirtualRouterElement;
9694
import com.cloud.network.element.VirtualRouterElementService;
9795
import com.cloud.network.firewall.FirewallManagerImpl;
@@ -391,7 +389,6 @@ public synchronized Map<Class<?>, Class<?>> getFactories() {
391389

392390
protected void populateServices() {
393391
addService("VirtualRouterElementService", VirtualRouterElementService.class, VirtualRouterElement.class);
394-
addService("RedundantVirtualRouterElementService", RedundantVirtualRouterElementService.class, RedundantVirtualRouterElement.class);
395392
}
396393

397394
@Override

0 commit comments

Comments
 (0)