Skip to content
Snippets Groups Projects
  1. Mar 25, 2016
  2. Mar 04, 2016
  3. 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
  4. Feb 22, 2016
  5. Feb 08, 2016
  6. Feb 05, 2016
  7. Feb 04, 2016
  8. Feb 02, 2016
    • 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
  9. Jan 25, 2016
  10. Jan 22, 2016
  11. Jan 21, 2016
  12. Jan 10, 2016
  13. Jan 04, 2016
  14. Dec 22, 2015
  15. Dec 18, 2015
  16. Dec 17, 2015
  17. Dec 16, 2015
  18. Dec 15, 2015
  19. Dec 14, 2015
  20. Dec 11, 2015
  21. Dec 10, 2015
  22. Dec 07, 2015
  23. Dec 04, 2015
  24. Dec 01, 2015
  25. Nov 24, 2015
  26. Nov 13, 2015
  27. Nov 04, 2015
  28. Oct 29, 2015
    • chechoRP's avatar
      Fix for Firewall issue #590 · e183e76e
      chechoRP authored
      The dl_type=ARP (or any other dl_type) is overwritten if dst-ip/src-ip are specified later on in the json object. I added condition that only overwrites the field if it hasn't been already specified. This case only applies for src-ip, and dst-ip.
      e183e76e
  29. Oct 12, 2015
  30. Oct 08, 2015
Loading