ovsdb-js
Version:
A node.js library implementation of the ovsdb protocol.
17 lines (16 loc) • 4.3 kB
Plain Text
2015-04-05T22:30:32Z|00002|reconnect|DBG|unix:/var/run/openvswitch/db.sock: entering BACKOFF
2015-04-05T22:30:32Z|00003|hmap|DBG|../lib/shash.c:112: 6 nodes in bucket (16 nodes, 8 buckets)
2015-04-05T22:30:32Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
2015-04-05T22:30:32Z|00005|reconnect|DBG|unix:/var/run/openvswitch/db.sock: entering CONNECTING
2015-04-05T22:30:32Z|00006|poll_loop|DBG|wakeup due to [POLLOUT] on fd 4 (<->/var/run/openvswitch/db.sock) at ../lib/stream-fd.c:120
2015-04-05T22:30:32Z|00007|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
2015-04-05T22:30:32Z|00008|reconnect|DBG|unix:/var/run/openvswitch/db.sock: entering ACTIVE
2015-04-05T22:30:32Z|00009|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: send request, method="monitor", params=["Open_vSwitch",null,{"Port":{"columns":["fake_bridge","interfaces","name","tag"]},"Interface":{"columns":["name"]},"Bridge":{"columns":["controller","fail_mode","name","ports"]},"Controller":{"columns":[]},"Open_vSwitch":{"columns":["bridges","cur_cfg"]}}], id=0
2015-04-05T22:30:32Z|00010|poll_loop|DBG|wakeup due to [POLLIN] on fd 4 (<->/var/run/openvswitch/db.sock) at ../lib/stream-fd.c:124
2015-04-05T22:30:32Z|00011|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received reply, result={"Open_vSwitch":{"fa82dde0-1675-4b31-a1f7-e1214967ddad":{"new":{"bridges":["set",[]],"cur_cfg":0}}}}, id=0
2015-04-05T22:30:32Z|00012|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: send request, method="transact", params=["Open_vSwitch",{"rows":[{"bridges":["set",[]]}],"columns":["bridges"],"table":"Open_vSwitch","until":"==","where":[["_uuid","==",["uuid","fa82dde0-1675-4b31-a1f7-e1214967ddad"]]],"timeout":0,"op":"wait"},{"row":{"name":"br0","ports":["named-uuid","row754c9bd8_e493_4106_b167_6a2653fb0c10"]},"table":"Bridge","uuid-name":"row63643e18_dc46_4329_90a5_6443abc2f2f7","op":"insert"},{"row":{"name":"br0","interfaces":["named-uuid","row4b414502_c69f_4ea6_86e1_fdf50d8e0883"]},"table":"Port","uuid-name":"row754c9bd8_e493_4106_b167_6a2653fb0c10","op":"insert"},{"row":{"bridges":["named-uuid","row63643e18_dc46_4329_90a5_6443abc2f2f7"]},"table":"Open_vSwitch","where":[["_uuid","==",["uuid","fa82dde0-1675-4b31-a1f7-e1214967ddad"]]],"op":"update"},{"row":{"name":"br0","type":"internal"},"table":"Interface","uuid-name":"row4b414502_c69f_4ea6_86e1_fdf50d8e0883","op":"insert"},{"mutations":[["next_cfg","+=",1]],"table":"Open_vSwitch","where":[["_uuid","==",["uuid","fa82dde0-1675-4b31-a1f7-e1214967ddad"]]],"op":"mutate"},{"columns":["next_cfg"],"table":"Open_vSwitch","where":[["_uuid","==",["uuid","fa82dde0-1675-4b31-a1f7-e1214967ddad"]]],"op":"select"},{"comment":"ovs-vsctl: ovs-vsctl -v add-br br0","op":"comment"}], id=1
2015-04-05T22:30:32Z|00013|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received notification, method="update", params=[null,{"Port":{"c126c2a3-3dbe-4b32-a3c2-72e545c47ad3":{"new":{"name":"br0","fake_bridge":false,"interfaces":["uuid","ee422d89-d456-45e2-baf8-1c5c7073fef8"],"tag":["set",[]]}}},"Bridge":{"78dd76e2-404d-4ade-bbda-a9865019665b":{"new":{"fail_mode":["set",[]],"name":"br0","ports":["uuid","c126c2a3-3dbe-4b32-a3c2-72e545c47ad3"],"controller":["set",[]]}}},"Interface":{"ee422d89-d456-45e2-baf8-1c5c7073fef8":{"new":{"name":"br0"}}},"Open_vSwitch":{"fa82dde0-1675-4b31-a1f7-e1214967ddad":{"old":{"bridges":["set",[]]},"new":{"bridges":["uuid","78dd76e2-404d-4ade-bbda-a9865019665b"],"cur_cfg":0}}}}]
2015-04-05T22:30:32Z|00014|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received reply, result=[{},{"uuid":["uuid","78dd76e2-404d-4ade-bbda-a9865019665b"]},{"uuid":["uuid","c126c2a3-3dbe-4b32-a3c2-72e545c47ad3"]},{"count":1},{"uuid":["uuid","ee422d89-d456-45e2-baf8-1c5c7073fef8"]},{"count":1},{"rows":[{"next_cfg":1}]},{}], id=1
2015-04-05T22:30:32Z|00015|poll_loop|DBG|wakeup due to 0-ms timeout at ../lib/ovsdb-idl.c:1341
2015-04-05T22:30:32Z|00016|poll_loop|DBG|wakeup due to [POLLIN] on fd 4 (<->/var/run/openvswitch/db.sock) at ../lib/stream-fd.c:124
2015-04-05T22:30:32Z|00017|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received notification, method="update", params=[null,{"Open_vSwitch":{"fa82dde0-1675-4b31-a1f7-e1214967ddad":{"old":{"cur_cfg":0},"new":{"bridges":["uuid","78dd76e2-404d-4ade-bbda-a9865019665b"],"cur_cfg":1}}}}]