File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Switcher and Router
2+ This folder is the source code for the Switcher and Routers.
3+
4+ ## Installation
5+ ```
6+ npm install
7+
8+ # Start the Switcher
9+ npm run switcher
10+
11+ # Start a Router (can start as many as you want)
12+ npm run router
13+ ```
14+ ## Dockerising the Switcher
15+ ![ Dockerfile] ( ../Assets/Dockerfile.png )
16+
17+ ```
18+ # Build the Docker image
19+ docker build -t dermot/openflow:1.0 .
20+
21+ # Run the Docker image inside a container
22+ docker run -it --rm --name openflow -p 51510:51510 dermot/openflow:1.0
23+ ```
24+
25+ ## Switcher
26+ The Switcher is a NodeJS application that listens on port 51510 for OpenFlow messages.
27+
28+ ## Router
29+ The Router is a NodeJS application that can be started as many different processes to create multiple OpenFlow layers that connect together.
You can’t perform that action at this time.
0 commit comments