We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TremaEdgeのソースにsend_flow_mod_deleteが無かったため、以下を追記して使用しています。 このメソッド(flow削除のメソッド)は非常に良く使うため、TremaEdgeにもあるとありがたいです。
def send_flow_mod_delete datapath_id, options options[ :command ] = OFPFC_DELETE options[ :table_id ] = OFPTT_ALL if options[ :table_id ].nil? options[ :match ] = Match.new if options[ :match ].nil? options[ :cookie ] = 0 if options[ :cookie ].nil? options[ :cookie_mask ] = 0 if options[ :cookie_mask ].nil? options[ :out_port ] = OFPP_ANY if options[ :out_port ].nil? options[ :out_group ] = OFPG_ANY if options[ :out_group ].nil? send_flow_mod datapath_id, options end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TremaEdgeのソースにsend_flow_mod_deleteが無かったため、以下を追記して使用しています。
このメソッド(flow削除のメソッド)は非常に良く使うため、TremaEdgeにもあるとありがたいです。
def send_flow_mod_delete datapath_id, options
options[ :command ] = OFPFC_DELETE
options[ :table_id ] = OFPTT_ALL if options[ :table_id ].nil?
options[ :match ] = Match.new if options[ :match ].nil?
options[ :cookie ] = 0 if options[ :cookie ].nil?
options[ :cookie_mask ] = 0 if options[ :cookie_mask ].nil?
options[ :out_port ] = OFPP_ANY if options[ :out_port ].nil?
options[ :out_group ] = OFPG_ANY if options[ :out_group ].nil?
send_flow_mod datapath_id, options
end
The text was updated successfully, but these errors were encountered: