You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eff7587
Browse filesBrowse the repository at this point in the historyBrowse files
Alena Prokharchyk
committed
InternalLB: allow domain admin to stop/start internal lb vms
Copy file name to clipboardExpand all lines: plugins/network-elements/internal-loadbalancer/src/org/apache/cloudstack/network/lb/InternalLoadBalancerVMManagerImpl.java
Copy file name to clipboardExpand all lines: plugins/network-elements/internal-loadbalancer/test/org/apache/cloudstack/internallbvmmgr/InternalLBVMServiceTest.java
+11-24Lines changed: 11 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,15 @@
47
47
importcom.cloud.user.AccountManager;
48
48
importcom.cloud.user.AccountVO;
49
49
importcom.cloud.user.User;
50
+
importcom.cloud.user.UserVO;
50
51
importcom.cloud.utils.component.ComponentContext;
51
52
importcom.cloud.vm.DomainRouterVO;
52
53
importcom.cloud.vm.VirtualMachine;
53
54
importcom.cloud.vm.VirtualMachineManager;
54
55
importcom.cloud.vm.dao.DomainRouterDao;
56
+
importcom.cloud.user.UserContext;
57
+
importcom.cloud.user.dao.AccountDao;
58
+
55
59
56
60
/**
57
61
* Set of unittests for InternalLoadBalancerVMService
@@ -70,6 +74,7 @@ public class InternalLBVMServiceTest extends TestCase {
Copy file name to clipboardExpand all lines: plugins/network-elements/internal-loadbalancer/test/org/apache/cloudstack/internallbvmmgr/LbChildTestConfiguration.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@
50
50
importcom.cloud.vm.VirtualMachineManager;
51
51
importcom.cloud.vm.dao.DomainRouterDao;
52
52
importcom.cloud.vm.dao.NicDao;
53
+
importcom.cloud.user.dao.AccountDao;
53
54
54
55
55
56
@Configuration
@@ -161,6 +162,13 @@ public ConfigurationServer configurationServer() {
0 commit comments