Skip to content
Snippets Groups Projects
  1. Nov 07, 2014
  2. Nov 05, 2014
  3. Nov 03, 2014
  4. 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
  5. 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
  6. Oct 30, 2014
  7. Oct 27, 2014
  8. Oct 26, 2014
  9. 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
  10. Sep 16, 2014
  11. Sep 15, 2014
  12. Sep 14, 2014
  13. 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
  14. Aug 27, 2014
  15. Aug 21, 2014
Loading