mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ssvm: synchorise when adding iptables and routing rules (#6942)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> Co-authored-by: dahn <daan.hoogland@gmail.com>
This commit is contained in:
parent
df96af3de4
commit
a85973a0ca
@ -2225,7 +2225,13 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String allowOutgoingOnPrivate(String destCidr) {
|
/**
|
||||||
|
* allow *only one* setting of an outgoing destination at a time
|
||||||
|
*
|
||||||
|
* @destCidr the destination network that will be allowed for outgoing traffic.
|
||||||
|
* @return any error message that might be helpful or <null> on success or when called anywhere but in the router VM.
|
||||||
|
*/
|
||||||
|
public synchronized String allowOutgoingOnPrivate(String destCidr) {
|
||||||
if (!_inSystemVM) {
|
if (!_inSystemVM) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user