use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetQueueConfigInput in project openflowplugin by opendaylight.
the class GetQueueConfigInputMessageFactoryTest method test.
@Test
public void test() {
ByteBuf bb = BufferHelper.buildBuffer("00 01 02 03 00 00 00 00");
GetQueueConfigInput deserializedMessage = BufferHelper.deserialize(factory, bb);
BufferHelper.checkHeaderV13(deserializedMessage);
Assert.assertEquals("Wrong Port No", new PortNumber(0x00010203L), deserializedMessage.getPort());
}
Aggregations