Skip to content

Instantly share code, notes, and snippets.

package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
Stacktrace:
, [2014-10-07T02:00:24.360586 #13077] INFO -- : Started GET "/admin/subscription" for 173.227.38.50 at 2014-10-07 02:00:24 +0000
I, [2014-10-07T02:00:24.362749 #13077] INFO -- : Processing by RailsAdmin::MainController#index as HTML
I, [2014-10-07T02:00:24.362832 #13077] INFO -- : Parameters: {"model_name"=>"subscription"}
E, [2014-10-07T02:00:24.382861 #13077] ERROR -- : Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc LIMIT 20 OFFSET 0' at line 1: SELECT `subscriptions`.* FROM `subscriptions` ORDER BY subscriptions. desc LIMIT 20 OFFSET 0
I, [2014-10-07T02:00:24.384894 #13077] INFO -- : Rendered /var/www/hosted-trial/shared/bundle/ruby/2.0.0/gems/rails_admin-0.6.0/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application (13.8ms)
I, [2014-10-07T02:00:24.385148 #13077] INFO -- : Completed 500 Internal Server Error in 22ms
F, [2014-10-07T02:00:24.393284 #13
struct of_bsn_aux_cxn_request : of_bsn_header {
uint8_t version;
uint8_t type == 4;
uint16_t length;
uint32_t xid;
uint32_t experimenter == 0x5c16c7;
uint32_t subtype == 58;
};
struct of_bsn_aux_cxn_reply : of_bsn_header {
// Generates block data in hex
function generateDiskData(activity, t, s, b, data)
{
// Convert values to strings, map get ASCII calues to hex strings
return (activity.toString() + t.toString() + s.toString() + data.toString()).split ('').map (function (c) { return c.charCodeAt(0).toString(16); })
}