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

Match.new (何でもマッチ) を省略 #186

Open
yasuhito opened this issue Jan 30, 2016 · 1 comment
Open

Match.new (何でもマッチ) を省略 #186

yasuhito opened this issue Jan 30, 2016 · 1 comment

Comments

@yasuhito
Copy link
Owner

FlowModするときにマッチが不要なところでもいちいち match: Match.new と書かなければいけないのは直したほうがいい気がします。

    send_flow_mod_add(
      datapath_id,
      table_id: FORWARDING_TABLE_ID,
      idle_timeout: 0,
      priority: 1,
      match: Match.new,
      instructions: Apply.new([SendOutPort.new(:controller),
                               SendOutPort.new(:flood)])
    )
@yasuhito
Copy link
Owner Author

やっぱり明示的に、何でも拾うという意味で match: Match.new と書いておいたほうがいい気もします。迷うな〜。

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

No branches or pull requests

1 participant