trema 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/Rantfile +1 -3
- data/bin/quality +1 -1
- data/bin/trema +1 -1
- data/bin/trema-config +1 -1
- data/build.rb +1 -3
- data/cruise.rb +1 -1
- data/features/step_definitions/misc_steps.rb +1 -1
- data/features/step_definitions/send_packets_steps.rb +1 -1
- data/features/step_definitions/stats_steps.rb +1 -1
- data/features/support/env.rb +1 -3
- data/features/support/hooks.rb +1 -1
- data/ruby/blocker.rb +1 -3
- data/ruby/extconf.rb +1 -3
- data/ruby/sub-process.rb +1 -3
- data/ruby/trema/action-common.c +1 -1
- data/ruby/trema/action-common.h +1 -1
- data/ruby/trema/action.rb +1 -1
- data/ruby/trema/aggregate-stats-reply.rb +1 -3
- data/ruby/trema/app.rb +1 -3
- data/ruby/trema/barrier-reply.c +1 -1
- data/ruby/trema/barrier-reply.h +1 -3
- data/ruby/trema/barrier-request.c +1 -1
- data/ruby/trema/barrier-request.h +1 -3
- data/ruby/trema/cli.rb +1 -3
- data/ruby/trema/command/dump_flows.rb +1 -1
- data/ruby/trema/command/kill.rb +1 -1
- data/ruby/trema/command/killall.rb +1 -1
- data/ruby/trema/command/netns.rb +1 -1
- data/ruby/trema/command/port_down.rb +1 -1
- data/ruby/trema/command/port_up.rb +1 -1
- data/ruby/trema/command/reset_stats.rb +1 -1
- data/ruby/trema/command/ruby.rb +1 -1
- data/ruby/trema/command/run.rb +1 -1
- data/ruby/trema/command/send_packets.rb +1 -1
- data/ruby/trema/command/shell.rb +1 -3
- data/ruby/trema/command/show_stats.rb +1 -1
- data/ruby/trema/command/up.rb +1 -1
- data/ruby/trema/command/version.rb +1 -1
- data/ruby/trema/command.rb +1 -1
- data/ruby/trema/controller.c +1 -1
- data/ruby/trema/controller.h +1 -3
- data/ruby/trema/controller.rb +1 -1
- data/ruby/trema/daemon.rb +1 -3
- data/ruby/trema/desc-stats-reply.rb +1 -3
- data/ruby/trema/dsl/configuration.rb +1 -3
- data/ruby/trema/dsl/context.rb +1 -3
- data/ruby/trema/dsl/link.rb +1 -3
- data/ruby/trema/dsl/netns.rb +1 -1
- data/ruby/trema/dsl/parser.rb +1 -3
- data/ruby/trema/dsl/rswitch.rb +1 -1
- data/ruby/trema/dsl/run.rb +1 -3
- data/ruby/trema/dsl/runner.rb +1 -3
- data/ruby/trema/dsl/stanza.rb +1 -3
- data/ruby/trema/dsl/switch.rb +1 -3
- data/ruby/trema/dsl/syntax-error.rb +1 -3
- data/ruby/trema/dsl/syntax.rb +1 -3
- data/ruby/trema/dsl/vhost.rb +1 -3
- data/ruby/trema/dsl/vswitch.rb +1 -3
- data/ruby/trema/dsl.rb +1 -3
- data/ruby/trema/echo-reply.c +1 -1
- data/ruby/trema/echo-reply.h +1 -1
- data/ruby/trema/echo-request.c +1 -1
- data/ruby/trema/echo-request.h +1 -1
- data/ruby/trema/echo.c +1 -1
- data/ruby/trema/echo.h +1 -1
- data/ruby/trema/enqueue.rb +1 -1
- data/ruby/trema/error.c +1 -1
- data/ruby/trema/error.h +1 -1
- data/ruby/trema/exact-match.rb +1 -3
- data/ruby/trema/executables.rb +1 -3
- data/ruby/trema/features-reply.c +1 -1
- data/ruby/trema/features-reply.h +1 -1
- data/ruby/trema/features-request.c +1 -1
- data/ruby/trema/features-request.h +1 -1
- data/ruby/trema/flow-mod.c +1 -1
- data/ruby/trema/flow-mod.h +1 -1
- data/ruby/trema/flow-removed.c +1 -3
- data/ruby/trema/flow-removed.h +1 -3
- data/ruby/trema/flow-stats-reply.rb +1 -1
- data/ruby/trema/flow.rb +1 -3
- data/ruby/trema/get-config-reply.c +1 -1
- data/ruby/trema/get-config-reply.h +1 -3
- data/ruby/trema/get-config-request.c +1 -1
- data/ruby/trema/get-config-request.h +1 -3
- data/ruby/trema/hardware-switch.rb +1 -3
- data/ruby/trema/hello.c +1 -1
- data/ruby/trema/hello.h +1 -1
- data/ruby/trema/host.rb +1 -3
- data/ruby/trema/ip.rb +1 -1
- data/ruby/trema/link.rb +1 -3
- data/ruby/trema/list-switches-reply.c +1 -3
- data/ruby/trema/list-switches-reply.h +1 -3
- data/ruby/trema/logger.c +1 -3
- data/ruby/trema/logger.h +1 -3
- data/ruby/trema/logger.rb +1 -1
- data/ruby/trema/mac.rb +1 -1
- data/ruby/trema/match.c +1 -1
- data/ruby/trema/match.h +1 -3
- data/ruby/trema/monkey-patch/integer/base-conversions.rb +1 -3
- data/ruby/trema/monkey-patch/integer/ranges.rb +1 -1
- data/ruby/trema/monkey-patch/integer.rb +1 -3
- data/ruby/trema/monkey-patch/module/class-method.rb +1 -3
- data/ruby/trema/monkey-patch/module/deprecation.rb +1 -1
- data/ruby/trema/monkey-patch/module.rb +1 -3
- data/ruby/trema/monkey-patch/string/inflectors.rb +1 -3
- data/ruby/trema/monkey-patch/string.rb +1 -3
- data/ruby/trema/netns.rb +1 -1
- data/ruby/trema/network-component.rb +1 -3
- data/ruby/trema/ofctl.rb +1 -3
- data/ruby/trema/open-vswitch.rb +1 -3
- data/ruby/trema/openflow-error.c +1 -1
- data/ruby/trema/openflow-error.h +1 -3
- data/ruby/trema/openflow-switch.rb +1 -3
- data/ruby/trema/ordered-hash.rb +1 -1
- data/ruby/trema/packet-in.c +1 -1
- data/ruby/trema/packet-in.h +1 -1
- data/ruby/trema/packet-queue.rb +1 -3
- data/ruby/trema/packetin-filter.rb +1 -3
- data/ruby/trema/path.rb +1 -3
- data/ruby/trema/phost.rb +1 -3
- data/ruby/trema/port-mod.c +1 -1
- data/ruby/trema/port-mod.h +1 -3
- data/ruby/trema/port-stats-reply.rb +1 -3
- data/ruby/trema/port-status-add.rb +1 -1
- data/ruby/trema/port-status-delete.rb +1 -1
- data/ruby/trema/port-status-modify.rb +1 -1
- data/ruby/trema/port-status.c +1 -3
- data/ruby/trema/port-status.h +1 -3
- data/ruby/trema/port.c +1 -3
- data/ruby/trema/port.h +1 -3
- data/ruby/trema/process.rb +1 -3
- data/ruby/trema/queue-get-config-reply.c +1 -1
- data/ruby/trema/queue-get-config-reply.h +1 -3
- data/ruby/trema/queue-get-config-request.c +1 -3
- data/ruby/trema/queue-get-config-request.h +1 -3
- data/ruby/trema/queue-stats-reply.rb +1 -1
- data/ruby/trema/ruby-switch.rb +1 -1
- data/ruby/trema/send-out-port.rb +1 -1
- data/ruby/trema/set-config.c +1 -1
- data/ruby/trema/set-config.h +1 -3
- data/ruby/trema/set-eth-addr.rb +1 -1
- data/ruby/trema/set-eth-dst-addr.rb +1 -1
- data/ruby/trema/set-eth-src-addr.rb +1 -1
- data/ruby/trema/set-ip-addr.rb +1 -1
- data/ruby/trema/set-ip-dst-addr.rb +1 -1
- data/ruby/trema/set-ip-src-addr.rb +1 -1
- data/ruby/trema/set-ip-tos.rb +1 -1
- data/ruby/trema/set-transport-dst-port.rb +1 -1
- data/ruby/trema/set-transport-port.rb +1 -1
- data/ruby/trema/set-transport-src-port.rb +1 -1
- data/ruby/trema/set-vlan-priority.rb +1 -1
- data/ruby/trema/set-vlan-vid.rb +1 -1
- data/ruby/trema/shell/down.rb +1 -3
- data/ruby/trema/shell/killall.rb +1 -3
- data/ruby/trema/shell/link.rb +1 -3
- data/ruby/trema/shell/reset_stats.rb +1 -3
- data/ruby/trema/shell/run.rb +1 -3
- data/ruby/trema/shell/send_packets.rb +1 -3
- data/ruby/trema/shell/show_stats.rb +1 -3
- data/ruby/trema/shell/up.rb +1 -3
- data/ruby/trema/shell/vhost.rb +1 -3
- data/ruby/trema/shell/vswitch.rb +1 -3
- data/ruby/trema/shell.rb +1 -3
- data/ruby/trema/stats-helper.rb +1 -3
- data/ruby/trema/stats-reply.c +1 -3
- data/ruby/trema/stats-reply.h +1 -3
- data/ruby/trema/stats-request.c +1 -3
- data/ruby/trema/stats-request.h +1 -3
- data/ruby/trema/strip-vlan-header.rb +1 -1
- data/ruby/trema/switch-daemon.rb +1 -1
- data/ruby/trema/switch-disconnected.c +1 -3
- data/ruby/trema/switch-disconnected.h +1 -3
- data/ruby/trema/switch-manager.rb +1 -3
- data/ruby/trema/switch.c +1 -1
- data/ruby/trema/switch.h +1 -1
- data/ruby/trema/switch.rb +1 -1
- data/ruby/trema/table-stats-reply.rb +1 -3
- data/ruby/trema/timers.rb +1 -3
- data/ruby/trema/trema-ruby-utils.c +1 -1
- data/ruby/trema/trema-ruby-utils.h +1 -1
- data/ruby/trema/trema.c +1 -1
- data/ruby/trema/tremashark.rb +1 -1
- data/ruby/trema/util.rb +1 -1
- data/ruby/trema/vendor-action.rb +1 -1
- data/ruby/trema/vendor-stats-reply.rb +1 -1
- data/ruby/trema/vendor.c +1 -1
- data/ruby/trema/vendor.h +1 -1
- data/ruby/trema/version.rb +2 -2
- data/spec/spec_helper.rb +1 -3
- data/spec/support/action.rb +1 -1
- data/spec/support/mandatory-option.rb +1 -1
- data/spec/support/openflow-message.rb +1 -3
- data/spec/support/port-status.rb +1 -1
- data/spec/trema/app_spec.rb +1 -3
- data/spec/trema/barrier-reply_spec.rb +1 -3
- data/spec/trema/barrier-request_spec.rb +1 -1
- data/spec/trema/cli_spec.rb +1 -3
- data/spec/trema/controller_spec.rb +1 -1
- data/spec/trema/dsl/configuration_spec.rb +1 -3
- data/spec/trema/dsl/link_spec.rb +1 -3
- data/spec/trema/dsl/run_spec.rb +1 -3
- data/spec/trema/dsl/runner_spec.rb +1 -1
- data/spec/trema/dsl/switch_spec.rb +1 -3
- data/spec/trema/dsl/syntax_spec.rb +1 -3
- data/spec/trema/dsl/vhost_spec.rb +1 -3
- data/spec/trema/dsl/vswitch_spec.rb +1 -3
- data/spec/trema/echo-reply_spec.rb +1 -1
- data/spec/trema/echo-request_spec.rb +1 -1
- data/spec/trema/enqueue_spec.rb +1 -1
- data/spec/trema/error_spec.rb +1 -1
- data/spec/trema/executables_spec.rb +1 -3
- data/spec/trema/features-reply_spec.rb +1 -1
- data/spec/trema/features-request_spec.rb +1 -1
- data/spec/trema/flow-mod_spec.rb +1 -1
- data/spec/trema/flow-removed_spec.rb +1 -3
- data/spec/trema/get-config-reply_spec.rb +1 -1
- data/spec/trema/get-config-request_spec.rb +1 -1
- data/spec/trema/hardware-switch_spec.rb +1 -3
- data/spec/trema/hello_spec.rb +1 -1
- data/spec/trema/host_spec.rb +1 -3
- data/spec/trema/ip_spec.rb +1 -1
- data/spec/trema/link_spec.rb +1 -1
- data/spec/trema/list-switches-reply_spec.rb +1 -3
- data/spec/trema/logger_spec.rb +1 -3
- data/spec/trema/mac_spec.rb +1 -1
- data/spec/trema/match_spec.rb +0 -2
- data/spec/trema/open-vswitch_spec.rb +1 -3
- data/spec/trema/openflow-error_spec.rb +1 -1
- data/spec/trema/packet-in_spec.rb +1 -3
- data/spec/trema/packet-out_spec.rb +1 -3
- data/spec/trema/packetin-filter_spec.rb +1 -3
- data/spec/trema/port-mod_spec.rb +1 -3
- data/spec/trema/port-status-add_spec.rb +1 -1
- data/spec/trema/port-status-delete_spec.rb +1 -1
- data/spec/trema/port-status-modify_spec.rb +1 -1
- data/spec/trema/port-status_spec.rb +1 -3
- data/spec/trema/port_spec.rb +1 -3
- data/spec/trema/process_spec.rb +1 -3
- data/spec/trema/queue-get-config-reply_spec.rb +1 -3
- data/spec/trema/queue-get-config-request_spec.rb +1 -3
- data/spec/trema/send-out-port_spec.rb +1 -1
- data/spec/trema/set-config_spec.rb +1 -3
- data/spec/trema/set-eth-addr_spec.rb +1 -1
- data/spec/trema/set-ip-addr_spec.rb +1 -1
- data/spec/trema/set-ip-tos_spec.rb +1 -1
- data/spec/trema/set-transport-dst-port_spec.rb +1 -1
- data/spec/trema/set-transport-src-port_spec.rb +1 -1
- data/spec/trema/set-vlan-priority_spec.rb +1 -1
- data/spec/trema/set-vlan-vid_spec.rb +1 -1
- data/spec/trema/shell/vhost_spec.rb +1 -3
- data/spec/trema/shell/vswitch_spec.rb +1 -3
- data/spec/trema/stats-reply_spec.rb +1 -3
- data/spec/trema/stats-request_spec.rb +1 -3
- data/spec/trema/strip-vlan-header_spec.rb +1 -1
- data/spec/trema/switch-daemon_spec.rb +1 -1
- data/spec/trema/switch-disconnected_spec.rb +1 -3
- data/spec/trema/switch-manager_spec.rb +1 -3
- data/spec/trema/tremashark_spec.rb +1 -3
- data/spec/trema/util_spec.rb +1 -3
- data/spec/trema/vendor-action_spec.rb +1 -1
- data/spec/trema/vendor_spec.rb +1 -1
- data/spec/trema_spec.rb +1 -3
- data/src/examples/cbench_switch/cbench-switch.rb +1 -3
- data/src/examples/cbench_switch/cbench_switch.c +1 -3
- data/src/examples/dumper/dumper.c +1 -3
- data/src/examples/dumper/dumper.rb +1 -1
- data/src/examples/hello_trema/hello-trema.rb +1 -1
- data/src/examples/hello_trema/hello_trema.c +1 -1
- data/src/examples/learning_switch/fdb.rb +1 -3
- data/src/examples/learning_switch/learning-switch.rb +1 -3
- data/src/examples/learning_switch/learning_switch.c +1 -3
- data/src/examples/list_switches/list-switches.rb +1 -3
- data/src/examples/list_switches/list_switches.c +1 -3
- data/src/examples/match_compare/match-compare.rb +0 -2
- data/src/examples/multi_learning_switch/multi-learning-switch.rb +1 -3
- data/src/examples/multi_learning_switch/multi_learning_switch.c +1 -3
- data/src/examples/openflow_message/echo.c +1 -1
- data/src/examples/openflow_message/echo.rb +1 -3
- data/src/examples/openflow_message/example.rb +1 -3
- data/src/examples/openflow_message/features-request.rb +1 -1
- data/src/examples/openflow_message/features_request.c +1 -1
- data/src/examples/openflow_message/hello.c +1 -1
- data/src/examples/openflow_message/hello.rb +1 -1
- data/src/examples/openflow_message/set-config.rb +1 -3
- data/src/examples/openflow_message/set_config.c +1 -3
- data/src/examples/openflow_message/vendor-action.rb +1 -3
- data/src/examples/openflow_message/vendor_action.c +1 -3
- data/src/examples/openflow_switch/echo_switch.c +1 -1
- data/src/examples/packet_in/packet-in.rb +1 -1
- data/src/examples/packet_in/packet_in.c +1 -3
- data/src/examples/packetin_filter_config/add_filter.c +1 -3
- data/src/examples/packetin_filter_config/delete_filter.c +1 -3
- data/src/examples/packetin_filter_config/delete_filter_strict.c +1 -3
- data/src/examples/packetin_filter_config/dump_filter.c +1 -3
- data/src/examples/packetin_filter_config/dump_filter_strict.c +1 -3
- data/src/examples/packetin_filter_config/packetin_filter_config.c +1 -3
- data/src/examples/packetin_filter_config/utils.c +1 -3
- data/src/examples/packetin_filter_config/utils.h +1 -3
- data/src/examples/patch_panel/patch-panel.rb +1 -1
- data/src/examples/repeater_hub/repeater-hub.rb +1 -3
- data/src/examples/repeater_hub/repeater-hub_spec.rb +1 -3
- data/src/examples/repeater_hub/repeater_hub.c +1 -3
- data/src/examples/simple_router/arp-table.rb +1 -1
- data/src/examples/simple_router/interface.rb +1 -1
- data/src/examples/simple_router/router-utils.rb +1 -1
- data/src/examples/simple_router/routing-table.rb +1 -1
- data/src/examples/simple_router/simple-router.rb +1 -1
- data/src/examples/switch_info/switch-info.rb +1 -3
- data/src/examples/switch_info/switch_info.c +1 -3
- data/src/examples/switch_monitor/switch-monitor.rb +1 -3
- data/src/examples/switch_monitor/switch_monitor.c +1 -3
- data/src/examples/traffic_monitor/counter.c +1 -3
- data/src/examples/traffic_monitor/counter.h +1 -3
- data/src/examples/traffic_monitor/counter.rb +1 -3
- data/src/examples/traffic_monitor/fdb.c +1 -3
- data/src/examples/traffic_monitor/fdb.h +1 -3
- data/src/examples/traffic_monitor/fdb.rb +1 -3
- data/src/examples/traffic_monitor/traffic-monitor.rb +1 -3
- data/src/examples/traffic_monitor/traffic_monitor.c +1 -3
- data/src/lib/arp.h +1 -3
- data/src/lib/bool.h +1 -3
- data/src/lib/buffer.c +1 -3
- data/src/lib/buffer.h +1 -3
- data/src/lib/byteorder.c +1 -3
- data/src/lib/byteorder.h +1 -3
- data/src/lib/checks.h +1 -3
- data/src/lib/chibach.c +1 -3
- data/src/lib/chibach.h +1 -3
- data/src/lib/chibach_private.c +1 -3
- data/src/lib/chibach_private.h +1 -3
- data/src/lib/daemon.c +1 -1
- data/src/lib/daemon.h +1 -3
- data/src/lib/doubly_linked_list.c +1 -3
- data/src/lib/doubly_linked_list.h +1 -3
- data/src/lib/ether.c +1 -3
- data/src/lib/ether.h +1 -3
- data/src/lib/etherip.h +1 -3
- data/src/lib/event_handler.c +0 -2
- data/src/lib/event_handler.h +0 -2
- data/src/lib/hash_table.c +1 -3
- data/src/lib/hash_table.h +1 -3
- data/src/lib/icmp.h +1 -3
- data/src/lib/igmp.h +1 -3
- data/src/lib/ipv4.h +1 -3
- data/src/lib/ipv6.h +1 -1
- data/src/lib/linked_list.c +1 -1
- data/src/lib/linked_list.h +1 -1
- data/src/lib/log.c +1 -1
- data/src/lib/log.h +1 -1
- data/src/lib/management_interface.c +1 -3
- data/src/lib/management_interface.h +1 -3
- data/src/lib/management_service_interface.c +1 -3
- data/src/lib/management_service_interface.h +1 -3
- data/src/lib/match.h +1 -3
- data/src/lib/match_table.c +1 -3
- data/src/lib/match_table.h +1 -3
- data/src/lib/message_queue.c +1 -3
- data/src/lib/message_queue.h +1 -3
- data/src/lib/messenger.c +1 -3
- data/src/lib/messenger.h +1 -3
- data/src/lib/openflow_application_interface.c +1 -3
- data/src/lib/openflow_application_interface.h +1 -3
- data/src/lib/openflow_message.c +1 -3
- data/src/lib/openflow_message.h +1 -3
- data/src/lib/openflow_service_interface.h +1 -3
- data/src/lib/openflow_switch_interface.c +1 -3
- data/src/lib/openflow_switch_interface.h +1 -3
- data/src/lib/packet_info.c +1 -1
- data/src/lib/packet_info.h +1 -1
- data/src/lib/packet_parser.c +1 -1
- data/src/lib/packetin_filter_interface.c +0 -2
- data/src/lib/packetin_filter_interface.h +1 -3
- data/src/lib/persistent_storage.c +1 -3
- data/src/lib/persistent_storage.h +1 -3
- data/src/lib/secure_channel.c +1 -3
- data/src/lib/secure_channel.h +1 -3
- data/src/lib/stat.c +1 -3
- data/src/lib/stat.h +1 -3
- data/src/lib/tcp.h +1 -3
- data/src/lib/timer.c +1 -3
- data/src/lib/timer.h +1 -3
- data/src/lib/trema.c +1 -3
- data/src/lib/trema.h +1 -3
- data/src/lib/trema.hpp +0 -2
- data/src/lib/trema_private.c +1 -3
- data/src/lib/trema_private.h +1 -3
- data/src/lib/trema_wrapper.c +1 -3
- data/src/lib/trema_wrapper.h +1 -3
- data/src/lib/udp.h +1 -3
- data/src/lib/utility.c +1 -3
- data/src/lib/utility.h +1 -3
- data/src/lib/wrapper.c +1 -3
- data/src/lib/wrapper.h +1 -3
- data/src/management/application.c +1 -3
- data/src/management/echo.c +1 -3
- data/src/management/set_logging_level.c +1 -3
- data/src/management/show_stats.c +1 -3
- data/src/management/trema_manager +1 -1
- data/src/packetin_filter/packetin_filter.c +1 -3
- data/src/switch_manager/cookie_table.c +1 -3
- data/src/switch_manager/cookie_table.h +1 -3
- data/src/switch_manager/dpid_table.c +1 -3
- data/src/switch_manager/dpid_table.h +1 -3
- data/src/switch_manager/management_interface.h +1 -3
- data/src/switch_manager/ofpmsg_recv.c +1 -3
- data/src/switch_manager/ofpmsg_recv.h +1 -3
- data/src/switch_manager/ofpmsg_send.c +1 -1
- data/src/switch_manager/ofpmsg_send.h +1 -1
- data/src/switch_manager/secure_channel_listener.c +1 -3
- data/src/switch_manager/secure_channel_listener.h +1 -3
- data/src/switch_manager/secure_channel_receiver.c +1 -3
- data/src/switch_manager/secure_channel_receiver.h +1 -3
- data/src/switch_manager/secure_channel_sender.c +1 -3
- data/src/switch_manager/secure_channel_sender.h +1 -3
- data/src/switch_manager/service_interface.c +1 -3
- data/src/switch_manager/service_interface.h +1 -3
- data/src/switch_manager/switch.c +1 -3
- data/src/switch_manager/switch.h +1 -3
- data/src/switch_manager/switch_manager.c +1 -3
- data/src/switch_manager/switch_manager.h +1 -3
- data/src/switch_manager/switchinfo.h +1 -1
- data/src/switch_manager/xid_table.c +1 -3
- data/src/switch_manager/xid_table.h +1 -3
- data/src/tremashark/README +1 -1
- data/src/tremashark/packet_capture.c +1 -3
- data/src/tremashark/pcap_private.h +1 -3
- data/src/tremashark/pcap_queue.c +1 -3
- data/src/tremashark/pcap_queue.h +1 -3
- data/src/tremashark/plugin/packet-trema/Makefile.common +1 -3
- data/src/tremashark/plugin/packet-trema/moduleinfo.h +1 -3
- data/src/tremashark/plugin/packet-trema/packet-trema.c +1 -3
- data/src/tremashark/queue.c +1 -3
- data/src/tremashark/queue.h +1 -3
- data/src/tremashark/stdin_relay.c +1 -3
- data/src/tremashark/syslog_relay.c +1 -3
- data/src/tremashark/tremashark.c +1 -3
- data/trema.gemspec +24 -23
- data/unittests/buffer_stubs.c +1 -3
- data/unittests/cmockery_trema.c +1 -3
- data/unittests/cmockery_trema.h +1 -3
- data/unittests/lib/buffer_test.c +1 -3
- data/unittests/lib/byteorder_test.c +1 -3
- data/unittests/lib/daemon_test.c +1 -1
- data/unittests/lib/doubly_linked_list_test.c +1 -3
- data/unittests/lib/ether_test.c +1 -3
- data/unittests/lib/hash_table_test.c +1 -3
- data/unittests/lib/linked_list_test.c +1 -1
- data/unittests/lib/log_test.c +1 -3
- data/unittests/lib/management_interface_test.c +1 -3
- data/unittests/lib/management_service_interface_test.c +1 -3
- data/unittests/lib/match_table_test.c +1 -3
- data/unittests/lib/message_queue_test.c +1 -3
- data/unittests/lib/messenger_test.c +1 -3
- data/unittests/lib/openflow_application_interface_test.c +1 -3
- data/unittests/lib/openflow_message_test.c +1 -3
- data/unittests/lib/packet_info_test.c +1 -3
- data/unittests/lib/packet_parser_test.c +1 -1
- data/unittests/lib/packetin_filter_interface_test.c +1 -3
- data/unittests/lib/persistent_storage_test.c +1 -3
- data/unittests/lib/stat_test.c +1 -3
- data/unittests/lib/timer_test.c +1 -3
- data/unittests/lib/trema_private_test.c +1 -3
- data/unittests/lib/trema_test.c +1 -3
- data/unittests/lib/utility_test.c +1 -3
- data/unittests/lib/wrapper_test.c +1 -3
- data/unittests/packetin_filter/packetin_filter_test.c +1 -3
- data/unittests/switch_manager/switch_manager_test.c +1 -3
- data/unittests/wrapper_stubs.c +1 -3
- data/vendor/phost/doc/README +1 -1
- data/vendor/phost/src/Makefile +1 -1
- data/vendor/phost/src/arp.c +1 -1
- data/vendor/phost/src/arp.h +1 -1
- data/vendor/phost/src/cli.c +1 -1
- data/vendor/phost/src/cli.h +1 -1
- data/vendor/phost/src/cmdif.c +1 -1
- data/vendor/phost/src/cmdif.h +1 -1
- data/vendor/phost/src/common.c +1 -1
- data/vendor/phost/src/common.h +1 -1
- data/vendor/phost/src/eth.c +1 -1
- data/vendor/phost/src/eth.h +1 -1
- data/vendor/phost/src/ethdev.c +1 -1
- data/vendor/phost/src/ethdev.h +1 -1
- data/vendor/phost/src/icmp.c +1 -1
- data/vendor/phost/src/icmp.h +1 -1
- data/vendor/phost/src/ipv4.c +1 -1
- data/vendor/phost/src/ipv4.h +1 -1
- data/vendor/phost/src/log.c +1 -1
- data/vendor/phost/src/log.h +1 -1
- data/vendor/phost/src/phost.c +1 -1
- data/vendor/phost/src/phost.h +1 -1
- data/vendor/phost/src/stats.c +1 -1
- data/vendor/phost/src/stats.h +1 -1
- data/vendor/phost/src/tap.c +1 -1
- data/vendor/phost/src/tap.h +1 -1
- data/vendor/phost/src/trx.c +1 -1
- data/vendor/phost/src/trx.h +1 -1
- data/vendor/phost/src/udp.c +1 -1
- data/vendor/phost/src/udp.h +1 -1
- data/vendor/phost/src/utils.c +1 -1
- data/vendor/phost/src/utils.h +1 -1
- metadata +10 -8
data/Rakefile
CHANGED
data/Rantfile
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/bin/quality
CHANGED
data/bin/trema
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Trema command-line tool.
|
|
4
4
|
#
|
|
5
|
-
# Copyright (C) 2008-
|
|
5
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
6
6
|
#
|
|
7
7
|
# This program is free software; you can redistribute it and/or modify
|
|
8
8
|
# it under the terms of the GNU General Public License, version 2, as
|
data/bin/trema-config
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Trema compile helper.
|
|
4
4
|
#
|
|
5
|
-
# Copyright (C) 2008-
|
|
5
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
6
6
|
#
|
|
7
7
|
# This program is free software; you can redistribute it and/or modify
|
|
8
8
|
# it under the terms of the GNU General Public License, version 2, as
|
data/build.rb
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Trema build script
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
5
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
8
6
|
#
|
|
9
7
|
# This program is free software; you can redistribute it and/or modify
|
|
10
8
|
# it under the terms of the GNU General Public License, version 2, as
|
data/cruise.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Unit test & acceptance test runner for Trema.
|
|
4
4
|
#
|
|
5
|
-
# Copyright (C) 2008-
|
|
5
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
6
6
|
#
|
|
7
7
|
# This program is free software; you can redistribute it and/or modify
|
|
8
8
|
# it under the terms of the GNU General Public License, version 2, as
|
data/features/support/env.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/features/support/hooks.rb
CHANGED
data/ruby/blocker.rb
CHANGED
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# == Credit:
|
|
13
13
|
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
14
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
17
15
|
#
|
|
18
16
|
# This program is free software; you can redistribute it and/or modify
|
|
19
17
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/extconf.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/sub-process.rb
CHANGED
|
@@ -35,9 +35,7 @@
|
|
|
35
35
|
#
|
|
36
36
|
# == Credit:
|
|
37
37
|
#
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
38
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
41
39
|
#
|
|
42
40
|
# This program is free software; you can redistribute it and/or modify
|
|
43
41
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/action-common.c
CHANGED
data/ruby/trema/action-common.h
CHANGED
data/ruby/trema/action.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/app.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/barrier-reply.c
CHANGED
data/ruby/trema/barrier-reply.h
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
* Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
*
|
|
6
4
|
* This program is free software; you can redistribute it and/or modify
|
|
7
5
|
* it under the terms of the GNU General Public License, version 2, as
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Ruby wrapper class for OFPT_BARRIER_REQUEST message.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
* Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
*
|
|
8
6
|
* This program is free software; you can redistribute it and/or modify
|
|
9
7
|
* it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/cli.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The controller class of phost cli.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/command/kill.rb
CHANGED
data/ruby/trema/command/netns.rb
CHANGED
data/ruby/trema/command/ruby.rb
CHANGED
data/ruby/trema/command/run.rb
CHANGED
data/ruby/trema/command/shell.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# trema shell command.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/command/up.rb
CHANGED
data/ruby/trema/command.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Trema sub-commands.
|
|
3
3
|
#
|
|
4
|
-
# Copyright (C) 2008-
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
5
|
#
|
|
6
6
|
# This program is free software; you can redistribute it and/or modify
|
|
7
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/controller.c
CHANGED
data/ruby/trema/controller.h
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Base class for OpenFlow controllers.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
* Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
*
|
|
8
6
|
* This program is free software; you can redistribute it and/or modify
|
|
9
7
|
* it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/controller.rb
CHANGED
data/ruby/trema/daemon.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/context.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/link.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Network link between hosts and switches of Trema network DSL.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/netns.rb
CHANGED
data/ruby/trema/dsl/parser.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# DSL parser.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/rswitch.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The syntax definition of rswitch { ... } stanza in Trema DSL.
|
|
3
3
|
#
|
|
4
|
-
# Copyright (C) 2008-
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
5
|
#
|
|
6
6
|
# This program is free software; you can redistribute it and/or modify
|
|
7
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/run.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The syntax definition of run { ... } stanza in Trema DSL.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/runner.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Runs DSL objects in right order.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/stanza.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The stanza { ... } class of Trema DSL.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/switch.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The syntax definition of switch { ... } stanza in Trema DSL.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/syntax.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The top-level definition of Trema network DSL.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/vhost.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
2
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
5
3
|
#
|
|
6
4
|
# This program is free software; you can redistribute it and/or modify
|
|
7
5
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl/vswitch.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The syntax definition of vswitch { ... } stanza in Trema DSL.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/dsl.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Trema network DSL.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (C) 2008-2012 NEC Corporation
|
|
4
|
+
# Copyright (C) 2008-2013 NEC Corporation
|
|
7
5
|
#
|
|
8
6
|
# This program is free software; you can redistribute it and/or modify
|
|
9
7
|
# it under the terms of the GNU General Public License, version 2, as
|
data/ruby/trema/echo-reply.c
CHANGED
data/ruby/trema/echo-reply.h
CHANGED
data/ruby/trema/echo-request.c
CHANGED
data/ruby/trema/echo-request.h
CHANGED
data/ruby/trema/echo.c
CHANGED