mirror of https://github.com/apache/cloudstack.git
removing guest ip address during ip assoc from java layer
This commit is contained in:
parent
e56accb970
commit
0dc959c23f
|
|
@ -1330,11 +1330,6 @@ public abstract class CitrixResourceBase implements ServerResource {
|
|||
args += " -g ";
|
||||
args += vlanGateway;
|
||||
|
||||
if(guestIp!=null){
|
||||
args += " -G ";
|
||||
args += guestIp;
|
||||
}
|
||||
|
||||
String result = callHostPlugin(conn, "vmops", "ipassoc", "args", args);
|
||||
if (result == null || result.isEmpty()) {
|
||||
throw new InternalErrorException("Xen plugin \"ipassoc\" failed.");
|
||||
|
|
|
|||
|
|
@ -1495,9 +1495,6 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
|
|||
String vifMacAddress = ipAddr.getMacAddress();
|
||||
|
||||
String vmGuestAddress = null;
|
||||
if(vmId!=0){
|
||||
vmGuestAddress = _vmDao.findById(vmId).getGuestIpAddress();
|
||||
}
|
||||
|
||||
//Get network rate - required for IpAssoc
|
||||
Network network = _networkMgr.getNetwork(ipAddr.getNetworkId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue