// Path: Framework/Push-basedManager/CloudAllocator/src/cs/mc/ut/ee/cloud/commons/Utilities.java
// public class Utilities {
// 
// 	public static String deployment = "deployment.properties";
// 	
// 	public static String defaultAttribute = "defaul";
// 	
// 	
// 	public static <T> void iterateList(List<T> list){
// 		Iterator<T> iterator = list.iterator();
// 		
// 		while (iterator.hasNext()){
// 			System.out.println(iterator.next());
// 		}
// 	}
// 	
// 	public static String getIPFromInterface(String ni) throws UnknownHostException, SocketException{
//    	 
// 	    if (ni.equals("lo")){
// 	    	return InetAddress.getLocalHost().getHostAddress();
// 	    }
// 	 
// 	    //other Network interfaces
// 	    Enumeration<NetworkInterface> n = NetworkInterface.getNetworkInterfaces();
// 	    for (; n.hasMoreElements();)
// 	    {
// 	        NetworkInterface e = n.nextElement();
// 	        
// 	        if (e.getDisplayName().equals(ni)){
// 	        	return getIPAddress(e);
// 	        }
// 
// 	        
// 	    }
// 	    
// 	   return null;
// }
// 
//     public static String getIPAddress(NetworkInterface e){
// 	Enumeration<InetAddress> a = e.getInetAddresses();
//     for (; a.hasMoreElements();)
//     {
//     	InetAddress addr = a.nextElement(); //IPv6 
//     	addr = a.nextElement(); //IPv4
//     	
//     	return	addr.getHostAddress();
//     	    	        	
//     }
//     
//     return null;
// }
// 
// 	
// }


import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
import cs.mc.ut.ee.cloud.commons.Utilities;
	
	public int getMinServers(){
		return minServers;
	}
	
	public void setServers(int min){
		minServers = min;
	}
	
	public int getMaxServers(){
		return maxServers;
	}
	
	public void setMaxServers(int max){
		maxServers = max;
	}
	
	public double getCpuLower(){
		return cpuLower;
	}
	
	public void setCpuLower(double lower){
		cpuLower = lower;
	}
	
	public double getCpuUpper(){
		return cpuUpper;
	}
    
	public void setCpuUpper(double upper){
// Path: Framework/Push-basedManager/CloudAllocator/src/cs/mc/ut/ee/cloud/commons/Utilities.java
// public class Utilities {
// 
// 	public static String deployment = "deployment.properties";
// 	
// 	public static String defaultAttribute = "defaul";
// 	
// 	
// 	public static <T> void iterateList(List<T> list){
// 		Iterator<T> iterator = list.iterator();
// 		
// 		while (iterator.hasNext()){
// 			System.out.println(iterator.next());
// 		}
// 	}
// 	
// 	public static String getIPFromInterface(String ni) throws UnknownHostException, SocketException{
//    	 
// 	    if (ni.equals("lo")){
// 	    	return InetAddress.getLocalHost().getHostAddress();
// 	    }
// 	 
// 	    //other Network interfaces
// 	    Enumeration<NetworkInterface> n = NetworkInterface.getNetworkInterfaces();
// 	    for (; n.hasMoreElements();)
// 	    {
// 	        NetworkInterface e = n.nextElement();
// 	        
// 	        if (e.getDisplayName().equals(ni)){
// 	        	return getIPAddress(e);
// 	        }
// 
// 	        
// 	    }
// 	    
// 	   return null;
// }
// 
//     public static String getIPAddress(NetworkInterface e){
// 	Enumeration<InetAddress> a = e.getInetAddresses();
//     for (; a.hasMoreElements();)
//     {
//     	InetAddress addr = a.nextElement(); //IPv6 
//     	addr = a.nextElement(); //IPv4
//     	
//     	return	addr.getHostAddress();
//     	    	        	
//     }
//     
//     return null;
// }
// 
// 	
// }


// Path: Framework/Push-basedManager/CloudAllocator/src/cs/mc/ut/ee/cloud/data/DeploymentResources.java
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
import cs.mc.ut.ee.cloud.commons.Utilities;

	
	public int getMinServers(){
		return minServers;
	}
	
	public void setServers(int min){
		minServers = min;
	}
	
	public int getMaxServers(){
		return maxServers;
	}
	
	public void setMaxServers(int max){
		maxServers = max;
	}
	
	public double getCpuLower(){
		return cpuLower;
	}
	
	public void setCpuLower(double lower){
		cpuLower = lower;
	}
	
	public double getCpuUpper(){
		return cpuUpper;
	}
    
	public void setCpuUpper(double upper){
		cpuUpper = upper;