Sha256: d1fef8a149477909db86bbb870e775aaad2af3f5252781d3356e9b3ea2ba2d5d
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
@open_flow10 Feature: PacketOut Scenario: new When I create an OpenFlow message with: """ arp_request = Pio::Arp::Request.new( source_mac: 'fa:ce:b0:00:00:cc', sender_protocol_address: '192.168.0.1', target_protocol_address: '192.168.0.2' ) Pio::PacketOut.new( transaction_id: 0x16, buffer_id: 0xffffffff, in_port: 0xffff, actions: Pio::SendOutPort.new(2), raw_data: arp_request.to_binary ) """ Then the message has the following fields and values: | field | value | | transaction_id | 22 | | xid | 22 | | buffer_id.to_hex | 0xffffffff | | in_port.to_hex | 0xffff | | actions.length | 1 | | actions[0].class | Pio::OpenFlow10::SendOutPort | | actions[0].port | 2 | | actions[0].max_length | 65535 | | raw_data.length | 64 |
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pio-0.30.2 | features/open_flow10/packet_out.feature |
pio-0.30.1 | features/open_flow10/packet_out.feature |