Skip to content

fxingyuan/Virtual-Network-Embedding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

//============================================================================
// Name        : MySimulation
// Author      : LiXing(Framework derived from Mosharaf K Chowdhury)
// Version     : Final
// Copyright   : No
// Description : Virtual Network Embedding and Reconfigration
//============================================================================
##Framework##
1.Vritual Network(VN) and Substrate Network(SN) generator
2.Virtual Network Embedding System
3.Statistic Results
4.GNU Linear Programming Kit
5.MY simulation environment and simulation results

1.VN and SN generator
Source Code: /Network generator
Description: baseed on Linux(Proposal Core Version 2.6.35-32), tools: Gt-itm (Extract from gt-itm.zip)
			def.h
			mkreq.c
			mksub.c
Usage:
	mkreq   <n> <split_r> <link_r> <cpu_r> <topo_r> <maxD> <scale> <dir_name>
	
	Sub.txt
		nodeNum edgeNum
		x           y       cpu
		from        to      bw        dlay
	req.txt
		nodeNum  edgeNum   split  time  duration  topology  maxD
		x          y         cpu  
		from       to        bw    dlay



2.VNE System
Source Code: Sim_code/code/VNE
Description: Microsoft Visual Studio Ultimate 2012 version:11.0.50727.1 RTMREL(C) 2012 Microsoft Corporation.
		main.cpp
		utility.cpp
		simulator.cpp
		def.h
		simulator.h
		utility.h
		thirdparty/boost_1_55_0		//Download from http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.zip/download
		thirdparty/k-shortest-paths
Usage: 
	VNE <sN> <rC> <rD> <oF> <nM> <eM> <fS> <lB> <MT>
Notes:
	<sN>: Substrate network;
    <rC>: total number of requests;
    <rD>: directory containing the requests;
    <oF>: output file to dump the results;
    <nM>: node mapping method (1: GREEDY. 5: D-ViNE 6: R-ViNE 8:VNE-RFD-D 9:VNE-RFD-B 10:VNE-TA(VNE-GRFD & VNR-GRFD)); 
    <eM>: edge mapping method (1: GREEDY. 5: MCF);
    <fS>: whether to ignore (1) or respect(0) VNR's splitting choice [eM must be 5];
    <lB>: load balancing (1: alpha = beta = 1. 0: alpha = beta = residue);
    <MT>: multiplier in the revenue and cost functions;
	<Re>: Reconfiguration ON or OFF (Optional, default: Turn ON);
	
3.Statistic Results
Source Code: Sim_code/code/analysis、statistics
Description: Microsoft Visual Studio Ultimate 2012 version:11.0.50727.1 RTMREL(C) 2012 Microsoft Corporation.
			Matlab 2013a Engine
			analysis/  #count VNE's results#
					def.h
					In_Event.h
					main.cpp
					In_Event.cpp
			statistics/ #Convert .static to .xls(excel file)#
					static2xls.cpp
					static2xls.m(Notes:Add Searchpath into MATLAB Workspace£¬so that MATLAB Engine can find it)
usage:
	analysis.exe <Input Filefolder> <Ourput filefolder> <interval_time>
	static2xls.exe  <Input Filefolder>  <Ourput filefolder>
	
4.GNU Linear Programming Kit
source code:sim_code/glpk-4.45.tar.gz
Usage:
	Build_GLPK_with_VC10.bat
	glpsol.exe (Put into MY_SIM/VNE)
	
5.MY simulation environment and simulation results
	source:	/sim environment    (Extract from sim_environment.zip)
					my_data_request	//Virtual Network Requests
					my_data_result	//VNE simulation results
					my_data_static	//Statistics
					VNE/				//VNE executable program
						Example.cmd  	//Calling VNE.exe、analysis.exe、static2xls.exe
						glpsol.exe		//For solving MIP
						sub-50-25.txt	//substrate network
						Temp_xJ.txt		//Global Bias for GRFD(If you replace substrate network(sub-50-25.txt) with sub-xx-xx.txt, please delete Temp_xJ.txt, and VNE.exe will create a new Temp_xJ.txt for sub-xx-xx.txt)


					

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published