- 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 16, 2014
-
-
Ryan Izard authored
switchDisconnected() already called when the main connection is closed (so it wasn't a bug after all).
-
Ryan Izard authored
Undo weaving of IDebugCounterService into the OFSwitch class for previous SwitchCounters implementation.
-
Ryan Izard authored
Changed methodology after realizing the counters are already defined in OFConnectionCounters, which makes more sense since switches can have multiple connections now. OFConnectionCounters now refactored to remove counters when a switch disconnects.
-
Ryan Izard authored
Added SwitchCounters.java. Similar to SwitchManagerCounters.java, the SwitchCounters class contained within contains and maintains all the counters for a switch instance. When the switch disconnects, either accidentally or forcefully with disconnect(), the SwitchCounters will be removed from the IDebugCounterService, since they will no longer be valid or meaningful if the switch never reconnects.
-
- 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.
-
- Sep 14, 2014
-
-
Ryan Izard authored
-
Ryan Izard authored
Add 'json' to the DeviceManager's REST API to be consistent with the rest. Ending the path in a / is bad REST practice.
-
Ryan Izard authored
-
Ryan Izard authored
-
- Sep 11, 2014
-
-
Ryan Izard authored
Added option to remove debug counters from the hierarchy if it's been added; useful for keeping track of switch or device counters, which might not stick around forever. Fixed bug in CounterNode where non-null was returned regardless of whether a counter was already present or was a new counter. DebugCounterServiceImpl prints a debug message if non-null is returned, mistakenly indicating you're adding a counter that you already had registerd (generated TONS of annoying debug messages at startup). Next bug, I accidentally initialized counters twice in the OFSwitchManager; now only done once.
-
- Aug 27, 2014
-
-
Ryan Izard authored
Load balancer quick fix due to prior IPv4 packet changes. Uses LOXI IpProtocol now to reference certain protocol numbers, not IPv4 anymore.
-
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 21, 2014
-
-
Ryan Izard authored
Incorporate Hung-Wei's and my stats reply and other REST API changes. A couple of bug fixes from Hung-Wei too.
-
Ryan Izard authored
-
Ryan Izard authored
Openflow 1.3#4
-
Ryan Izard authored
-
https://github.com/rizard/floodlightRyan Izard authored
Conflicts: src/main/java/net/floodlightcontroller/core/web/SwitchStatisticsResource.java
-
Ryan Izard authored
Openflow 1.3#3
-
- Aug 17, 2014
-
-
hwchiu authored
2. Use the custom serializer for IOFSwitch.
-
- Aug 16, 2014
-
-
hwchiu authored
2. Use the serializer for some object. 3. Fix the bug in the buildRoute method on the ToplogInstance
-
- Aug 15, 2014
-
-
hwchiu authored
-
Ryan Izard authored
-
Ryan Izard authored
Openlow 1.3#serializer
-
hwchiu authored
-
hwchiu authored
-
hwchiu authored
method retrieve on SwitchStatisticsResource.java 2. Adding a custom serializer to serilize the StatsReply. 3. It only supports statistic_flow type and OF1.3 format now.
-
- Aug 14, 2014
-
-
Ryan Izard authored
-
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.
-