Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / PhantomNet / OEPC-Protected / sample-ns / smore-commands

smore-commands

Text file containing SMORE commands to run on the prototype setup.

Plain Text icon smore-commands.txt — Plain Text, 1 KB (1092 bytes)

File contents

#
# SMORE Tutorial commands reference.
#
# Each section (in brackets) shows the node for which the commands should be
# run (in sequence). Keystroke sequences to input appear in quotes.
#

######################################################################
## Commands for confirming basic EPC functionality
##

## [sgw]
sudo /opt/OpenEPC/bin/mme.attach.sh

## [alice - UE]
ping 8.8.8.8
sudo /opt/OpenEPC/bin/mm.attach.sh
mm.connect_L3 LTE
"Ctrl-a d"
ping 8.8.8.8
sudo /opt/OpenEPC/bin/mm.attach.sh
mm.disconnect_L3 LTE
"Ctrl-a d"
ping 8.8.8.8


######################################################################
## Commands for enabling and testing SMORE offloading
##

## [smore (session 1)] 
cd /opt/binary_smore/L2_switch
sudo ./stop L2_switch.sh
cd /opt/binary_smore/smore_sdn
sudo ./start smore_with_controller.sh
cd /opt/binary_smore/smore_sdn/controller
ryu-manager --verbose SMORE_controller

## [smore (session 2)] 
cd /opt/binary_smore/smore_sdn
sudo ./monitor_flow.sh

## [alice - UE]
sudo /opt/OpenEPC/bin/mm.attach.sh
mm.connect_L3 LTE
"Ctrl-a d"
ping 8.8.8.8
ping cloud