Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

virtual network embedding

Project description

title

virtual network embdding

install method

pip install vne-sim

run method

init code

from VNE_SIM import *

import VNE_SIM.algorithm as alg

SNpath=’topology\sn\sub100-570.txt’

vnrpath=’topology\newr-2000-0-20-0-25’

vnrnumber=2000

timeframe=2000

mysimulation=simulation(5,1000,SNpath,vnrpath,vnrnumber)

define VNE method

def my_vne_alg(vnr,sn):

v2sindex=[[v1,s1],[v2,s2],…] //nodes maping scheme

ve2seindex=[[s1,s2,…],[s1,s2,…],…..] //edges maping scheme

return True|False,v2sindex,ve2seindex

call your algorithm

mysimulation.init(timeframe)

mysimulation.simulation_run(EA_VNR.EA_VNR_alg,EA_VNR.EA_VNR_ALG_NAME)

draw result figure

mysimulation.draw()

zzu@1402

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for VNE_SIM, version 2.74
Filename, size File type Python version Upload date Hashes
Filename, size VNE_SIM-2.74-py3-none-any.whl (12.7 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page