Skip to content
Snippets Groups Projects
  1. Dec 21, 2014
  2. Dec 19, 2014
  3. Dec 18, 2014
  4. Dec 17, 2014
  5. Dec 16, 2014
  6. Dec 15, 2014
  7. Dec 12, 2014
    • Ryan Izard's avatar
      Fixed SFP REST API. Forgot to add new flow's DPID to entry2dpid map, thus flow... · 0eda21fb
      Ryan Izard authored
      Fixed SFP REST API. Forgot to add new flow's DPID to entry2dpid map, thus flow removal never triggered a flow-del message to the switch. Also, added a serializer for OFFlowMod and for OFFlowModMap. The latter is for the double-map of switch-dpid --> map of flow-name --> OFFlowMod object. The former has been separated, since it a JSON serializer for OFFlowMod might come in handy in the future. A present limitation is that the JSON serializer does not use the same syntax as is used to insert a flow-mod via the SFP REST API. This might be confusing for people if they get different output than what they put in. It's a lot less work to implement the serializer as-is though. The next step will be to match the SFP syntax on a per-field basis in the OFFlowModSerializer class.
      0eda21fb
    • Ryan Izard's avatar
  8. Dec 01, 2014
    • Ryan Izard's avatar
      Added in NXMs for source and destination tunnel IPs, included in new Loxigen... · 777725d2
      Ryan Izard authored
      Added in NXMs for source and destination tunnel IPs, included in new Loxigen 0.9.0. Used Loxigen's OFFlowModFlags serializers for different OFVersions to fix compile error in StatsReplySerializer introduced upon Loxigen upgrade. Add new OF1.4 counters to DebugCounters to allow unit tests to compile (this is the first step in OF1.4 support =) ).
      777725d2
  9. Nov 21, 2014
  10. Nov 14, 2014
  11. 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
  12. Nov 10, 2014
  13. Nov 07, 2014
  14. Nov 05, 2014
  15. Nov 03, 2014
  16. 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
Loading