Permalink
Switch branches/tags
Nothing to show
Commits on Oct 7, 2014
  1. Merge pull request #42 from amotoki/shorten-slice-db-reloading

    amotoki committed Oct 7, 2014
    Reduce SLICE_DB_UPDATE_INTERVAL to 5 sec
  2. Reduce SLICE_DB_UPDATE_INTERVAL to 5 sec

    amotoki committed Oct 7, 2014
    SLICE_DB_UPDATE_INTERVAL 30 sec is too long if slice members
    are maintained by an automated system like IaaS infrastructure.
    This commit is just a work-around, and ideally slice db reloading
    should be done more inteligently like inotifiy.
    
    Also reduces FILTER_DB_UPDATE_INTERVAL to 5 sec.
  3. Merge pull request #38 from rascov/fix_simple_restapi_manager

    amotoki committed Oct 7, 2014
    Return false when REST server fails to start
Commits on Aug 13, 2014
Commits on Aug 12, 2014
  1. Merge pull request #40 from amotoki/fix-39

    amotoki committed Aug 12, 2014
    Use hex() instead of oct() in Sliceable Switch Filter.pm
  2. Merge pull request #41 from amotoki/plack-sliceable-api

    amotoki committed Aug 12, 2014
    Add Sliceable Switch REST API independent from Apache httpd
Commits on Aug 11, 2014
  1. Use hex() instead of oct() in Sliceable Switch Filter.pm

    amotoki committed Aug 11, 2014
    oct() in Perl 5.18.2 on Ubuntu 14.04 does not accept a value
    with non-octal integer for a case where the value is not intepreted
    as hexdecimal. If a deciaml integer is passed to oct(), it is regarded
    as a string and an expression like oct(4194303) results in NaN.
    As a result, the default filter entry inserted by create_tables.sh
    does not have a correct value. This completely Sliceable Switch
    behavior completely because all traffic will be dropped.
    
    This commit replaces oct() with hex().
    hex() is more robust for input integers compared to oct().
    
    Fixes #39
Commits on Jul 24, 2014
Commits on Dec 11, 2013
Commits on Oct 4, 2013
Commits on Oct 3, 2013
  1. Add Travis CI badge.

    yasuhito committed Oct 3, 2013
  2. Setup Travis CI.

    yasuhito committed Oct 3, 2013
Commits on Aug 13, 2013
Commits on Aug 9, 2013
  1. refactoring learning_switch

    sugyo committed Aug 9, 2013
Commits on Aug 7, 2013
  1. refactoring learning_switch

    sugyo committed Aug 7, 2013
    - add debug message
    - add created_at into fdb
  2. refactoring learning_switch

    sugyo committed Aug 7, 2013
Commits on Aug 6, 2013
  1. multiple flow tables example

    sugyo committed Aug 6, 2013
    build:
      cd /somewhere/apps/learning_switch_edged
      make TREMA_CONFIG=/somewhere/trema-edge/trema-config
      cd /somewhere/apps/flow_dumper/flow_dumper
      make TREMA_CONFIG=/somewhere/trema-edge/trema-config
    run:
      ./trema run ../../apps/learning_switch_edged/learning_switch -c ../../apps/learning_switch_edged/learning_switch.conf -d
      ./trema send_packets -s host1 -d host2
      ./trema send_packets -s host2 -d host1
      ./trema run /somewhere/apps/flow_dumper/flow_dumper
  2. fix a log message

    sugyo committed Aug 6, 2013
Commits on Jul 30, 2013
  1. refactoring show_description

    sugyo committed Jul 30, 2013
  2. fix show_description.c to support trema-edge

    sugyo committed Jul 30, 2013
    Build:
      cd /somewhere/apps/show_description
      make TREMA_CONFIG=/somewhere/trema-edge/trema-config
    Example:
      cd /somewhere/trema-edge
      ./trema run src/examples/learning_switch/learning-switch.rb -c src/examples/learning_switch/sample.conf -d
      ./trema run /somewhere/apps/show_description/show_description
Commits on Jul 29, 2013
  1. fix flow_dumper.c to support trema-edge

    sugyo committed Jul 29, 2013
    Build flow_dumper for trema-edge
      make TREMA_CONFIG=/somewhere/trema-edge/trema-config
    
    How to use?
      cd /somewhere/trema-edge
      ./trema run src/examples/learning_switch/learning-switch.rb -c src/examples/learning_switch/sample.conf -d
      ./trema run /somewhere/apps/flow_dumper/flow_dumper