9 lines
326 B
Plaintext
9 lines
326 B
Plaintext
ovs-ofctl add-flow <%= @bridge -%>
|
|
<%- @attributes.each_with_index do |attrib, idx| -%>
|
|
<% if idx == 0 %> <% else -%>,<% end -%>
|
|
<%= attrib[0] -%>=<%= attrib[1] -%>
|
|
<%- end -%>
|
|
,actions=<%- @actions.each_with_index do |action, idx| -%>
|
|
<%- if idx > 0 -%>,<%- end -%>
|
|
<%= action['type'] -%>:<%= action['value'] -%>
|
|
<%- end -%> |