Wi-Cache-Agent, W-Cache APs

Wi-Cache-Agent runs alongside the Odin agent on Wi-Cache APs. Currently the WiFi AP that is used as Wi-Cache AP is

It runs on OpenWrt. The detailed instruction on building the OpeWrt for the WiFi AP is provided here: Build Odin AP OpenWrt

Also, to build the Odin agent follow the instructions provided here: Build Odin agent

To build and run Wi-Cache-Agent (CacheAgentMain.cpp, CacheAgentMain.h) using eclipse, following the instructions provided here (eclipse-openwrt)

To run the Wi-Cache-Agent, Odin agent, run the scripts provided in scripts_start_ap_Wi-Cache on the Wi-Cache AP. An example scripts that can be run on two different Wi-Cache APs with IP addresses 192.168.1.10 and 192.168.1.12 are provided for reference.

Run the scripts in the following order.

  1. flow.sh (This adds the necessary flows on the vSwitch, should be adapted for the MACs of the clients)
  2. start.sh (This makes additional configurations and start the Click router and WiCacheAP)

Photo of our setup with 2 Wi-Cache APs

Setup with 2 TP-Link AC1750 v2 (Archer C7) routers