mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Sync precommit config from main (#7732)
Co-authored-by: John Bampton <jbampton@users.noreply.github.com> Co-authored-by: dahn <daan@onecht.net>
This commit is contained in:
parent
939ee9e153
commit
594c70dde0
@ -26,17 +26,18 @@ repos:
|
|||||||
- id: identity
|
- id: identity
|
||||||
- id: check-hooks-apply
|
- id: check-hooks-apply
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.1.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
#- id: check-added-large-files
|
#- id: check-added-large-files
|
||||||
#- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
#- id: check-executables-have-shebangs
|
#- id: check-executables-have-shebangs
|
||||||
#- id: check-merge-conflict
|
#- id: check-merge-conflict
|
||||||
#- id: check-vcs-permalinks
|
- id: check-vcs-permalinks
|
||||||
#- id: check-yaml
|
#- id: check-yaml
|
||||||
#- id: detect-private-key
|
#- id: detect-private-key
|
||||||
#- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
files: \.(java|md|py|txt|yaml|yml)$
|
||||||
#- id: fix-byte-order-marker
|
#- id: fix-byte-order-marker
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
files: \.(java|py)$
|
files: \.(java|md|py|txt|yaml|yml)$
|
||||||
# - id: trailing-whitespace
|
# - id: trailing-whitespace
|
||||||
|
|||||||
@ -81,4 +81,4 @@ public class Answer extends Command {
|
|||||||
result1 = 31 * result1 + (details != null ? details.hashCode() : 0);
|
result1 = 31 * result1 + (details != null ? details.hashCode() : 0);
|
||||||
return result1;
|
return result1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -110,4 +110,4 @@ public class DatadiskTO {
|
|||||||
public String getConfiguration() {
|
public String getConfiguration() {
|
||||||
return configuration;
|
return configuration;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -42,4 +42,4 @@ public class DpdkTO {
|
|||||||
public String getMode() {
|
public String getMode() {
|
||||||
return mode;
|
return mode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -61,4 +61,4 @@ public class OVFConfigurationTO implements TemplateDeployAsIsInformationTO {
|
|||||||
public int getIndex() {
|
public int getIndex() {
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -121,4 +121,4 @@ public class OVFNetworkTO implements TemplateDeployAsIsInformationTO {
|
|||||||
public void setNetworkDescription(String networkDescription) {
|
public void setNetworkDescription(String networkDescription) {
|
||||||
this.networkDescription = networkDescription;
|
this.networkDescription = networkDescription;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -368,4 +368,4 @@ public class OVFVirtualHardwareItemTO implements TemplateDeployAsIsInformationTO
|
|||||||
public void setWeight(int weight) {
|
public void setWeight(int weight) {
|
||||||
this.weight = weight;
|
this.weight = weight;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,4 +47,4 @@ public class OVFVirtualHardwareSectionTO implements TemplateDeployAsIsInformatio
|
|||||||
public String getMinimiumHardwareVersion() {
|
public String getMinimiumHardwareVersion() {
|
||||||
return minimiumHardwareVersion;
|
return minimiumHardwareVersion;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,4 +18,4 @@ package com.cloud.deploy;
|
|||||||
|
|
||||||
|
|
||||||
public interface HAPlanner extends DeploymentPlanner {
|
public interface HAPlanner extends DeploymentPlanner {
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,4 +25,4 @@ import com.cloud.network.rules.FirewallRule;
|
|||||||
public interface NetworkRuleApplier {
|
public interface NetworkRuleApplier {
|
||||||
public boolean applyRules(Network network, FirewallRule.Purpose purpose, List<? extends FirewallRule> rules) throws ResourceUnavailableException;
|
public boolean applyRules(Network network, FirewallRule.Purpose purpose, List<? extends FirewallRule> rules) throws ResourceUnavailableException;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,4 +19,4 @@ package com.cloud.network.rules;
|
|||||||
public interface StaticNatRule extends FirewallRule {
|
public interface StaticNatRule extends FirewallRule {
|
||||||
|
|
||||||
String getDestIpAddress();
|
String getDestIpAddress();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -62,4 +62,4 @@ public class DiskOfferingInfo {
|
|||||||
public Long getMaxIops() {
|
public Long getMaxIops() {
|
||||||
return _maxIops;
|
return _maxIops;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -143,4 +143,4 @@ public interface RollingMaintenanceManager extends Configurable {
|
|||||||
*/
|
*/
|
||||||
Ternary<Boolean, String, Pair<List<HostUpdated>, List<HostSkipped>>> startRollingMaintenance(StartRollingMaintenanceCmd cmd);
|
Ternary<Boolean, String, Pair<List<HostUpdated>, List<HostSkipped>>> startRollingMaintenance(StartRollingMaintenanceCmd cmd);
|
||||||
Pair<ResourceType, List<Long>> getResourceTypeIdPair(StartRollingMaintenanceCmd cmd);
|
Pair<ResourceType, List<Long>> getResourceTypeIdPair(StartRollingMaintenanceCmd cmd);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -85,4 +85,4 @@ public interface AffinityGroupProcessor extends Adapter {
|
|||||||
|
|
||||||
void handleDeleteGroup(AffinityGroup group);
|
void handleDeleteGroup(AffinityGroup group);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,4 +22,4 @@ import java.util.List;
|
|||||||
|
|
||||||
public interface PluggableAPIAuthenticator extends Adapter {
|
public interface PluggableAPIAuthenticator extends Adapter {
|
||||||
public List<Class<?>> getAuthCommands();
|
public List<Class<?>> getAuthCommands();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -89,4 +89,4 @@ public class AcquirePodIpCmdByAdmin extends BaseCmd {
|
|||||||
return CallContext.current().getCallingAccount().getAccountId();
|
return CallContext.current().getCallingAccount().getAccountId();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -75,4 +75,4 @@ public class ReleasePodIpCmdByAdmin extends BaseCmd {
|
|||||||
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to release Pod ip ");
|
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to release Pod ip ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -113,5 +113,3 @@ public class UploadTemplateDirectDownloadCertificateCmd extends BaseCmd {
|
|||||||
return CallContext.current().getCallingAccount().getId();
|
return CallContext.current().getCallingAccount().getId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -24,4 +24,3 @@ import org.apache.cloudstack.api.response.TemplateResponse;
|
|||||||
@APICommand(name = "copyTemplate", description = "Copies a template from one zone to another.", responseObject = TemplateResponse.class, responseView = ResponseView.Full,
|
@APICommand(name = "copyTemplate", description = "Copies a template from one zone to another.", responseObject = TemplateResponse.class, responseView = ResponseView.Full,
|
||||||
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
|
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
|
||||||
public class CopyTemplateCmdByAdmin extends CopyTemplateCmd {}
|
public class CopyTemplateCmdByAdmin extends CopyTemplateCmd {}
|
||||||
|
|
||||||
|
|||||||
@ -28,4 +28,4 @@ public interface IListFirewallRulesCmd extends IBaseListTaggedResourcesCmd {
|
|||||||
Long getId();
|
Long getId();
|
||||||
|
|
||||||
Long getNetworkId();
|
Long getNetworkId();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -158,4 +158,4 @@ public class GetUploadParamsForIsoCmd extends AbstractGetUploadParamsCmd {
|
|||||||
}
|
}
|
||||||
return accountId;
|
return accountId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -106,4 +106,4 @@ public class MoveNetworkAclItemCmd extends BaseAsyncCustomIdCmd {
|
|||||||
public ApiCommandResourceType getApiResourceType() {
|
public ApiCommandResourceType getApiResourceType() {
|
||||||
return ApiCommandResourceType.NetworkAclItem;
|
return ApiCommandResourceType.NetworkAclItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -110,4 +110,4 @@ public class AcquirePodIpCmdResponse extends BaseResponse {
|
|||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -57,4 +57,4 @@ public class HostTagResponse extends BaseResponse {
|
|||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -156,4 +156,4 @@ public class ImageStoreResponse extends BaseResponseWithAnnotations {
|
|||||||
public void setDiskSizeUsed(Long diskSizeUsed) {
|
public void setDiskSizeUsed(Long diskSizeUsed) {
|
||||||
this.diskSizeUsed = diskSizeUsed;
|
this.diskSizeUsed = diskSizeUsed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -61,4 +61,4 @@ public class RolePermissionResponse extends BaseRolePermissionResponse {
|
|||||||
public void setRoleName(String roleName) {
|
public void setRoleName(String roleName) {
|
||||||
this.roleName = roleName;
|
this.roleName = roleName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -76,4 +76,4 @@ public class RollingMaintenanceResponse extends BaseResponse {
|
|||||||
public void setSkippedHosts(List<RollingMaintenanceHostSkippedResponse> skippedHosts) {
|
public void setSkippedHosts(List<RollingMaintenanceHostSkippedResponse> skippedHosts) {
|
||||||
this.skippedHosts = skippedHosts;
|
this.skippedHosts = skippedHosts;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -231,4 +231,4 @@ public class SnapshotResponse extends BaseResponseWithTagInformation implements
|
|||||||
public void setVirtualSize(long virtualSize) {
|
public void setVirtualSize(long virtualSize) {
|
||||||
this.virtualSize = virtualSize;
|
this.virtualSize = virtualSize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -144,4 +144,4 @@ public class StatsResponse extends BaseResponse {
|
|||||||
this.diskIopsTotal += diskIo;
|
this.diskIopsTotal += diskIo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -55,4 +55,4 @@ public class UnmanageVMInstanceResponse extends BaseResponse {
|
|||||||
public void setDetails(String details) {
|
public void setDetails(String details) {
|
||||||
this.details = details;
|
this.details = details;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -299,4 +299,4 @@ public class LogContext {
|
|||||||
.append("]")
|
.append("]")
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,4 +30,4 @@ public interface DiagnosticsService {
|
|||||||
Map<String, String> runDiagnosticsCommand(RunDiagnosticsCmd cmd);
|
Map<String, String> runDiagnosticsCommand(RunDiagnosticsCmd cmd);
|
||||||
|
|
||||||
String getDiagnosticsDataCommand(GetDiagnosticsDataCmd getDiagnosticsDataCmd);
|
String getDiagnosticsDataCommand(GetDiagnosticsDataCmd getDiagnosticsDataCmd);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,4 +39,4 @@ public enum DiagnosticsType {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,4 +27,4 @@ public interface DirectDownloadCertificate extends InternalIdentity, Identity {
|
|||||||
Hypervisor.HypervisorType getHypervisorType();
|
Hypervisor.HypervisorType getHypervisorType();
|
||||||
Long getZoneId();
|
Long getZoneId();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,4 +27,4 @@ public interface ManagementServerHostPeer extends InternalIdentity {
|
|||||||
long getPeerRunid();
|
long getPeerRunid();
|
||||||
ManagementServerHost.State getPeerState();
|
ManagementServerHost.State getPeerState();
|
||||||
Date getLastUpdateTime();
|
Date getLastUpdateTime();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,4 +33,4 @@ public interface CertService {
|
|||||||
public List<SslCertResponse> listSslCerts(ListSslCertsCmd listSslCertCmd);
|
public List<SslCertResponse> listSslCerts(ListSslCertsCmd listSslCertCmd);
|
||||||
|
|
||||||
public Certificate parseCertificate(final String cert);
|
public Certificate parseCertificate(final String cert);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,4 +24,4 @@ public interface UnmanageVMService {
|
|||||||
* @return true if the VM is successfully unmanaged, false if not.
|
* @return true if the VM is successfully unmanaged, false if not.
|
||||||
*/
|
*/
|
||||||
boolean unmanageVMInstance(long vmId);
|
boolean unmanageVMInstance(long vmId);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,4 +26,4 @@ public interface UnmanagedVMsManager extends VmImportService, UnmanageVMService,
|
|||||||
ConfigKey<Boolean> UnmanageVMPreserveNic = new ConfigKey<>("Advanced", Boolean.class, "unmanage.vm.preserve.nics", "false",
|
ConfigKey<Boolean> UnmanageVMPreserveNic = new ConfigKey<>("Advanced", Boolean.class, "unmanage.vm.preserve.nics", "false",
|
||||||
"If set to true, do not remove VM nics (and its MAC addresses) when unmanaging a VM, leaving them allocated but not reserved. " +
|
"If set to true, do not remove VM nics (and its MAC addresses) when unmanaging a VM, leaving them allocated but not reserved. " +
|
||||||
"If set to false, nics are removed and MAC addresses can be reassigned", true, ConfigKey.Scope.Zone);
|
"If set to false, nics are removed and MAC addresses can be reassigned", true, ConfigKey.Scope.Zone);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -173,4 +173,4 @@ public class LoadBalancerTOTest {
|
|||||||
List<LoadBalancerTO.AutoScalePolicyTO> policies = vmGroup.getPolicies();
|
List<LoadBalancerTO.AutoScalePolicyTO> policies = vmGroup.getPolicies();
|
||||||
Assert.assertEquals(2, policies.size());
|
Assert.assertEquals(2, policies.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -52,4 +52,4 @@ public class AutoScalePolicyTest {
|
|||||||
public void testInvalidAction() {
|
public void testInvalidAction() {
|
||||||
AutoScalePolicy.Action action = AutoScalePolicy.Action.fromValue("invalid");
|
AutoScalePolicy.Action action = AutoScalePolicy.Action.fromValue("invalid");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -48,4 +48,4 @@ public class AutoScaleVmGroupTest {
|
|||||||
public void testInvalidState() {
|
public void testInvalidState() {
|
||||||
testAutoScaleVmGroupState("invalid");
|
testAutoScaleVmGroupState("invalid");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -97,4 +97,4 @@ public class RoleTypeTest {
|
|||||||
Mockito.when(role.getId()).thenReturn(100L);
|
Mockito.when(role.getId()).thenReturn(100L);
|
||||||
Assert.assertEquals(RoleType.getAccountTypeByRole(role, null), RoleType.Admin.getAccountType());
|
Assert.assertEquals(RoleType.getAccountTypeByRole(role, null), RoleType.Admin.getAccountType());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -95,4 +95,4 @@ public class RuleTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -60,4 +60,4 @@ public class FindStoragePoolsForMigrationCmdTest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -75,4 +75,4 @@ public class UpdateVlanIpRangeCmdTest extends TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,4 +32,4 @@ public class CreateZoneCmdTest {
|
|||||||
ReflectionTestUtils.setField(createZoneCmd, "isEdge", true);
|
ReflectionTestUtils.setField(createZoneCmd, "isEdge", true);
|
||||||
Assert.assertTrue("true value for isedge param value for API should return true", createZoneCmd.isEdge());
|
Assert.assertTrue("true value for isedge param value for API should return true", createZoneCmd.isEdge());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -334,4 +334,4 @@ public class CreateNetworkCmdTest {
|
|||||||
Assert.fail("Should successfully create the network");
|
Assert.fail("Should successfully create the network");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -189,4 +189,4 @@ public class UpdateNetworkCmdTest {
|
|||||||
|
|
||||||
Assert.assertEquals(response, actualResponse);
|
Assert.assertEquals(response, actualResponse);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -43,4 +43,4 @@ public class CreateSnapshotPolicyCmdTest {
|
|||||||
ReflectionTestUtils.setField(createSnapshotPolicyCmd, "tags", tagsParams);
|
ReflectionTestUtils.setField(createSnapshotPolicyCmd, "tags", tagsParams);
|
||||||
Assert.assertEquals(createSnapshotPolicyCmd.getTags(), expectedTags);
|
Assert.assertEquals(createSnapshotPolicyCmd.getTags(), expectedTags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -74,4 +74,3 @@ public class CopyTemplateCmdByAdminTest{
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -72,4 +72,3 @@ public class CopyTemplateCmdTest{
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -162,4 +162,4 @@ public class CreateVPCCmdTest extends TestCase {
|
|||||||
cmd.execute();
|
cmd.execute();
|
||||||
Mockito.verify(_vpcService, Mockito.times(1)).startVpc(Mockito.anyLong(), Mockito.anyBoolean());
|
Mockito.verify(_vpcService, Mockito.times(1)).startVpc(Mockito.anyLong(), Mockito.anyBoolean());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -91,4 +91,4 @@ public class UpdateVPCCmdTest extends TestCase {
|
|||||||
Mockito.anyString(), Mockito.anyBoolean(), Mockito.anyInt());
|
Mockito.anyString(), Mockito.anyBoolean(), Mockito.anyInt());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -132,4 +132,4 @@ public class StatsResponseTest {
|
|||||||
Assert.assertEquals(expectedNetworkKbsWrite, statsResponseMock.networkKbsWrite);
|
Assert.assertEquals(expectedNetworkKbsWrite, statsResponseMock.networkKbsWrite);
|
||||||
Assert.assertEquals(expectedNetworkWrite, statsResponseMock.networkWrite);
|
Assert.assertEquals(expectedNetworkWrite, statsResponseMock.networkWrite);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -80,4 +80,4 @@ public class CallContextTest {
|
|||||||
Assert.assertEquals("current context map should have exactly three entries", 3, currentContext.getContextParameters().size());
|
Assert.assertEquals("current context map should have exactly three entries", 3, currentContext.getContextParameters().size());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -67,4 +67,4 @@ public class CheckRouterAnswer extends Answer {
|
|||||||
public RedundantState getState() {
|
public RedundantState getState() {
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,4 +24,4 @@ public class CleanupPersistentNetworkResourceAnswer extends Answer {
|
|||||||
public CleanupPersistentNetworkResourceAnswer(CleanupPersistentNetworkResourceCommand cmd, boolean success, String result) {
|
public CleanupPersistentNetworkResourceAnswer(CleanupPersistentNetworkResourceCommand cmd, boolean success, String result) {
|
||||||
super(cmd, success, result);
|
super(cmd, success, result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -40,4 +40,4 @@ public class CleanupPersistentNetworkResourceCommand extends Command {
|
|||||||
public boolean executeInSequence() {
|
public boolean executeInSequence() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -40,4 +40,4 @@ public class GetGPUStatsAnswer extends Answer {
|
|||||||
public HashMap<String, HashMap<String, VgpuTypesInfo>> getGroupDetails() {
|
public HashMap<String, HashMap<String, VgpuTypesInfo>> getGroupDetails() {
|
||||||
return groupDetails;
|
return groupDetails;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,4 +73,4 @@ public class GetVmConfigAnswer extends Answer {
|
|||||||
public boolean executeInSequence() {
|
public boolean executeInSequence() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -72,4 +72,4 @@ public class GetVolumeStatsCommand extends Command {
|
|||||||
public String getString() {
|
public String getString() {
|
||||||
return "GetVolumeStatsCommand [volumeUuids=" + volumeUuids + ", poolType=" + poolType + ", poolUuid=" + poolUuid + "]";
|
return "GetVolumeStatsCommand [volumeUuids=" + volumeUuids + ", poolType=" + poolType + ", poolUuid=" + poolUuid + "]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,4 +24,4 @@ public class PrepareUnmanageVMInstanceAnswer extends Answer {
|
|||||||
public PrepareUnmanageVMInstanceAnswer(PrepareUnmanageVMInstanceCommand cmd, boolean result, String details) {
|
public PrepareUnmanageVMInstanceAnswer(PrepareUnmanageVMInstanceCommand cmd, boolean result, String details) {
|
||||||
super(cmd, result, details);
|
super(cmd, result, details);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,4 +36,4 @@ public class PrepareUnmanageVMInstanceCommand extends Command {
|
|||||||
public boolean executeInSequence() {
|
public boolean executeInSequence() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -60,4 +60,4 @@ public class UpdateHostPasswordCommand extends Command {
|
|||||||
public boolean executeInSequence() {
|
public boolean executeInSequence() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -189,4 +189,4 @@ public class VmStatsEntryBase implements VmStats {
|
|||||||
this.entityType = entityType;
|
this.entityType = entityType;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -62,4 +62,4 @@ public class GetAutoScaleMetricsCommand extends Command {
|
|||||||
public boolean executeInSequence() {
|
public boolean executeInSequence() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,4 +41,4 @@ public class GetRouterMonitorResultsCommand extends NetworkElementCommand {
|
|||||||
public boolean shouldValidateBasicTestsOnly() {
|
public boolean shouldValidateBasicTestsOnly() {
|
||||||
return validateBasicTestsOnly;
|
return validateBasicTestsOnly;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,4 +41,3 @@ public class SetPortForwardingRulesCommand extends NetworkElementCommand {
|
|||||||
return rules;
|
return rules;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -131,4 +131,4 @@ public class SiteLoadBalancerConfig {
|
|||||||
return weight;
|
return weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -35,4 +35,4 @@ public class CreateDatadiskTemplateAnswer extends Answer {
|
|||||||
public CreateDatadiskTemplateAnswer(String errMsg) {
|
public CreateDatadiskTemplateAnswer(String errMsg) {
|
||||||
super(null, false, errMsg);
|
super(null, false, errMsg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -74,4 +74,4 @@ public final class CreateDatadiskTemplateCommand extends Command {
|
|||||||
return ReflectionToStringBuilder.toString(this, ToStringStyle.SIMPLE_STYLE);
|
return ReflectionToStringBuilder.toString(this, ToStringStyle.SIMPLE_STYLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,4 +37,4 @@ public class GetDatadisksAnswer extends Answer {
|
|||||||
public GetDatadisksAnswer(String errMsg) {
|
public GetDatadisksAnswer(String errMsg) {
|
||||||
super(null, false, errMsg);
|
super(null, false, errMsg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,4 +45,4 @@ public final class GetDatadisksCommand extends Command {
|
|||||||
public String getConfigurationId() {
|
public String getConfigurationId() {
|
||||||
return configurationId;
|
return configurationId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,4 +47,4 @@ public class MigrateVolumeAnswer extends Answer {
|
|||||||
public String getVolumeChainInfo() {
|
public String getVolumeChainInfo() {
|
||||||
return volumeChain;
|
return volumeChain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -81,4 +81,4 @@ public class VRScripts {
|
|||||||
public static final String VR_UPDATE_INTERFACE_CONFIG = "update_interface_config.sh";
|
public static final String VR_UPDATE_INTERFACE_CONFIG = "update_interface_config.sh";
|
||||||
|
|
||||||
public static final String ROUTER_FILESYSTEM_WRITABLE_CHECK = "filesystem_writable_check.py";
|
public static final String ROUTER_FILESYSTEM_WRITABLE_CHECK = "filesystem_writable_check.py";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,4 +36,4 @@ public class BumpUpPriorityConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return cfg;
|
return cfg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,4 +54,4 @@ public class CreateIpAliasConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -61,4 +61,4 @@ public class DeleteIpAliasConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,4 +46,4 @@ public class DhcpEntryConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,4 +53,4 @@ public class DnsMasqConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -71,4 +71,4 @@ public class LoadBalancerConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,4 +45,4 @@ public class RemoteAccessVpnConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -44,4 +44,4 @@ public class SavePasswordConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -55,4 +55,4 @@ public class SetFirewallRulesConfigItem extends AbstractConfigItemFacade{
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -85,4 +85,4 @@ public class SetGuestNetworkConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -57,4 +57,4 @@ public class SetIpv6FirewallRulesConfigItem extends AbstractConfigItemFacade{
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -79,4 +79,4 @@ public class SetMonitorServiceConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -56,4 +56,4 @@ public class SetPortForwardingRulesConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,4 +30,4 @@ public class SetPortForwardingRulesVpcConfigItem extends SetPortForwardingRulesC
|
|||||||
public List<ConfigItem> generateConfig(final NetworkElementCommand cmd) {
|
public List<ConfigItem> generateConfig(final NetworkElementCommand cmd) {
|
||||||
return super.generateConfig(cmd);
|
return super.generateConfig(cmd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,4 +51,4 @@ public class SetSourceNatConfigItem extends AbstractConfigItemFacade {
|
|||||||
protected List<ConfigItem> generateConfigItems(final ConfigBase configuration) {
|
protected List<ConfigItem> generateConfigItems(final ConfigBase configuration) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,4 +53,4 @@ public class SetStaticNatRulesConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -58,4 +58,4 @@ public class SetStaticRouteConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,4 +46,4 @@ public class Site2SiteVpnConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,4 +45,4 @@ public class VmDataConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,4 +51,4 @@ public class VpnUsersConfigItem extends AbstractConfigItemFacade {
|
|||||||
|
|
||||||
return super.generateConfigItems(configuration);
|
return super.generateConfigItems(configuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -57,4 +57,4 @@ public abstract class AclRule {
|
|||||||
+ "Ingress:icmp:8:-1:192.168.3.0/24:ACCEPT:,"
|
+ "Ingress:icmp:8:-1:192.168.3.0/24:ACCEPT:,"
|
||||||
+ "Ingress:udp:8080:8081:192.168.2.0/24:ACCEPT:,"
|
+ "Ingress:udp:8080:8081:192.168.2.0/24:ACCEPT:,"
|
||||||
+ "Ingress:tcp:22:22:192.168.1.0/24:ACCEPT:,","type":"networkacl"}
|
+ "Ingress:tcp:22:22:192.168.1.0/24:ACCEPT:,","type":"networkacl"}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -39,4 +39,4 @@ public class FirewallRules extends ConfigBase {
|
|||||||
this.rules = rules;
|
this.rules = rules;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -202,4 +202,4 @@ public class GuestNetwork extends ConfigBase {
|
|||||||
public Integer getMtu() {
|
public Integer getMtu() {
|
||||||
return mtu;
|
return mtu;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -101,4 +101,4 @@ public class LoadBalancerRule {
|
|||||||
public void setRouterIp(final String routerIp) {
|
public void setRouterIp(final String routerIp) {
|
||||||
this.routerIp = routerIp;
|
this.routerIp = routerIp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -40,4 +40,4 @@ public class LoadBalancerRules extends ConfigBase {
|
|||||||
public void setRules(final List<LoadBalancerRule> rules) {
|
public void setRules(final List<LoadBalancerRule> rules) {
|
||||||
this.rules = rules;
|
this.rules = rules;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user