<commit_before>hone
====

HONE Project
Programmable Host-Network Traffic Management
from Princeton CS. 

Author:
<NAME>

Contributors:
<NAME>, <NAME>, <NAME>

Supervisors:
<NAME>, <NAME>, <NAME>

Dependency:
psutil                         0.6.1
web10g kernel patch            2.6.38
estats userland library        2.0.1

Initial Setup:
1. insert kernel module kpsimple on host machine
    enter honeHostAgent/kpsimple
    sudo make up
2. compile c++ implementation to python modules
    enter honeHostAgent
    ./swig_modules

Notes:
1. start honeController:
    enter honeController directory
    run: python hone_run.py mgmtProgram

2. start honeHostAgent
    remember to go through 'Initial Setup'
    enter honeHostAgent
    python agentRun.py controllerIP controllerPort

3. If running on EC2
    ec2scripts/startHoneAgent finds the EC2 internal IP of hone-controller
    instance, and start Hone agent against it. 

4. log level:
    change log level in honeController/hone_run.py and honeHostAgent/agentRun.py
    All evaluation logs are info level

5. network module:
    first start floodlight controller to control the switches
    honeController/hone_netModule.py contains functions to communicate with FL
<commit_msg>publish ec2 image<commit_after>hone
====

HONE Project
Programmable Host-Network Traffic Management
from Princeton CS. 

Author:
<NAME>

Contributors:
<NAME>, <NAME>, <NAME>

Supervisors:
<NAME>, <NAME>, <NAME>

Public Amazon EC2 AMI:
ami-d92ebab0                   hone-enabled Ubuntu Cloud Image 11.04

Public VirtualBox VM image:
(publish soon)

Dependency:
psutil                         0.6.1
web10g kernel patch            2.6.38
estats userland library        2.0.1

Initial Setup:
1. insert kernel module kpsimple on host machine
    enter honeHostAgent/kpsimple
    sudo make up
2. compile c++ implementation to python modules
    enter honeHostAgent
    ./swig_modules

Notes:
1. start honeController:
    enter honeController directory
    run: python hone_run.py mgmtProgram

2. start honeHostAgent
    remember to go through 'Initial Setup'
    enter honeHostAgent
    python agentRun.py controllerIP controllerPort

3. If running on EC2
    ec2scripts/startHoneAgent finds the EC2 internal IP of hone-controller
    instance, and start Hone agent against it. 

4. log level:
    change log level in honeController/hone_run.py and honeHostAgent/agentRun.py
    All evaluation logs are info level

5. network module:
    first start floodlight controller to control the switches
    honeController/hone_netModule.py contains functions to communicate with FL

{'fraction_non_alphanumeric': 0.055790688726433245, 'fraction_numerical': 0.020392458637937667, 'mean_word_length': 3.3046357615894038, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1231771', 'n_tokens_mistral': 789, 'n_tokens_neox': 730, 'n_words': 290}