major modifications for v2.0 release
Release notes 1- Cloud server processing was simplified in the initial version, it is handled via cloudsim components now. 2- Cloud server manager, edge server manager, mobile device manager and vm allocation policy are used as abstract class in factory pattern to allow developers to use different business logic without modifying EdgeCloudSim source code. 3- The task and place types are no longer defined as enumeration. They are used as integer value in order to manipulate more place type without modifying enum variable. 4- Two sample applications (one of them is simple and the other one extended application) are added along with the corresponding matlab files to plot statistics. 5- Cloud server properties are added to the simulation settings file 6- New log items are added to simulation result files 7- Code refactoring is applied including the modification of comments
This commit is contained in:
		
							
								
								
									
										55
									
								
								scripts/sample_app1/config/applications.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								scripts/sample_app1/config/applications.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,55 @@
 | 
			
		||||
<?xml version="1.0"?>
 | 
			
		||||
<applications>
 | 
			
		||||
	<application name="AUGMENTED_REALITY">
 | 
			
		||||
		<usage_percentage>30</usage_percentage>
 | 
			
		||||
		<prob_cloud_selection>20</prob_cloud_selection>
 | 
			
		||||
		<poisson_interarrival>5</poisson_interarrival>
 | 
			
		||||
		<active_period>45</active_period>
 | 
			
		||||
		<idle_period>15</idle_period>
 | 
			
		||||
		<data_upload>1500</data_upload>
 | 
			
		||||
		<data_download>25</data_download>
 | 
			
		||||
		<task_length>2000</task_length>
 | 
			
		||||
		<required_core>1</required_core>
 | 
			
		||||
		<vm_utilization_on_edge>20</vm_utilization_on_edge>
 | 
			
		||||
		<vm_utilization_on_cloud>2</vm_utilization_on_cloud>
 | 
			
		||||
	</application>
 | 
			
		||||
	<application name="HEALTH_APP">
 | 
			
		||||
		<usage_percentage>20</usage_percentage>
 | 
			
		||||
		<prob_cloud_selection>20</prob_cloud_selection>
 | 
			
		||||
		<poisson_interarrival>30</poisson_interarrival>
 | 
			
		||||
		<active_period>10</active_period>
 | 
			
		||||
		<idle_period>20</idle_period>
 | 
			
		||||
		<data_upload>1250</data_upload>
 | 
			
		||||
		<data_download>20</data_download>
 | 
			
		||||
		<task_length>400</task_length>
 | 
			
		||||
		<required_core>1</required_core>
 | 
			
		||||
		<vm_utilization_on_edge>5</vm_utilization_on_edge>
 | 
			
		||||
		<vm_utilization_on_cloud>0.5</vm_utilization_on_cloud>
 | 
			
		||||
	</application>
 | 
			
		||||
	<application name="HEAVY_COMP_APP">
 | 
			
		||||
		<usage_percentage>20</usage_percentage>
 | 
			
		||||
		<prob_cloud_selection>40</prob_cloud_selection>
 | 
			
		||||
		<poisson_interarrival>60</poisson_interarrival>
 | 
			
		||||
		<active_period>60</active_period>
 | 
			
		||||
		<idle_period>60</idle_period>
 | 
			
		||||
		<data_upload>2500</data_upload>
 | 
			
		||||
		<data_download>250</data_download>
 | 
			
		||||
		<task_length>3000</task_length>
 | 
			
		||||
		<required_core>1</required_core>
 | 
			
		||||
		<vm_utilization_on_edge>30</vm_utilization_on_edge>
 | 
			
		||||
		<vm_utilization_on_cloud>3</vm_utilization_on_cloud>
 | 
			
		||||
	</application>
 | 
			
		||||
	<application name="INFOTAINMENT_APP">
 | 
			
		||||
		<usage_percentage>30</usage_percentage>
 | 
			
		||||
		<prob_cloud_selection>15</prob_cloud_selection>
 | 
			
		||||
		<poisson_interarrival>7</poisson_interarrival>
 | 
			
		||||
		<active_period>15</active_period>
 | 
			
		||||
		<idle_period>45</idle_period>
 | 
			
		||||
		<data_upload>25</data_upload>
 | 
			
		||||
		<data_download>2000</data_download>
 | 
			
		||||
		<task_length>750</task_length>
 | 
			
		||||
		<required_core>1</required_core>
 | 
			
		||||
		<vm_utilization_on_edge>10</vm_utilization_on_edge>
 | 
			
		||||
		<vm_utilization_on_cloud>1</vm_utilization_on_cloud>
 | 
			
		||||
	</application>
 | 
			
		||||
</applications>
 | 
			
		||||
							
								
								
									
										36
									
								
								scripts/sample_app1/config/default_config.properties
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								scripts/sample_app1/config/default_config.properties
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
#default config file
 | 
			
		||||
simulation_time=30
 | 
			
		||||
warm_up_period=3
 | 
			
		||||
vm_load_check_interval=0.1
 | 
			
		||||
vm_location_check_interval=0.1
 | 
			
		||||
file_log_enabled=true
 | 
			
		||||
deep_file_log_enabled=false
 | 
			
		||||
 | 
			
		||||
min_number_of_mobile_devices=100
 | 
			
		||||
max_number_of_mobile_devices=1000
 | 
			
		||||
mobile_device_counter_size=100
 | 
			
		||||
 | 
			
		||||
wan_propogation_delay=0.1
 | 
			
		||||
