Coder Social home page Coder Social logo

pengxiaoywan / crosscloudvnfsimulation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pmassonet/crosscloudvnfsimulation

0.0 0.0 0.0 31 KB

simulation of service function chaining accross several clouds in a network federation

License: MIT License

Python 100.00%

crosscloudvnfsimulation's Introduction

Cross Cloud VNF Simulation

The  simulator has two folders:
- FederatedSDNSecurity: this folder contains the service manifest (YAML1.txt and YAML2.txt) and the generator. The file main.py reads the service manifest and generates the VNF and SFC code for each of the clouds in the network federation in the folder .
- GeneratedCode: contains the code that is generated by main.py

To run the generation: go to folder FederatedSDNSecurity and execute main.py and hit enter when prompted to step through the code generation process.

To run the simulation: go to folder GeneratedCode and start the VNF in a new shell (process): start-VNF-LISTENER_1_from_2.py, start-VNF-LISTENER_2_from_1.py, start-VNF-LISTENER_1_from_3.py and start-VNF-LISTENER_3_from_1.py.
the simulation should be run in two phases: first create a federated network and associated security VNF between cloud 1 and cloud 2 by executing start-VNF-LISTENER_1_from_2.py and start-VNF-LISTENER_2_from_1.py in separate shells. This creates a socket connection between the two processes, configures the VNF and simulates some traffic between cloud1 and cloud2. In a second phase the federation is extended from cloud1 to cloud3. To simulate this execute start-VNF-LISTENER_1_from_3.py and start-VNF-LISTENER_3_from_1.py in separate shells. This will create a socket between cloud1 and cloud3 and will simulate traffic between the two clouds. The traffic is routed to encryption and decryption VNF. The private key is used to encrypt the traffic with OpenSSL and the public key is used to decrypt the traffic with OpenSSL. 

crosscloudvnfsimulation's People

Contributors

pmassonet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.