package rhogenwizard.sdk.task.liveupdate;

import java.util.Arrays;
import java.util.List;

import rhogenwizard.SysCommandExecutor;
import rhogenwizard.sdk.task.RubyExecTask;

public class PrintSubnetsTask extends RubyExecTask 
{
	public PrintSubnetsTask(String workDir)
	{
		super(workDir, SysCommandExecutor.RUBY_BAT, "rake", "dev:network:list");
	}
	
	public List<String> getSubnets()
	{
		String out = getOutput();
		
		List<String> subnetsList = Arrays.asList(out.split(";"));
		
		return subnetsList;
	}
} 

@@ -415,16 +415,62 @@
 t();%0A%09%09%0A
+%09%09out = out.replaceAll(%22%5C%5Cp%7BCntrl%7D%22, %22%22);  %0A%09%0A
 %09%09List%3CS

fix EMBPD00165908