Sha256: 067f86f95771a2ebbaa5fcd4e983f24362d342fea14fb05723b63bbc6f6f8951

Contents?: true

Size: 593 Bytes

Versions: 5

Compression:

Stored size: 593 Bytes

Contents

Given(/^I use OpenFlow 1\.3$/) do
  require 'pio/open_flow13'
end

When(/^I try to create a packet with:$/) do |ruby_code|
  begin
    @result = Pio.module_eval(ruby_code)
  rescue
    @last_error = $ERROR_INFO
  end
end

When(/^I try to create an OpenFlow message with:$/) do |ruby_code|
  step 'I try to create a packet with:', ruby_code
end

When(/^I try to create an OpenFlow action with:$/) do |ruby_code|
  step 'I try to create a packet with:', ruby_code
end

When(/^I try to create an OpenFlow instruction with:$/) do |ruby_code|
  step 'I try to create a packet with:', ruby_code
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.23.1 features/step_definitions/open_flow_steps.rb
pio-0.23.0 features/step_definitions/open_flow_steps.rb
pio-0.22.0 features/step_definitions/open_flow_steps.rb
pio-0.21.1 features/step_definitions/open_flow_steps.rb
pio-0.21.0 features/step_definitions/open_flow_steps.rb