Skip to content
Snippets Groups Projects
  1. Nov 14, 2014
    • Ryan Izard's avatar
      OF1.3 handshake unit tests updated. All unit tests can be run together and... · a422012a
      Ryan Izard authored
      OF1.3 handshake unit tests updated. All unit tests can be run together and have zero errors but one failure. The failure is in Forwarding and is expected for the time being until OFMessageDamper/Loxigen is fixed to ignore XIDs in OFMessages. In the previous commit, the unit tests for the flowcache package were completely removed due to the effort required to fix them. I don't know if completely removing the flowcache package though is the best idea. Even if it's not tested and not proven scalable, people might benefit from being able to look at the code. Thus, I've left the package in, at least for the time being.
      a422012a
  2. Nov 13, 2014
    • Ryan Izard's avatar
      This is a scattered commit, but it includes more unit test fixes, including... · 26ce6795
      Ryan Izard authored
      This is a scattered commit, but it includes more unit test fixes, including Forwarding and the NotificationManager's interdependency issue the unit tests were having when being run together as a group. It also includes some typo repairs. The last major change is a bug fix in the LinkDiscoveryManager that fixes the long-time issue of LINK_ADDED and PORT_STATUS messages being inconsistent when a link is brought up. The issue was a race condition between the PORT_STATUS update timer to process the queues and the propagation of LLDP packets from one switch to another that cause the LINK_ADDED updates.
      26ce6795
  3. Nov 10, 2014
  4. Nov 07, 2014
  5. Nov 05, 2014
  6. Nov 03, 2014
  7. Nov 01, 2014
    • hwchiu's avatar
      Make the WEBUI shows the flow info · 5fad7e12
      hwchiu authored
      1. Modify the wm/core/switch/${id}/flow/json's return format, it use a
      array to shows the flow entries, e.g. I think this format is more convenience for restapi caller.
      
      "flows": [
              {
                  "byte_count": "2498",
                  "cookie": "0",
                  "duration_sec": "4",
                  "flags": "0",
                  "hard_timeout_sec": "0",
                  "idle_timeout_sec": "0",
                  "instructions": {
                      "apply_actions": {
                          "output": "-3"
                      }
                  },
                  "match": {},
                  "packet_count": "33",
                  "priority": "32768",
                  "table_id": "0",
                  "version": "OF_13"
              },
              {
                  "byte_count": "0",
                  "cookie": "9007199254740992",
                  "duration_sec": "2",
                  "flags": "0",
                  "hard_timeout_sec": "0",
                  "idle_timeout_sec": "5",
                  "instructions": {
                      "apply_actions": {
                          "output": "1"
                      }
                  },
                  "match": {
                      "dl_dst": "e6:85:22:16:59:87",
                      "dl_src": "b2:ac:81:4a:92:57",
                      "dl_type": "2054",
                      "ingress_port": "2"
                  },
                  "packet_count": "0",
                  "priority": "0",
                  "table_id": "0",
                  "version": "OF_13"
              },
      2. Adding the new coloum write_actions and replace the original action field to apply_actions.
      3. Since the OF1.1+ use the OXM format to present the match filed, we don't need to use the wildcard to check what kind of the fild be used in the flow, we can directly use the query result. If we want to make it compatible with OF1.0, we need to use the version field to check in the javascript and modify the way how we get the match rules.
      4. It has only been test with the default forwarding module and the flow entries looks right. It need to be tested with other match rule and actions.
      5. replace the tab with 4-spaces
      5fad7e12
    • hwchiu's avatar
      complete the serialization of PortDescStats and PortStats, also modfiy the... · 478b00ca
      hwchiu authored
       complete the serialization of PortDescStats and PortStats, also modfiy the webui to fit the new-format of restapi
      478b00ca
    • hwchiu's avatar
      serialize the portStatsReply and modify the webui · 999714b2
      hwchiu authored
      999714b2
  8. Oct 31, 2014
    • hwchiu's avatar
      Try to fix the WEBUI · ec6fc333
      hwchiu authored
      1.	Serialize the return value of /wm/core/controller/switches/json
      2.	Serialize the OFDescStatReply
      3.  Serialize THE OFAggregateStatREply
      4.  Modify the webui to make it fit the current restapi format
      ec6fc333
    • Ryan Izard's avatar
      Fixed some DeviceManager unit tests and (not quite a bug but) an issue... · 2ccdc1bf
      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...
      2ccdc1bf
    • Ryan Izard's avatar
      VirtualNetworkFilter unit tests complete. Found bug in Entity in devicemanger... · 4f2f9696
      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.
      4f2f9696
  9. Oct 30, 2014
  10. Oct 27, 2014
  11. Oct 26, 2014
  12. Oct 10, 2014
    • Ryan Izard's avatar
      Fixed some more unit tests. In the process, discovered some errors in more... · 5b0933bb
      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.
      5b0933bb
  13. Sep 16, 2014
  14. Sep 15, 2014
  15. Sep 14, 2014
  16. Sep 11, 2014
    • Ryan Izard's avatar
      Added option to remove debug counters from the hierarchy if it's been added;... · ee7508b4
      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.
      ee7508b4
  17. Aug 27, 2014
Loading