Because ovsdb is a generic database tool, some one may have build other schemas. But for a native open vswitch install, this is the default state:
# ovsdb-client list-dbs Open_vSwitch _Server
It is possible to add a tcp connection to gain access to the database:
# ovs-appctl -t ovsdb-server ovsdb-server/add-remote ptcp:6640 # netstat -antp |grep ovs tcp 0 0 0.0.0.0:6640 0.0.0.0:* LISTEN 746/ovsdb-server tcp 0 0 127.0.0.1:57424 127.0.0.1:6633 ESTABLISHED 397/ovs-vswitchd
But on linux, there is an existing linux stream available:
# lsof|grep ovsdb|grep STREAM ovsdb-ser 746 root 5u unix 0x000000001740f722 0t0 59425581 /var/run/openvswitch/db.sock type=STREAM ovsdb-ser 746 root 16u unix 0x0000000021edd23e 0t0 12914 /var/run/openvswitch/db.sock type=STREAM ovsdb-ser 746 root 19u unix 0x000000001b392a81 0t0 20287 /var/run/openvswitch/ovsdb-server.746.ctl type=STREAM
# ovs-vsctl list open_vswitch _uuid : 8cfeb1c0-34ca-4f91-a162-7e9aef141344 bridges : [e65f5e97-36ec-45e3-b83e-64129dae61d3] cur_cfg : 65 datapath_types : [netdev, system] db_version : "7.16.1" dpdk_initialized : false dpdk_version : none external_ids : {hostname="nuc8i7hvk01.burkholder.net", rundir="/var/run/openvswitch", system-id="02700cd5-96f5-4b4e-90b4-5e67fe06abf7"} iface_types : [erspan, geneve, gre, internal, "ip6erspan", "ip6gre", lisp, patch, stt, system, tap, vxlan] manager_options : [] next_cfg : 65 other_config : {} ovs_version : "2.10.1" ssl : [] statistics : {} system_type : debian system_version : []
# ovs-appctl dpif/show system@ovs-system: hit:50661581 missed:207452 ovsbr0: eno1 5/3: (system) enp5s0 2/1: (system) ovsbr0 65534/2: (internal) veth-nvpn-v90 6/6: (system) vlan110 4/5: (internal) vlan90 3/4: (internal)
# ovs-appctl dpctl/show -s system@ovs-system: lookups: hit:50661616 missed:207458 lost:0 flows: 6 masks: hit:211426886 total:10 hit/pkt:4.16 port 0: ovs-system (internal) RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1428 errors:0 dropped:0 aborted:0 carrier:0 collisions:0 RX bytes:0 TX bytes:177489 (173.3 KiB) port 1: enp5s0 RX packets:19439356 errors:0 dropped:0 overruns:0 frame:0 TX packets:30374161 errors:0 dropped:0 aborted:0 carrier:0 collisions:0 RX bytes:10608677166 (9.9 GiB) TX bytes:29950322693 (27.9 GiB) port 2: ovsbr0 (internal) RX packets:333032 errors:0 dropped:29829 overruns:0 frame:0 TX packets:1428 errors:0 dropped:0 aborted:0 carrier:0 collisions:0 RX bytes:23060625 (22.0 MiB) TX bytes:177489 (173.3 KiB) port 3: eno1 RX packets:6037565 errors:0 dropped:0 overruns:0 frame:0 TX packets:5719808 errors:0 dropped:0 aborted:0 carrier:0 collisions:0 RX bytes:4726094728 (4.4 GiB) TX bytes:3277870100 (3.1 GiB) port 4: vlan90 (internal) RX packets:0 errors:0 dropped:274558 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 aborted:0 carrier:0 collisions:0 RX bytes:0 TX bytes:0 port 5: vlan110 (internal) RX packets:0 errors:0 dropped:274101 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 aborted:0 carrier:0 collisions:0 RX bytes:0 TX bytes:0 port 6: veth-nvpn-v90 RX packets:5000388 errors:0 dropped:0 overruns:0 frame:0 TX packets:5788139 errors:0 dropped:0 aborted:0 carrier:0 collisions:0 RX bytes:3055006377 (2.8 GiB) TX bytes:4647166781 (4.3 GiB)