use of com.cloud.agent.resource.virtualnetwork.facade.AbstractConfigItemFacade in project cloudstack by apache.
the class VirtualRoutingResource method generateCommandCfg.
private List<ConfigItem> generateCommandCfg(NetworkElementCommand cmd) {
/*
* [TODO] Still have to migrate LoadBalancerConfigCommand and BumpUpPriorityCommand
* [FIXME] Have a look at SetSourceNatConfigItem
*/
s_logger.debug("Transforming " + cmd.getClass().getCanonicalName() + " to ConfigItems");
final AbstractConfigItemFacade configItemFacade = AbstractConfigItemFacade.getInstance(cmd.getClass());
return configItemFacade.generateConfig(cmd);
}
Aggregations