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 f67af1d1a2
commit eaeac8809e
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