- Nov 07, 2014
-
-
Ryan Izard authored
Mid-way through Forwarding unit tests. Added a sample equals to compare OFPacketIns when the XID does not matter (in net.floodlightcontroller.util.OFMessageComparisonUtils.java).
-
Ryan Izard authored
Forgot to fix Hub after playing with it initially. Now defaults to FLOOD OFPacketOuts at the controller, which means no flows are inserted. The option still exists to insert flows instead.
-
Ryan Izard authored
Firewall working and unit tests working. Found an fixed a couple bugs in the Firewall during the process.
-
Ryan Izard authored
Some Firewall unit test fixes. Went through all code and corrected pi.getInPort() to (pi.getVersion().compareTo(OFVersion.OF_12) < 0 ? pi.getInPort() : pi.getMatch().get(MatchField.IN_PORT)). OF1.2 and greater specifies the ingress port as an OXM in the Match.
-
- Nov 05, 2014
-
-
Ryan Izard authored
-
Ryan Izard authored
-
- Nov 03, 2014
-
-
Ryan Izard authored
Fixed DeviceManagerImplTest unit tests. TODO: With OpenFlowJ-Loxi, an untagged VLAN can be denoted with VlanVid.ZERO. Presently, it's VlanVid.of(-1), which was the case before integration of the new library. It makes more sense to have it as ZERO I think.
-
- Oct 31, 2014
-
-
Ryan Izard authored
Fixed some DeviceManager unit tests and (not quite a bug but) an issue converting an Entity to a SyncEntity, which requires primitives for serialization. I tried to supply the MacAddress, IPv4Address, etc JSON serializer classes via the @JsonSerialize annotation, but the serializer still didn't do it...
-
Ryan Izard authored
VirtualNetworkFilter unit tests complete. Found bug in Entity in devicemanger package where null doesn't mean no switch or port anymore; DatapathId.NONE and OFPort.ZERO do instead. An object will always be there (not null), but it's contents will specify whether the Entity has a switch port or not.
-
- Oct 30, 2014
-
-
Ryan Izard authored
Fixed LoadBalancer unit tests! TODO: Need to change the LB to not compose flows with strings...yuck. This will make OF1.0/OF1.1+ support integration easier.
-
Ryan Izard authored
Commented out all of EventTest.java's format-checking unit test. Why does the format need to be checked to see if it's ISO8601? Java's java.util.Date toString() returns a different format (with spaces), but I don't see what the big deal is at this point.
-
Ryan Izard authored
Fixed OFMessageDamper unit tests and removed context from within OFMessageDamper (not used with a switch write anymore).
-
Ryan Izard authored
-
- Oct 27, 2014
-
-
Ryan Izard authored
-
Ryan Izard authored
Fixed more unit tests. Found another place in TopologyInstance.java where I accidentally used shallow compares instead of deep when checking to see if two links are symmetrical.
-
- Oct 26, 2014
-
-
Ryan Izard authored
Fixed some more unit tests. Have some device manager issues maybe. Many of the remaining unit tests to fix seem to tie back to the device manager.
-
- Oct 10, 2014
-
-
Ryan Izard authored
Fixed some more unit tests. In the process, discovered some errors in more overridden equals(). Also, discovered I had inadvertently commented out an important few lines the routing module uses to set the ingress port of flows used in the route. Those lines are now ported and use MatchUtils to copy the Match properly.
-
- Sep 15, 2014
-
-
Ryan Izard authored
Changed DebugCounterServiceImpl's registerCounter(). It turns out we do need to always return a reference to an IDebugCounter. If the counter we're trying to add is already there, return the existing IDebugCounter, else if the counter is not there, add it, and return it instead.
-
- Aug 27, 2014
-
-
Ryan Izard authored
-
Ryan Izard authored
Working on unit tests. Found bugs in TCP and UDP. ByteBuffer returns a (signed) short for ports, but they are valid 0-65535, not -32768-32767. Convert possibly negative ports from BB to positive ints using a bitmask.
-
- Aug 14, 2014
-
-
Ryan Izard authored
Fixed lots of compile errors in unit tests; mostly involved replacing longs with DatapathIds, byte[]s with MacAddresses and Ipv4Addresses, and shorts with OFPorts and VlanVids; some refactoring of flow mod contruction was also done to align with loxi's builders. The static flow puser now supports IP TOS for OF1.0 and for OF1.1+ it supports match/rewrite to either ECN or DSCP bits.
-
- Aug 12, 2014
-
-
Ryan Izard authored
Static Flow Pusher supports all OF1.3 matches and most OF1.3 actions (with the exception of masks). LoadBalancer corrected; OFFlowAdd used instead of OFFlowModify and OFPort.ZERO correct to OFPort.ANY. ActionUtils, MatchUtils, and InstructionUtils added to support static flow pusher. Strings defining flow fields *standardized* for Floodlight in the new utils classes. This means the REST API for the SFP will expect a sligthly different syntax than the current REST API (for master and 0.90). We can change the field names easily though in the utils files. These names are also referenced for the keys the SFP uses to store flow match fields and actions, just to be consistent.
-
- Aug 06, 2014
-
-
Ryan Izard authored
Working on device manager. Currently devices aren't being saved, or cannot be located after they are stored...I'm searching incorrectly for devices and entities or am not saving them correctly or at all.
-
- Jul 28, 2014
-
-
Ryan Izard authored
-
Ryan Izard authored
-
- Jun 18, 2014
-
-
Ryan Izard authored
Refactored structure of core components to work with openflowj-loxi. Presently refactoring Routing, Firewall, Forwarding, DeviceManager, LinkDiscovery, Topology, and LearningSwitch. Hub has been refactored.
-
- Feb 28, 2014
-
-
hwchiu authored
host's mac address
-
- Jun 26, 2013
-
-
Saurav Das authored
1) Ability to ask for last N events 2) Events now show up with most-recent-first 3) Including ThreadName as one of the columns 4) Ensuring moduleName and eventNames in URL do not include '/' 5) Removing dead code in Event.java 6) Updating unit tests
-
- Jun 25, 2013
-
-
Shudong Zhou authored
-
Shudong Zhou authored
-
- Jun 21, 2013
-
-
Saurav Das authored
-
- Jun 20, 2013
-
-
Shudong Zhou authored
-
- Jun 18, 2013
-
-
Saurav Das authored
-
Srinivasan Ramasubramanian authored
[BVS-420] Add unit tests for checking if device moved notifications are sent or not under certain situations.
-
- Jun 17, 2013
-
-
Gregor Maier authored
-
- Jun 14, 2013
-
-
Shudong Zhou authored
-
- Jun 13, 2013
-
-
Gregor Maier authored
-
- Jun 12, 2013
-
-
Gregor Maier authored
-
Gregor Maier authored
(the actual files have been moved a while ago, I just missed the unit tests)
-
Gregor Maier authored
-