mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Add three more pre-commit checks (#7083)
Co-authored-by: dahn <daan@onecht.net>
This commit is contained in:
parent
1d0762e43a
commit
c2e17310d6
@ -26,17 +26,18 @@ repos:
|
||||
- id: identity
|
||||
- id: check-hooks-apply
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
#- id: check-added-large-files
|
||||
#- id: check-case-conflict
|
||||
- id: check-case-conflict
|
||||
#- id: check-executables-have-shebangs
|
||||
#- id: check-merge-conflict
|
||||
#- id: check-vcs-permalinks
|
||||
- id: check-vcs-permalinks
|
||||
#- id: check-yaml
|
||||
#- 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: mixed-line-ending
|
||||
files: \.(java|py)$
|
||||
files: \.(java|md|py|txt|yaml|yml)$
|
||||
# - id: trailing-whitespace
|
||||
|
||||
@ -107,4 +107,4 @@ public class HttpDirectTemplateDownloader extends DirectTemplateDownloaderImpl {
|
||||
}
|
||||
return new Pair<>(true, getDownloadedFilePath());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,4 +81,4 @@ public class Answer extends Command {
|
||||
result1 = 31 * result1 + (details != null ? details.hashCode() : 0);
|
||||
return result1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -110,4 +110,4 @@ public class DatadiskTO {
|
||||
public String getConfiguration() {
|
||||
return configuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -42,4 +42,4 @@ public class DpdkTO {
|
||||
public String getMode() {
|
||||
return mode;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -61,4 +61,4 @@ public class OVFConfigurationTO implements TemplateDeployAsIsInformationTO {
|
||||
public int getIndex() {
|
||||
return index;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -121,4 +121,4 @@ public class OVFNetworkTO implements TemplateDeployAsIsInformationTO {
|
||||
public void setNetworkDescription(String networkDescription) {
|
||||
this.networkDescription = networkDescription;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -368,4 +368,4 @@ public class OVFVirtualHardwareItemTO implements TemplateDeployAsIsInformationTO
|
||||
public void setWeight(int weight) {
|
||||
this.weight = weight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -47,4 +47,4 @@ public class OVFVirtualHardwareSectionTO implements TemplateDeployAsIsInformatio
|
||||
public String getMinimiumHardwareVersion() {
|
||||
return minimiumHardwareVersion;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,4 +18,4 @@ package com.cloud.deploy;
|
||||
|
||||
|
||||
public interface HAPlanner extends DeploymentPlanner {
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,4 +25,4 @@ import com.cloud.network.rules.FirewallRule;
|
||||
public interface NetworkRuleApplier {
|
||||
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 {
|
||||
|
||||
String getDestIpAddress();
|
||||
}
|
||||
}
|
||||
|
||||
@ -96,4 +96,4 @@ public interface NetworkACLService {
|
||||
* Updates a network item ACL to a new position. This method allows users to inform between which ACLs the given ACL will be placed. Therefore, the 'number' field will be filled out by the system in the best way possible to place the ACL accordingly.
|
||||
*/
|
||||
NetworkACLItem moveNetworkAclRuleToNewPosition(MoveNetworkAclItemCmd moveNetworkAclItemCmd);
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,4 +62,4 @@ public class DiskOfferingInfo {
|
||||
public Long getMaxIops() {
|
||||
return _maxIops;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -143,4 +143,4 @@ public interface RollingMaintenanceManager extends Configurable {
|
||||
*/
|
||||
Ternary<Boolean, String, Pair<List<HostUpdated>, List<HostSkipped>>> startRollingMaintenance(StartRollingMaintenanceCmd cmd);
|
||||
Pair<ResourceType, List<Long>> getResourceTypeIdPair(StartRollingMaintenanceCmd cmd);
|
||||
}
|
||||
}
|
||||
|
||||
@ -85,4 +85,4 @@ public interface AffinityGroupProcessor extends Adapter {
|
||||
|
||||
void handleDeleteGroup(AffinityGroup group);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -22,4 +22,4 @@ import java.util.List;
|
||||
|
||||
public interface PluggableAPIAuthenticator extends Adapter {
|
||||
public List<Class<?>> getAuthCommands();
|
||||
}
|
||||
}
|
||||
|
||||
@ -89,4 +89,4 @@ public class AcquirePodIpCmdByAdmin extends BaseCmd {
|
||||
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 ");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -113,5 +113,3 @@ public class UploadTemplateDirectDownloadCertificateCmd extends BaseCmd {
|
||||
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,
|
||||
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
|
||||
public class CopyTemplateCmdByAdmin extends CopyTemplateCmd {}
|
||||
|
||||
|
||||
@ -28,4 +28,4 @@ public interface IListFirewallRulesCmd extends IBaseListTaggedResourcesCmd {
|
||||
Long getId();
|
||||
|
||||
Long getNetworkId();
|
||||
}
|
||||
}
|
||||
|
||||
@ -158,4 +158,4 @@ public class GetUploadParamsForIsoCmd extends AbstractGetUploadParamsCmd {
|
||||
}
|
||||
return accountId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -106,4 +106,4 @@ public class MoveNetworkAclItemCmd extends BaseAsyncCustomIdCmd {
|
||||
public ApiCommandResourceType getApiResourceType() {
|
||||
return ApiCommandResourceType.NetworkAclItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -110,4 +110,4 @@ public class AcquirePodIpCmdResponse extends BaseResponse {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,4 +57,4 @@ public class HostTagResponse extends BaseResponse {
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -156,4 +156,4 @@ public class ImageStoreResponse extends BaseResponseWithAnnotations {
|
||||
public void setDiskSizeUsed(Long diskSizeUsed) {
|
||||
this.diskSizeUsed = diskSizeUsed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -61,4 +61,4 @@ public class RolePermissionResponse extends BaseRolePermissionResponse {
|
||||
public void setRoleName(String roleName) {
|
||||
this.roleName = roleName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -76,4 +76,4 @@ public class RollingMaintenanceResponse extends BaseResponse {
|
||||
public void setSkippedHosts(List<RollingMaintenanceHostSkippedResponse> skippedHosts) {
|
||||
this.skippedHosts = skippedHosts;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -231,4 +231,4 @@ public class SnapshotResponse extends BaseResponseWithTagInformation implements
|
||||
public void setVirtualSize(long virtualSize) {
|
||||
this.virtualSize = virtualSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -144,4 +144,4 @@ public class StatsResponse extends BaseResponse {
|
||||
this.diskIopsTotal += diskIo;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,4 +55,4 @@ public class UnmanageVMInstanceResponse extends BaseResponse {
|
||||
public void setDetails(String details) {
|
||||
this.details = details;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -299,4 +299,4 @@ public class LogContext {
|
||||
.append("]")
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,4 +30,4 @@ public interface DiagnosticsService {
|
||||
Map<String, String> runDiagnosticsCommand(RunDiagnosticsCmd cmd);
|
||||
|
||||
String getDiagnosticsDataCommand(GetDiagnosticsDataCmd getDiagnosticsDataCmd);
|
||||
}
|
||||
}
|
||||
|
||||
@ -39,4 +39,4 @@ public enum DiagnosticsType {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,4 +27,4 @@ public interface DirectDownloadCertificate extends InternalIdentity, Identity {
|
||||
Hypervisor.HypervisorType getHypervisorType();
|
||||
Long getZoneId();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,4 +27,4 @@ public interface ManagementServerHostPeer extends InternalIdentity {
|
||||
long getPeerRunid();
|
||||
ManagementServerHost.State getPeerState();
|
||||
Date getLastUpdateTime();
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,4 +33,4 @@ public interface CertService {
|
||||
public List<SslCertResponse> listSslCerts(ListSslCertsCmd listSslCertCmd);
|
||||
|
||||
public Certificate parseCertificate(final String cert);
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,4 +24,4 @@ public interface UnmanageVMService {
|
||||
* @return true if the VM is successfully unmanaged, false if not.
|
||||
*/
|
||||
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",
|
||||
"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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -173,4 +173,4 @@ public class LoadBalancerTOTest {
|
||||
List<LoadBalancerTO.AutoScalePolicyTO> policies = vmGroup.getPolicies();
|
||||
Assert.assertEquals(2, policies.size());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -52,4 +52,4 @@ public class AutoScalePolicyTest {
|
||||
public void testInvalidAction() {
|
||||
AutoScalePolicy.Action action = AutoScalePolicy.Action.fromValue("invalid");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,4 +48,4 @@ public class AutoScaleVmGroupTest {
|
||||
public void testInvalidState() {
|
||||
testAutoScaleVmGroupState("invalid");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,4 +97,4 @@ public class RoleTypeTest {
|
||||
Mockito.when(role.getId()).thenReturn(100L);
|
||||
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);
|
||||
Assert.assertTrue("true value for isedge param value for API should return true", createZoneCmd.isEdge());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -302,4 +302,4 @@ public class CreateNetworkCmdTest extends TestCase {
|
||||
Assert.fail("Should successfully create the network");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -173,4 +173,4 @@ public class UpdateNetworkCmdTest extends TestCase {
|
||||
|
||||
Assert.assertEquals(response, actualResponse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -43,4 +43,4 @@ public class CreateSnapshotPolicyCmdTest {
|
||||
ReflectionTestUtils.setField(createSnapshotPolicyCmd, "tags", tagsParams);
|
||||
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();
|
||||
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());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -132,4 +132,4 @@ public class StatsResponseTest {
|
||||
Assert.assertEquals(expectedNetworkKbsWrite, statsResponseMock.networkKbsWrite);
|
||||
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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -67,4 +67,4 @@ public class CheckRouterAnswer extends Answer {
|
||||
public RedundantState getState() {
|
||||
return state;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,4 +24,4 @@ public class CleanupPersistentNetworkResourceAnswer extends Answer {
|
||||
public CleanupPersistentNetworkResourceAnswer(CleanupPersistentNetworkResourceCommand cmd, boolean success, String result) {
|
||||
super(cmd, success, result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,4 +40,4 @@ public class CleanupPersistentNetworkResourceCommand extends Command {
|
||||
public boolean executeInSequence() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,4 +40,4 @@ public class GetGPUStatsAnswer extends Answer {
|
||||
public HashMap<String, HashMap<String, VgpuTypesInfo>> getGroupDetails() {
|
||||
return groupDetails;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -73,4 +73,4 @@ public class GetVmConfigAnswer extends Answer {
|
||||
public boolean executeInSequence() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -72,4 +72,4 @@ public class GetVolumeStatsCommand extends Command {
|
||||
public String getString() {
|
||||
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) {
|
||||
super(cmd, result, details);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,4 +36,4 @@ public class PrepareUnmanageVMInstanceCommand extends Command {
|
||||
public boolean executeInSequence() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -60,4 +60,4 @@ public class UpdateHostPasswordCommand extends Command {
|
||||
public boolean executeInSequence() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -189,4 +189,4 @@ public class VmStatsEntryBase implements VmStats {
|
||||
this.entityType = entityType;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,4 +62,4 @@ public class GetAutoScaleMetricsCommand extends Command {
|
||||
public boolean executeInSequence() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,4 +41,4 @@ public class GetRouterMonitorResultsCommand extends NetworkElementCommand {
|
||||
public boolean shouldValidateBasicTestsOnly() {
|
||||
return validateBasicTestsOnly;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,4 +41,3 @@ public class SetPortForwardingRulesCommand extends NetworkElementCommand {
|
||||
return rules;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -131,4 +131,4 @@ public class SiteLoadBalancerConfig {
|
||||
return weight;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,4 +35,4 @@ public class CreateDatadiskTemplateAnswer extends Answer {
|
||||
public CreateDatadiskTemplateAnswer(String errMsg) {
|
||||
super(null, false, errMsg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -74,4 +74,4 @@ public final class CreateDatadiskTemplateCommand extends Command {
|
||||
return ReflectionToStringBuilder.toString(this, ToStringStyle.SIMPLE_STYLE);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -37,4 +37,4 @@ public class GetDatadisksAnswer extends Answer {
|
||||
public GetDatadisksAnswer(String errMsg) {
|
||||
super(null, false, errMsg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,4 +45,4 @@ public final class GetDatadisksCommand extends Command {
|
||||
public String getConfigurationId() {
|
||||
return configurationId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -47,4 +47,4 @@ public class MigrateVolumeAnswer extends Answer {
|
||||
public String getVolumeChainInfo() {
|
||||
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 ROUTER_FILESYSTEM_WRITABLE_CHECK = "filesystem_writable_check.py";
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,4 +36,4 @@ public class BumpUpPriorityConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return cfg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,4 +54,4 @@ public class CreateIpAliasConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -61,4 +61,4 @@ public class DeleteIpAliasConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,4 +46,4 @@ public class DhcpEntryConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -53,4 +53,4 @@ public class DnsMasqConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -71,4 +71,4 @@ public class LoadBalancerConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,4 +45,4 @@ public class RemoteAccessVpnConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -44,4 +44,4 @@ public class SavePasswordConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,4 +55,4 @@ public class SetFirewallRulesConfigItem extends AbstractConfigItemFacade{
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -85,4 +85,4 @@ public class SetGuestNetworkConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,4 +57,4 @@ public class SetIpv6FirewallRulesConfigItem extends AbstractConfigItemFacade{
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -79,4 +79,4 @@ public class SetMonitorServiceConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -56,4 +56,4 @@ public class SetPortForwardingRulesConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,4 +30,4 @@ public class SetPortForwardingRulesVpcConfigItem extends SetPortForwardingRulesC
|
||||
public List<ConfigItem> generateConfig(final NetworkElementCommand cmd) {
|
||||
return super.generateConfig(cmd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,4 +51,4 @@ public class SetSourceNatConfigItem extends AbstractConfigItemFacade {
|
||||
protected List<ConfigItem> generateConfigItems(final ConfigBase configuration) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -53,4 +53,4 @@ public class SetStaticNatRulesConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -58,4 +58,4 @@ public class SetStaticRouteConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,4 +46,4 @@ public class Site2SiteVpnConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,4 +45,4 @@ public class VmDataConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,4 +51,4 @@ public class VpnUsersConfigItem extends AbstractConfigItemFacade {
|
||||
|
||||
return super.generateConfigItems(configuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,4 +57,4 @@ public abstract class AclRule {
|
||||
+ "Ingress:icmp:8:-1:192.168.3.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"}
|
||||
*/
|
||||
*/
|
||||
|
||||
@ -39,4 +39,4 @@ public class FirewallRules extends ConfigBase {
|
||||
this.rules = rules;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -202,4 +202,4 @@ public class GuestNetwork extends ConfigBase {
|
||||
public Integer getMtu() {
|
||||
return mtu;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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