126127128129130131132
return new ExecutionResult(true, null); } @Override public ExecutionResult cleanupCommand(NetworkElementCommand cmd) { return new ExecutionResult(true, null); }
313314315316317318319
private ExecutionResult prepareNetworkElementCommand(IpAssocCommand cmd) { IpAddressTO[] ips = cmd.getIpAddresses(); for (IpAddressTO ip : ips) { ip.setNicDevId(2); } return new ExecutionResult(true, null); }
346347348349350351352
private ExecutionResult prepareNetworkElementCommand(IpAssocVpcCommand cmd) { IpAddressTO[] ips = cmd.getIpAddresses(); for (IpAddressTO ip : ips) { ip.setNicDevId(2); } return new ExecutionResult(true, null); }
418419420421422423424
} private ExecutionResult prepareNetworkElementCommand(SetSourceNatCommand cmd) { IpAddressTO ip = cmd.getIpAddress(); ip.setNicDevId(1); return new ExecutionResult(true, null); }
485486487488489490491
} private ExecutionResult prepareNetworkElementCommand(SetNetworkACLCommand cmd) { NicTO nic = cmd.getNic(); nic.setDeviceId(3); return new ExecutionResult(true, null); }
498499500501502503504
} private ExecutionResult prepareNetworkElementCommand(SetupGuestNetworkCommand cmd) { NicTO nic = cmd.getNic(); nic.setDeviceId(4); return new ExecutionResult(true, null); }