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