class AAICreateTasks {

    protected void createPlatformNetwork(L3Network network) {
        Platform platform = network.getPlatform();
        if (platform != null) {
            if (Strings.isNullOrEmpty(platform.getPlatformName())) {
                logger.debug("PlatformName is null in input. Skipping create platform...");
            } else {
                List<String> platforms = splitCDL(platform.getPlatformName());
                platforms.stream().forEach(platformName -> aaiNetworkResources
                        .createPlatformAndConnectNetwork(new Platform(platformName), network));
            }
        }
    }

}