Search in sources :

Example 1 with PasswordToRouterRules

use of com.cloud.network.rules.PasswordToRouterRules in project cloudstack by apache.

the class BasicNetworkTopology method savePasswordToRouter.

@Override
public boolean savePasswordToRouter(final Network network, final NicProfile nic, final VirtualMachineProfile profile, final VirtualRouter router) throws ResourceUnavailableException {
    s_logger.debug("SAVE PASSWORD TO ROUTE RULES");
    final String typeString = "save password entry";
    final boolean isPodLevelException = false;
    final boolean failWhenDisconnect = false;
    final Long podId = null;
    final PasswordToRouterRules routerRules = new PasswordToRouterRules(network, nic, profile);
    return applyRules(network, router, typeString, isPodLevelException, podId, failWhenDisconnect, new RuleApplierWrapper<RuleApplier>(routerRules));
}
Also used : RuleApplier(com.cloud.network.rules.RuleApplier) PasswordToRouterRules(com.cloud.network.rules.PasswordToRouterRules)

Aggregations

PasswordToRouterRules (com.cloud.network.rules.PasswordToRouterRules)1 RuleApplier (com.cloud.network.rules.RuleApplier)1