lan_internal_delay=0.005
 | 
			
		||||
wlan_bandwidth=200
 | 
			
		||||
wan_bandwidth=15
 | 
			
		||||
gsm_bandwidth=0
 | 
			
		||||
 | 
			
		||||
#all the host on cloud runs on a single datacenter
 | 
			
		||||
number_of_host_on_cloud_datacenter=1
 | 
			
		||||
number_of_vm_on_cloud_host=4
 | 
			
		||||
core_for_cloud_vm=4
 | 
			
		||||
mips_for_cloud_vm=10000
 | 
			
		||||
ram_for_cloud_vm=32000
 | 
			
		||||
storage_for_cloud_vm=1000000
 | 
			
		||||
 | 
			
		||||
#use ',' for multiple values
 | 
			
		||||
orchestrator_policies=NEXT_FIT
 | 
			
		||||
 | 
			
		||||
#use ',' for multiple values
 | 
			
		||||
simulation_scenarios=SINGLE_TIER,TWO_TIER,TWO_TIER_WITH_EO
 | 
			
		||||
 | 
			
		||||
#mean waiting time in seconds
 | 
			
		||||
attractiveness_L1_mean_waiting_time=500
 | 
			
		||||
attractiveness_L2_mean_waiting_time=300
 | 
			
		||||
attractiveness_L3_mean_waiting_time=120
 | 
			
		||||
							
								
								
									
										479
									
								
								scripts/sample_app1/config/edge_devices.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										479
									
								
								scripts/sample_app1/config/edge_devices.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,479 @@
 | 
			
		||||
<?xml version="1.0"?>
 | 
			
		||||
<edge_devices>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>1</x_pos>
 | 
			
		||||
			<y_pos>1</y_pos>
 | 
			
		||||
			<wlan_id>0</wlan_id>
 | 
			
		||||
			<attractiveness>0</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>2</x_pos>
 | 
			
		||||
			<y_pos>2</y_pos>
 | 
			
		||||
			<wlan_id>1</wlan_id>
 | 
			
		||||
			<attractiveness>0</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>3</x_pos>
 | 
			
		||||
			<y_pos>3</y_pos>
 | 
			
		||||
			<wlan_id>2</wlan_id>
 | 
			
		||||
			<attractiveness>1</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>4</x_pos>
 | 
			
		||||
			<y_pos>4</y_pos>
 | 
			
		||||
			<wlan_id>3</wlan_id>
 | 
			
		||||
			<attractiveness>1</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>5</x_pos>
 | 
			
		||||
			<y_pos>5</y_pos>
 | 
			
		||||
			<wlan_id>4</wlan_id>
 | 
			
		||||
			<attractiveness>1</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>6</x_pos>
 | 
			
		||||
			<y_pos>6</y_pos>
 | 
			
		||||
			<wlan_id>5</wlan_id>
 | 
			
		||||
			<attractiveness>1</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>7</x_pos>
 | 
			
		||||
			<y_pos>7</y_pos>
 | 
			
		||||
			<wlan_id>6</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>8</x_pos>
 | 
			
		||||
			<y_pos>8</y_pos>
 | 
			
		||||
			<wlan_id>7</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>9</x_pos>
 | 
			
		||||
			<y_pos>9</y_pos>
 | 
			
		||||
			<wlan_id>8</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>10</x_pos>
 | 
			
		||||
			<y_pos>10</y_pos>
 | 
			
		||||
			<wlan_id>9</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>11</x_pos>
 | 
			
		||||
			<y_pos>11</y_pos>
 | 
			
		||||
			<wlan_id>10</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>12</x_pos>
 | 
			
		||||
			<y_pos>12</y_pos>
 | 
			
		||||
			<wlan_id>11</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>13</x_pos>
 | 
			
		||||
			<y_pos>13</y_pos>
 | 
			
		||||
			<wlan_id>12</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
	<datacenter arch="x86" os="Linux" vmm="Xen">
 | 
			
		||||
		<costPerBw>0.1</costPerBw>
 | 
			
		||||
		<costPerSec>3.0</costPerSec>
 | 
			
		||||
		<costPerMem>0.05</costPerMem>
 | 
			
		||||
		<costPerStorage>0.1</costPerStorage>
 | 
			
		||||
		<location>
 | 
			
		||||
			<x_pos>14</x_pos>
 | 
			
		||||
			<y_pos>14</y_pos>
 | 
			
		||||
			<wlan_id>13</wlan_id>
 | 
			
		||||
			<attractiveness>2</attractiveness>
 | 
			
		||||
		</location>
 | 
			
		||||
		<hosts>
 | 
			
		||||
			<host>
 | 
			
		||||
				<core>8</core>
 | 
			
		||||
				<mips>4000</mips>
 | 
			
		||||
				<ram>8000</ram>
 | 
			
		||||
				<storage>200000</storage>
 | 
			
		||||
				<VMs>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
					<VM vmm="Xen">
 | 
			
		||||
						<core>2</core>
 | 
			
		||||
						<mips>1000</mips>
 | 
			
		||||
						<ram>2000</ram>
 | 
			
		||||
						<storage>50000</storage>
 | 
			
		||||
					</VM>
 | 
			
		||||
				</VMs>
 | 
			
		||||
			</host>
 | 
			
		||||
		</hosts>
 | 
			
		||||
	</datacenter>
 | 
			
		||||
</edge_devices>
 | 
			
		||||
		Reference in New Issue
	
	Block a user