mirror of https://github.com/apache/cloudstack.git
whitespace
Conflicts: server/src/org/apache/cloudstack/network/topology/AdvancedNetworkVisitor.java
This commit is contained in:
parent
d15329679b
commit
c76952b5ff
|
|
@ -56,7 +56,15 @@ public class AdvancedNetworkVisitor extends BasicNetworkVisitor {
|
|||
|
||||
@Override
|
||||
public boolean visit(final DhcpEntryRules dhcp) throws ResourceUnavailableException {
|
||||
return false;
|
||||
final VirtualRouter router = dhcp.getRouter();
|
||||
|
||||
final Commands commands = new Commands(Command.OnError.Stop);
|
||||
final NicVO nicVo = dhcp.getNicVo();
|
||||
final UserVmVO userVM = dhcp.getUserVM();
|
||||
|
||||
dhcp.createDhcpEntryCommand(router, userVM, nicVo, commands);
|
||||
|
||||
return _applianceManager.sendCommandsToRouter(router, commands);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue