-
- Downloads
Create wrapper class that takes an OFMessage and allows for direct use in...
Create wrapper class that takes an OFMessage and allows for direct use in other containers where we don't care about the XID of the message. For example, if we want to create a unit test with predictable results but the XIDs are different depending on unit test execution, we can use the wrapper class to guarantee consistency. In the main code, we can more easily compare OFMessages without care for the XID and create cool data structures like caches.
Showing
- src/main/java/net/floodlightcontroller/util/OFMessageUtils.java 55 additions, 18 deletions...in/java/net/floodlightcontroller/util/OFMessageUtils.java
- src/test/java/net/floodlightcontroller/forwarding/ForwardingTest.java 12 additions, 12 deletions...a/net/floodlightcontroller/forwarding/ForwardingTest.java
- src/test/java/net/floodlightcontroller/hub/HubTest.java 1 addition, 1 deletionsrc/test/java/net/floodlightcontroller/hub/HubTest.java
- src/test/java/net/floodlightcontroller/learningswitch/LearningSwitchTest.java 4 additions, 4 deletions...oodlightcontroller/learningswitch/LearningSwitchTest.java
- src/test/java/net/floodlightcontroller/loadbalancer/LoadBalancerTest.java 1 addition, 1 deletion...t/floodlightcontroller/loadbalancer/LoadBalancerTest.java
- src/test/java/net/floodlightcontroller/staticentry/StaticFlowTests.java 1 addition, 1 deletion...net/floodlightcontroller/staticentry/StaticFlowTests.java
Loading
Please register or sign in to comment