public static Map<String, String> getIpToNetworkList(IProperty[] properties, IControllerServices controllerServices)
			throws Exception
	{

		String value = getValue(controllerServices.getStringPropertyValueByName(properties, IP_TO_NETWORKLIST));

		Map<String, String> ipToNetworkList = new HashMap<String, String>();

		if (value != null)
		{

			String[] list = value.split(",|;");

			if ((list.length % 2) != 0)
			{
				throw new Exception("Error, Ip to Network List must consist of ip and networkid value pairs");
			}

			int i = 0;

			while (i < list.length)
			{
				ipToNetworkList.put(list[i], list[++i]);
				i++;
			}
		}
		return ipToNetworkList;
	}