bug 13867: Pass hostId instead of external firewall device Id

status 13867: resolved fixed

Reviewed-by: Anthony
This commit is contained in:
Sheng Yang 2012-02-17 15:26:46 -08:00
parent d94189a3d9
commit 4f08afb784
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ public class JuniperSRXExternalFirewallElement extends ExternalFirewallDeviceMan
if (fwDeviceVO == null || !fwDeviceVO.getDeviceName().equalsIgnoreCase(NetworkDevice.JuniperSRXFirewall.getName())) {
throw new InvalidParameterValueException("No SRX firewall device found with ID: " + fwDeviceId);
}
return deleteExternalFirewall(fwDeviceId);
return deleteExternalFirewall(fwDeviceVO.getHostId());
}
@Override