Skip to content

Instantly share code, notes, and snippets.

@Mierdin
Created July 10, 2014 15:42
Show Gist options
  • Select an option

  • Save Mierdin/fb5dc92f3c8aa75c0be2 to your computer and use it in GitHub Desktop.

Select an option

Save Mierdin/fb5dc92f3c8aa75c0be2 to your computer and use it in GitHub Desktop.
08:47:31.784 [main] TRACE o.o.o.l.j.JsonRpcEndpoint - {"id":"c927ed19-f42d-4ed3-bb0c-ce0b9e14c47e","method":"list_dbs","params":[]}
08:47:31.819 [nioEventLoopGroup-3-1] TRACE o.o.o.l.j.JsonRpcEndpoint - Response : {"id":"c927ed19-f42d-4ed3-bb0c-ce0b9e14c47e","result":["hardware_vtep","Open_vSwitch"],"error":null}
08:47:31.869 [main] TRACE o.o.o.l.j.JsonRpcEndpoint - {"id":"c2f22bea-445b-4699-9bc0-b5d380ec1a5f","method":"get_schema","params":["hardware_vtep"]}
08:47:31.903 [nioEventLoopGroup-3-1] TRACE o.o.o.l.j.JsonRpcEndpoint - Response : {"id":"c2f22bea-445b-4699-9bc0-b5d380ec1a5f","result":{"tables":{"Physical_Port":{"columns":{"name":{"type":"string"},"description":{"type":"string"},"vlan_stats":{"type":{"key":{"maxInteger":4095,"minInteger":0,"type":"integer"},"min":0,"value":{"type":"uuid","refTable":"Logical_Binding_Stats"},"max":"unlimited"}},"vlan_bindings":{"type":{"key":{"maxInteger":4095,"minInteger":0,"type":"integer"},"min":0,"value":{"type":"uuid","refTable":"Logical_Switch"},"max":"unlimited"}},"port_fault_status":{"ephemeral":true,"type":{"key":"string","min":0,"max":"unlimited"}}}},"Physical_Locator_Set":{"columns":{"locators":{"mutable":false,"type":{"key":{"type":"uuid","refTable":"Physical_Locator"},"max":"unlimited"}}}},"Manager":{"columns":{"is_connected":{"ephemeral":true,"type":"boolean"},"status":{"ephemeral":true,"type":{"key":"string","min":0,"value":"string","max":"unlimited"}},"target":{"type":"string"},"other_config":{"type":{"key":"string","min":0,"value":"string","max":"unlimited"}},"inactivity_probe":{"type":{"key":"integer","min":0}},"max_backoff":{"type":{"key":{"minInteger":1000,"type":"integer"},"min":0}}},"indexes":[["target"]]},"Global":{"columns":{"managers":{"type":{"key":{"type":"uuid","refTable":"Manager"},"min":0,"max":"unlimited"}},"switches":{"type":{"key":{"type":"uuid","refTable":"Physical_Switch"},"min":0,"max":"unlimited"}}},"maxRows":1,"isRoot":true},"Mcast_Macs_Local":{"columns":{"ipaddr":{"type":"string"},"logical_switch":{"type":{"key":{"type":"uuid","refTable":"Logical_Switch"}}},"locator_set":{"type":{"key":{"type":"uuid","refTable":"Physical_Locator_Set"}}},"MAC":{"type":"string"}},"isRoot":true},"Logical_Switch":{"columns":{"name":{"type":"string"},"description":{"type":"string"},"tunnel_key":{"type":{"key":"integer","min":0}}},"isRoot":true,"indexes":[["name"]]},"Ucast_Macs_Local":{"columns":{"ipaddr":{"type":"string"},"logical_switch":{"type":{"key":{"type":"uuid","refTable":"Logical_Switch"}}},"MAC":{"type":"string"},"locator":{"type":{"key":{"type":"uuid","refTable":"Physical_Locator"}}}},"isRoot":true},"Physical_Switch":{"columns":{"description":{"type":"string"},"name":{"type":"string"},"tunnel_ips":{"type":{"key":"string","min":0,"max":"unlimited"}},"ports":{"type":{"key":{"type":"uuid","refTable":"Physical_Port"},"min":0,"max":"unlimited"}},"management_ips":{"type":{"key":"string","min":0,"max":"unlimited"}},"switch_fault_status":{"ephemeral":true,"type":{"key":"string","min":0,"max":"unlimited"}}},"indexes":[["name"]]},"Ucast_Macs_Remote":{"columns":{"ipaddr":{"type":"string"},"logical_switch":{"type":{"key":{"type":"uuid","refTable":"Logical_Switch"}}},"MAC":{"type":"string"},"locator":{"type":{"key":{"type":"uuid","refTable":"Physical_Locator"}}}},"isRoot":true},"Logical_Binding_Stats":{"columns":{"packets_to_local":{"type":"integer"},"packets_from_local":{"type":"integer"},"bytes_from_local":{"type":"integer"},"bytes_to_local":{"type":"integer"}}},"Physical_Locator":{"columns":{"bfd":{"type":{"key":"string","min":0,"value":"string","max":"unlimited"}},"dst_ip":{"mutable":false,"type":"string"},"encapsulation_type":{"mutable":false,"type":{"key":{"type":"string","enum":"vxlan_over_ipv4"}}},"bfd_status":{"type":{"key":"string","min":0,"value":"string","max":"unlimited"}}},"indexes":[["encapsulation_type","dst_ip"]]},"Arp_Sources_Remote":{"columns":{"src_mac":{"type":"string"},"locator":{"type":{"key":{"type":"uuid","refTable":"Physical_Locator"}}}},"isRoot":true},"Mcast_Macs_Remote":{"columns":{"ipaddr":{"type":"string"},"logical_switch":{"type":{"key":{"type":"uuid","refTable":"Logical_Switch"}}},"locator_set":{"type":{"key":{"type":"uuid","refTable":"Physical_Locator_Set"}}},"MAC":{"type":"string"}},"isRoot":true},"Logical_Router":{"columns":{"name":{"type":"string"},"description":{"type":"string"},"switch_binding":{"type":{"key":"string","min":0,"value":{"type":"uuid","refTable":"Logical_Switch"},"max":"unlimited"}},"static_routes":{"type":{"key":"string","min":0,"value":"string","max":"unlimited"}}},"isRoot":true,"indexes":[["name"]]},"Arp_Sources_Local":{"columns":{"src_mac":{"type":"string"},"locator":{"type":{"key":{"type":"uuid","refTable":"Physical_Locator"}}}},"isRoot":true}},"cksum":"3096797177 6063","name":"hardware_vtep","version":"1.2.0"},"error":null}
08:47:32.009 [main] TRACE o.o.o.l.j.JsonRpcEndpoint - {"id":"c79e8043-411d-4728-b3a9-5cbe0709afea","method":"transact","params":["hardware_vtep",{"op":"insert","row":{"target":"ptcp:6641"},"uuid-name":"foobar","table":"Manager"},{"op":"mutate","where":[],"mutations":[["managers","insert",["set",[["named-uuid","foobar"]]]]],"table":"Global"}]}
08:47:32.019 [nioEventLoopGroup-3-1] TRACE o.o.o.l.j.JsonRpcEndpoint - Response : {"id":"c79e8043-411d-4728-b3a9-5cbe0709afea","result":[{"uuid":["uuid","9c1f13dc-52ef-4031-85a1-9fedb4bd8d35"]},{"count":1}],"error":null}
08:47:32.047 [main] INFO o.o.o.s.h.ManagerTestCases - Insert & Mutate operation results for new manager = [OperationResult [count=0, uuid=9c1f13dc-52ef-4031-85a1-9fedb4bd8d35, rows=null, error=null, details=null], OperationResult [count=1, uuid=null, rows=null, error=null, details=null]]
08:47:37.134 [nioEventLoopGroup-3-1] TRACE o.o.o.l.j.JsonRpcEndpoint - Request : "echo" []
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.762 sec <<< FAILURE! - in org.opendaylight.ovsdb.schema.hardwarevtep.HardwareVtepSchemaSuiteIT
createManager(org.opendaylight.ovsdb.schema.hardwarevtep.ManagerTestCases) Time elapsed: 10.729 sec <<< ERROR!
java.lang.NullPointerException: null
at org.opendaylight.ovsdb.schema.hardwarevtep.ManagerTestCases.createManager(ManagerTestCases.java:99)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment