Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: undefined method `to_binary' for FlowMod #186

Closed
shun159 opened this issue Jun 29, 2015 · 1 comment
Closed

error: undefined method `to_binary' for FlowMod #186

shun159 opened this issue Jun 29, 2015 · 1 comment
Assignees
Labels

Comments

@shun159
Copy link
Member

shun159 commented Jun 29, 2015

$ bundle exec trema run lib/learning_switch13.rb --openflow13
LearningSwitch started.
switch_ready 2748
error: undefined method `to_binary' for #<Pio::FlowMod::Body:0x00000002291678>
/var/lib/gems/2.1.0/gems/pio-0.23.0/lib/pio/open_flow13/flow_mod.rb:159:in `method_missing': undefined method `to_binary' for #<Pio::FlowMod::Body:0x00000002291678> (NoMethodError)
    from /var/lib/gems/2.1.0/gems/pio-0.23.0/lib/pio/open_flow13/flow_mod.rb:177:in `method_missing'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/switch.rb:37:in `write'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:158:in `send_message'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:144:in `send_flow_mod_add'
    from lib/learning_switch13.rb:122:in `flow_mod'
    from lib/learning_switch13.rb:99:in `iff_controlling_frame'
    from lib/learning_switch13.rb:34:in `install_builtin_flow'
    from lib/learning_switch13.rb:23:in `switch_ready'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:280:in `block in send_handler'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:280:in `synchronize'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:280:in `send_handler'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:285:in `maybe_send_handler'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:224:in `start_switch_main'
    from /home/shun159/.bundler/ruby/2.1.0/trema-b748b48fc92b/lib/trema/controller.rb:217:in `block in start_switch_thread'
@yasuhito yasuhito added the bug label Jun 30, 2015
@yasuhito yasuhito self-assigned this Jun 30, 2015
@yasuhito
Copy link
Member

Fixed in 2054728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants