Skip to content

Commit 714b5b1

Browse files
committed
Added UT for Site2SiteVpnManagerImpl
1 parent 1e87ade commit 714b5b1

File tree

2 files changed

+923
-3
lines changed

2 files changed

+923
-3
lines changed

server/src/main/java/com/cloud/network/vpn/Site2SiteVpnManagerImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ public class Site2SiteVpnManagerImpl extends ManagerBase implements Site2SiteVpn
9191
public static final ConfigKey<String> VpnCustomerGatewayExcludedEncryptionAlgorithms = new ConfigKey<String>(
9292
ConfigKey.CATEGORY_NETWORK, String.class, "vpn.customer.gateway.excluded.encryption.algorithms", "",
9393
"Comma-separated list of encryption algorithms that are excluded and cannot be selected by end users for VPN Customer Gateways." +
94-
"Applies to both IKE and ESP phases. Allowed values are aes128, aes192 and aes256 and 3des",
94+
"Applies to both IKE and ESP phases. Allowed values are aes128, aes192 and aes256 and 3des.",
9595
true, ConfigKey.Scope.Domain);
9696
public static final ConfigKey<String> VpnCustomerGatewayExcludedHashingAlgorithms = new ConfigKey<String>(
9797
ConfigKey.CATEGORY_NETWORK, String.class, "vpn.customer.gateway.excluded.hashing.algorithms", "",
9898
"Comma-separated list of hashing algorithms that are excluded and cannot be selected by end users for VPN Customer Gateways." +
99-
"Applies to both IKE and ESP phases.Allowed values are sha1, sha256, sha384 and sha512 and md5.",
99+
"Applies to both IKE and ESP phases. Allowed values are sha1, sha256, sha384 and sha512 and md5.",
100100
true, ConfigKey.Scope.Domain);
101101
public static final ConfigKey<String> VpnCustomerGatewayExcludedIkeVersions = new ConfigKey<String>(
102102
ConfigKey.CATEGORY_NETWORK, String.class, "vpn.customer.gateway.excluded.ike.versions", "",
@@ -115,7 +115,7 @@ public class Site2SiteVpnManagerImpl extends ManagerBase implements Site2SiteVpn
115115
public static final ConfigKey<String> VpnCustomerGatewayObsoleteHashingAlgorithms = new ConfigKey<String>(
116116
ConfigKey.CATEGORY_NETWORK, String.class, "vpn.customer.gateway.obsolete.hashing.algorithms", "",
117117
"Comma-separated list of hashing algorithms that are marked as obsolete/insecure for VPN Customer Gateways." +
118-
"Applies to both IKE and ESP phases.Allowed values are sha1, sha256, sha384 and sha512 and md5",
118+
"Applies to both IKE and ESP phases. Allowed values are sha1, sha256, sha384 and sha512 and md5.",
119119
true, ConfigKey.Scope.Domain);
120120
public static final ConfigKey<String> VpnCustomerGatewayObsoleteIkeVersions = new ConfigKey<String>(
121121
ConfigKey.CATEGORY_NETWORK, String.class, "vpn.customer.gateway.obsolete.ike.versions", "",

0 commit comments

Comments
 (0)