Commit 303d46be authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

ofp13: change message code

parent 29787176
......@@ -6,7 +6,7 @@ pub enum Msg {
Error = 1,
EchoRequest = 2,
EchoReply = 3,
Vendor = 4,
Experimenter = 4,
FeaturesRequest = 5,
FeaturesReply = 6,
ConfigRequest = 7,
......@@ -17,13 +17,21 @@ pub enum Msg {
PortStatus = 12,
PacketOut = 13,
FlowMod = 14,
PortMod = 15,
StatsRequest = 16,
StateReply = 17,
BarrierRequest = 18,
BarrierReply = 19,
QueueGetConfigRequest = 20,
QueueGetConfigReply = 21,
GroupMod = 15,
PortMod = 16,
TableMod = 17,
MultipartRequest = 18,
MultipartReply = 19,
BarrierRequest = 20,
BarrierReply = 21,
GetConfigRequest = 22,
GetConfigReply = 23,
RoleRequest = 24,
RoleReply = 25,
GetAsyncRequest = 26,
GetAsyncReply = 27,
SetAsync = 28,
MeterMod = 29,
NotFound = 0xff,
}
......
#[cfg(test)]
mod tests {
use tenjin::{
openflow::ofp10::{ControllerFrame10, Msg, OfpMsgEvent, OpenflowHeader},
openflow::ofp13::{ControllerFrame13, Msg, OfpMsgEvent, OpenflowHeader},
Controller,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment