Skip to content

Instantly share code, notes, and snippets.

Created June 9, 2015 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/cd64c801b55cef23a4db to your computer and use it in GitHub Desktop.
Save anonymous/cd64c801b55cef23a4db to your computer and use it in GitHub Desktop.
$ ovsdb-tool -mm show-log
record 0: "Open_vSwitch" schema, version="7.6.0", cksum="1731605290 20602"
record 1: 2015-06-09 15:45:10.972 "ovs-vsctl: ovs-vsctl --no-wait -- init -- set Open_vSwitch . db-version=7.6.0"
table Open_vSwitch insert row 5d3eb4f3:
db_version="7.6.0"
record 2: 2015-06-09 15:45:10.978 "ovs-vsctl: ovs-vsctl --no-wait set Open_vSwitch . ovs-version=2.3.0 "external-ids:system-id=\"142a0a54-9a9c-4031-9600-b2c7b1ceaf20\"" "system-type=\"Ubuntu\"" "system-version=\"14.04-trusty\"""
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
system_version="14.04-trusty"
ovs_version="2.3.0"
system_type=Ubuntu
external_ids={system-id="142a0a54-9a9c-4031-9600-b2c7b1ceaf20"}
record 3: 2015-06-09 15:50:36.506 "ovs-vsctl: ovs-vsctl set-manager tcp:192.168.50.1:6640"
table Manager insert row e8ce85c4:
target="tcp:192.168.50.1:6640"
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
manager_options=[e8ce85c4-9814-448f-964f-068f6de576c1]
next_cfg=1
record 4: 2015-06-09 15:50:36.506
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
cur_cfg=1
record 5: 2015-06-09 15:50:36.515 "ovs-vsctl: ovs-vsctl set Open_vSwitch 5d3eb4f3-b38d-447f-af66-53d0b80d9bc7 other_config:local_ip=192.168.50.20"
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
other_config={local_ip="192.168.50.20"}
next_cfg=2
record 6: 2015-06-09 15:50:36.515
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
cur_cfg=2
record 7: 2015-06-09 15:50:36.524 "ovs-vsctl: ovs-vsctl --no-wait -- --may-exist add-br br-ex"
table Port insert row "br-ex" (2ee70280):
name=br-ex
interfaces=[b5e03907-b9f6-45ae-b9a9-3f39598f949b]
table Bridge insert row "br-ex" (1baf8869):
name=br-ex
ports=[2ee70280-561c-4803-b5f7-560739e750ba]
table Interface insert row "br-ex" (b5e03907):
name=br-ex
type=internal
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
bridges=[1baf8869-01e7-45d4-8b78-27b691a83f97]
record 8: 2015-06-09 15:50:36.558
table Interface row "br-ex" (b5e03907):
ofport=65534
record 9: 2015-06-09 15:50:36.562 "ovs-vsctl: ovs-vsctl --no-wait br-set-external-id br-ex bridge-id br-ex"
table Bridge row "br-ex" (1baf8869):
external_ids={bridge-id=br-ex}
record 10: 2015-06-09 15:50:36.598 "ovs-vsctl: ovs-vsctl add-port br-ex eht2"
table Port insert row "eht2" (8c194d4a):
name="eht2"
interfaces=[d4f9a6b5-ff10-41d3-85e8-5ddab531d497]
table Bridge row "br-ex" (1baf8869):
ports=[2ee70280-561c-4803-b5f7-560739e750ba, 8c194d4a-5574-4190-a31f-bb6787ade99f]
table Interface insert row "eht2" (d4f9a6b5):
name="eht2"
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
next_cfg=3
record 11: 2015-06-09 15:50:36.621
table Interface row "eht2" (d4f9a6b5):
ofport=-1
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
cur_cfg=3
record 12: 2015-06-09 15:50:37.022
table Port insert row "br-int" (03d47b2d):
name=br-int
interfaces=[58c5491d-32e1-4e1f-bac2-1510f505bc3c]
table Interface insert row "br-int" (58c5491d):
name=br-int
type=internal
table Bridge insert row "br-int" (2d8f3937):
name=br-int
fail_mode=secure
protocols=["OpenFlow13"]
ports=[03d47b2d-e576-46ff-b2d5-e414df9f5934]
external_ids={opendaylight-iid="/network-topology:network-topology/network-topology:topology[network-topology:topology-id='ovsdb:1']/network-topology:node[network-topology:node-id='ovsdb://uuid/5d3eb4f3-b38d-447f-af66-53d0b80d9bc7/bridge/br-int']"}
controller=[98d5fe51-e0d2-41a5-9b2b-7b5dc06ba53d]
table Controller insert row 98d5fe51:
target="tcp:192.168.50.1:6653"
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
bridges=[1baf8869-01e7-45d4-8b78-27b691a83f97, 2d8f3937-fd43-4f2c-8471-7d9618fb5e13]
record 13: 2015-06-09 15:50:37.059
table Interface row "br-int" (58c5491d):
ofport=65534
record 14: 2015-06-09 15:58:08.142 "ovs-vsctl: /usr/bin/ovs-vsctl --timeout=10 --oneline --format=json -- --if-exists del-port tap79adcba5-19 -- add-port br-int tap79adcba5-19 -- set Interface tap79adcba5-19 type=internal external_ids:iface-id=79adcba5-19e0-489c-9505-cc70f9eba2a1 external_ids:iface-status=active external_ids:attached-mac=fa:16:3e:8f:70:a9"
table Port insert row "tap79adcba5-19" (89757ed4):
name="tap79adcba5-19"
interfaces=[f8817342-44ba-4e5d-bbe3-b70c1d513d4e]
table Interface insert row "tap79adcba5-19" (f8817342):
name="tap79adcba5-19"
external_ids={attached-mac="fa:16:3e:8f:70:a9", iface-id="79adcba5-19e0-489c-9505-cc70f9eba2a1", iface-status=active}
type=internal
table Bridge row "br-int" (2d8f3937):
ports=[03d47b2d-e576-46ff-b2d5-e414df9f5934, 89757ed4-bf05-4b62-a62b-39e9d34ecbf9]
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
next_cfg=4
record 15: 2015-06-09 15:58:08.150
table Interface row "tap79adcba5-19" (f8817342):
ofport=1
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
cur_cfg=4
record 16: 2015-06-09 15:58:08.191
table Port insert row "patch-ext" (01622f58):
name=patch-ext
interfaces=[cdd71ea3-9563-48cf-bbb2-322e72b8f71d]
external_ids={opendaylight-iid="/network-topology:network-topology/network-topology:topology[network-topology:topology-id='ovsdb:1']/network-topology:node[network-topology:node-id='ovsdb://uuid/5d3eb4f3-b38d-447f-af66-53d0b80d9bc7/bridge/br-int']/network-topology:termination-point[network-topology:tp-id='patch-ext']"}
table Interface insert row "patch-ext" (cdd71ea3):
options={peer=patch-int}
name=patch-ext
type=patch
table Bridge row "br-int" (2d8f3937):
ports=[01622f58-026c-40ca-a89d-c8477ea7eda3, 03d47b2d-e576-46ff-b2d5-e414df9f5934, 89757ed4-bf05-4b62-a62b-39e9d34ecbf9]
record 17: 2015-06-09 15:58:08.218
table Interface row "patch-ext" (cdd71ea3):
ofport=2
record 18: 2015-06-09 15:58:29.397 "ovs-vsctl: ovs-vsctl --timeout=5 -- --if-exists del-port tap341ceaca-24 -- add-port br-int tap341ceaca-24 -- set Interface tap341ceaca-24 "external-ids:attached-mac=\"fa:16:3e:8e:b8:05\"" -- set Interface tap341ceaca-24 "external-ids:iface-id=\"341ceaca-24bf-4017-9b08-c3180e86fd24\"" -- set Interface tap341ceaca-24 "external-ids:vm-id=\"20e500c3-41e1-4be0-b854-55c710a1cfb2\"" -- set Interface tap341ceaca-24 external-ids:iface-status=active"
table Port insert row "tap341ceaca-24" (70f501de):
name="tap341ceaca-24"
interfaces=[79ed5e0a-c9bc-45d3-8df2-9d50cdb40d61]
table Interface insert row "tap341ceaca-24" (79ed5e0a):
name="tap341ceaca-24"
external_ids={attached-mac="fa:16:3e:8e:b8:05", iface-id="341ceaca-24bf-4017-9b08-c3180e86fd24", iface-status=active, vm-id="20e500c3-41e1-4be0-b854-55c710a1cfb2"}
table Bridge row "br-int" (2d8f3937):
ports=[01622f58-026c-40ca-a89d-c8477ea7eda3, 03d47b2d-e576-46ff-b2d5-e414df9f5934, 70f501de-2d65-441a-a48c-29af3ab775db, 89757ed4-bf05-4b62-a62b-39e9d34ecbf9]
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
next_cfg=5
record 19: 2015-06-09 15:58:29.411
table Interface row "tap341ceaca-24" (79ed5e0a):
ofport=3
table Open_vSwitch row 5d3eb4f3 (5d3eb4f3):
cur_cfg=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment