Skip to content
Snippets Groups Projects
  1. Mar 24, 2016
  2. Mar 16, 2016
  3. Mar 15, 2016
  4. Mar 04, 2016
  5. Feb 25, 2016
  6. Feb 24, 2016
    • André Mantas's avatar
      deserialize fix for not-known Ethernet types · b1a86c6c
      André Mantas authored
      For Ethernet types not in Ethernet.etherTypeClassMap, the deserialization would set the payload to the whole data array (including the mac addresses and eth type) instead of the rest of the data array.
      
      For example, this would fail to print:
      
      Ethernet l2 = new Ethernet();
      l2.setEtherType(EthType.of(65535)); // some type
      l2.setSourceMACAddress(MacAddress.of("00:00:00:00:00:01"));
      l2.setDestinationMACAddress(MacAddress.BROADCAST);
      Data packetData = new Data();
      packetData.setData("some string".getBytes());
      l2.setPayload(packetData);
      byte[] l2bytes = l2.serialize();
      Ethernet l2d = new Ethernet();
      l2d.deserialize(l2bytes, 0, l2bytes.length);
      Data packetDataDeserialized = (Data) l2d.getPayload();
      // printing "new String(packetDataDeserialized.getData())" gives "?????"
      
      I ran the JUnit tests in floodlightcontroller.core.internal, floodlightcontroller.core.test and floodlightcontroller.packet. Are there any more relevant tests?
      b1a86c6c
  7. Feb 23, 2016
  8. Feb 22, 2016
  9. Feb 19, 2016
  10. Feb 18, 2016
  11. Feb 12, 2016
  12. Feb 09, 2016
  13. Feb 08, 2016
  14. Feb 07, 2016
  15. Feb 05, 2016
  16. Feb 04, 2016
  17. Feb 02, 2016
    • Ryan Izard's avatar
      Merge pull request #614 from paaguti-work/master · efbf8f57
      Ryan Izard authored
      Add a callback after an input event has been consumed
      efbf8f57
    • Puneet Singh's avatar
      Update ACL.java · f55af80a
      Puneet Singh authored
      In the event the device manger does not yet know an attachment point for a device, the ACL should detect that and perform a noop. Simply checking the length of the SwitchPort[] returned from the device manger should fix the problem. If the length is zero, return; else, proceed.
      f55af80a
  18. Jan 25, 2016
  19. Jan 22, 2016
  20. Jan 21, 2016
  21. Jan 11, 2016
  22. Jan 10, 2016
  23. Jan 04, 2016
Loading