본문으로 바로가기

ovsdb 모니터링

category Cloud/OpenvSwitch 2021. 7. 1. 16:14
반응형

1. ovsdb 정보 확인방법?

[root@rhosp-dpdk-comp-1 ~]# ovsdb-client dump
AutoAttach table
_uuid mappings system_description system_name
----- -------- ------------------ -----------

Bridge table
_uuid                                auto_attach controller                             datapath_id        datapath_type datapath_version external_ids fail_mode flood_vlans flow_tables ipfix mcast_snooping_enable mirrors name           netflow other_config             ports                                                                                                                                                                                                                                                                      protocols                    rstp_enable rstp_status sflow status stp_enable
------------------------------------ ----------- -------------------------------------- ------------------ ------------- ---------------- ------------ --------- ----------- ----------- ----- --------------------- ------- -------------- ------- ------------------------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------- ----------- ----------- ----- ------ ----------
434ff8ac-9214-45b5-9e3b-677fbcc0c8a7 []          [1ffdb0d9-94ff-4000-88a8-f26fc306d1d7] "000040a6b70a7000" netdev        "<built-in>"     {}           secure    []          {}          []    false                 []      "br-dpdkbond0" []      {mac-table-size="50000"} [1f778697-a645-4ec0-a379-144a3d9fee69, 42be3a23-9699-439d-a53a-f90dfea4c513, 6a3348e5-0524-4882-b860-8247d322b618]                                                                                                                                                         ["OpenFlow10", "OpenFlow13"] false       {}          []    {}     false
50fd0c98-6c7d-4100-933f-95fd8c80a8a5 []          [e894fe96-ba5c-45d5-b9f2-1ae7a6802dee] "00009a0cfd500041" netdev        "<built-in>"     {}           secure    []          {}          []    false                 []      br-int         []      {mac-table-size="50000"} [7fcd7f03-e7b5-41ea-9629-93ab57d26351, 9289780b-ae75-495b-af04-ed41da2175f2, a946210d-d38d-4eb7-b108-154113849cf3, a9c919b9-868f-4806-a2af-11f43b6d84ba, ad2e512c-be42-46a1-b3e0-c032c526d751, c8edebb2-18fd-43ea-8790-3df364058edc, d001a434-3107-4590-bc44-b9decc227f7f] ["OpenFlow10", "OpenFlow13"] false       {}          []    {}     false

Controller table
_uuid                                connection_mode controller_burst_limit controller_rate_limit enable_async_messages external_ids inactivity_probe is_connected local_gateway local_ip local_netmask max_backoff other_config role  status                                                                     target
------------------------------------ --------------- ---------------------- --------------------- --------------------- ------------ ---------------- ------------ ------------- -------- ------------- ----------- ------------ ----- -------------------------------------------------------------------------- --------------------
1ffdb0d9-94ff-4000-88a8-f26fc306d1d7 out-of-band     []                     []                    []                    {}           []               true         []            []       []            []          {}           other {sec_since_connect="88478", state=ACTIVE}                                  "tcp:127.0.0.1:6633"
e894fe96-ba5c-45d5-b9f2-1ae7a6802dee out-of-band     []                     []                    []                    {}           []               true         []            []       []            []          {}           other {last_error="Connection refused", sec_since_connect="88479", state=ACTIVE} "tcp:127.0.0.1:6633"

Flow_Sample_Collector_Set table
_uuid bridge external_ids id ipfix
----- ------ ------------ -- -----

Flow_Table table
_uuid external_ids flow_limit groups name overflow_policy prefixes
----- ------------ ---------- ------ ---- --------------- --------

IPFIX table
_uuid cache_active_timeout cache_max_flows external_ids obs_domain_id obs_point_id other_config sampling targets
----- -------------------- --------------- ------------ ------------- ------------ ------------ -------- -------

Interface table
_uuid                                admin_state bfd bfd_status cfm_fault cfm_fault_status cfm_flap_count cfm_health cfm_mpid cfm_remote_mpids cfm_remote_opstate duplex error external_ids                                                                                                                                             ifindex  ingress_policing_burst ingress_policing_rate lacp_current link_resets link_speed link_state lldp mac mac_in_use          mtu  mtu_request name              ofport ofport_request options                                                     other_config statistics                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             status                                                                                                                                                                                                                                                                                                                  type
------------------------------------ ----------- --- ---------- --------- ---------------- -------------- ---------- -------- ---------------- ------------------ ------ ----- -------------------------------------------------------------------------------------------------------------------------------------------------------- -------- ---------------------- --------------------- ------------ ----------- ---------- ---------- ---- --- ------------------- ---- ----------- ----------------- ------ -------------- ----------------------------------------------------------- ------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------
3713d13c-16aa-4dd4-ae15-088559ceb723 down        {}  {}         []        []               []             []         []       []               []                 full   []    {}                                                                                                                                                       11       0                      0                     []           0           10000000   down       {}   []  "9a:0c:fd:50:00:41" 1500 []          br-int            65534  []             {}                                                          {}           {collisions=0, rx_bytes=0, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=0, tx_bytes=0, tx_dropped=92891, tx_errors=0, tx_packets=0}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              {driver_name=tun, driver_version="1.6", firmware_version=""}                                                                                                                                                                                                                                                            internal
c661593c-8018-4303-8ddb-0c0fd60c82a1 up          {}  {}         []        []               []             []         []       []               []                 []     []    {}                                                                                                                                                       0        0                      0                     []           0           []         up         {}   []  "3e:65:8c:56:6a:ed" []   []          "int-br-dp8bea82" 2      []             {peer="phy-br-dp8bea82"}                                    {}           {rx_bytes=5304321, rx_packets=44565, tx_bytes=5147247, tx_packets=93629}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               {}                                                                                                                                                                                                                                                                                                                      patch
45226df7-2e36-4565-a520-a6be92403e45 up          {}  {}         []        []               []             []         []       []               []                 []     []    {}                                                                                                                                                       0        0                      0                     []           0           []         up         {}   []  "b2:e2:cd:e0:5d:53" []   []          "phy-br-dp8bea82" 3      []             {peer="int-br-dp8bea82"}                                    {}           {rx_bytes=5147247, rx_packets=93629, tx_bytes=5304321, tx_packets=44565}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               {}                                                                                                                                                                                                                                                                                                                      patch
e4781a59-dd48-4b9c-bd73-1f488dc6d91f up          {}  {}         []        []               []             []         []       []               []                 []     []    {}                                                                                                                                                       6054325  0                      0                     true         4           []         up         {}   []  "40:a6:b7:0a:70:01" 1500 1500        "dpdk1"           1      []             {dpdk-devargs="0000:3b:00.1", n_rxq="2"}                    {}           {mac_local_errors=1, mac_remote_errors=19, "rx_1024_to_1522_packets"=10, "rx_128_to_255_packets"=91417, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=80, "rx_256_to_511_packets"=10333, "rx_512_to_1023_packets"=1, "rx_65_to_127_packets"=20758, rx_broadcast_packets=18332, rx_bytes=15392329, rx_crc_errors=0, rx_dropped=0, rx_errors=0, rx_fragmented_errors=0, rx_illegal_byte_errors=0, rx_jabber_errors=0, rx_length_errors=0, rx_mac_short_dropped=0, rx_mbuf_allocation_errors=0, rx_oversize_errors=0, rx_packets=122599, rx_undersized_errors=0, "tx_1024_to_1522_packets"=0, "tx_128_to_255_packets"=2956, "tx_1523_to_max_packets"=0, "tx_1_to_64_packets"=264, "tx_256_to_511_packets"=0, "tx_512_to_1023_packets"=2, "tx_65_to_127_packets"=3068, tx_broadcast_packets=18, tx_bytes=391082, tx_dropped=0, tx_errors=0, tx_link_down_dropped=4, tx_multicast_packets=6008, tx_packets=6290}         {driver_name="net_i40e", if_descr="DPDK 17.11.0 net_i40e", if_type="6", max_hash_mac_addrs="0", max_mac_addrs="64", max_rx_pktlen="1518", max_rx_queues="320", max_tx_queues="320", max_vfs="0", max_vmdq_pools="64", min_rx_bufsize="1024", numa_id="0", pci-device_id="0x158b", pci-vendor_id="0x32902", port_no="1"} dpdk
fffeaf06-1883-4aab-8abc-37ca1c7411bc up          {}  {}         []        []               []             []         []       []               []                 []     []    {}                                                                                                                                                       10816857 0                      0                     true         2           []         up         {}   []  "40:a6:b7:0a:70:00" 1500 1500        "dpdk0"           2      []             {dpdk-devargs="0000:3b:00.0", n_rxq="2"}                    {}           {mac_local_errors=1, mac_remote_errors=1, "rx_1024_to_1522_packets"=8, "rx_128_to_255_packets"=91938, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=44243, "rx_256_to_511_packets"=2960, "rx_512_to_1023_packets"=4, "rx_65_to_127_packets"=1741647, rx_broadcast_packets=4200, rx_bytes=131556499, rx_crc_errors=0, rx_dropped=0, rx_errors=0, rx_fragmented_errors=0, rx_illegal_byte_errors=0, rx_jabber_errors=0, rx_length_errors=0, rx_mac_short_dropped=0, rx_mbuf_allocation_errors=0, rx_oversize_errors=0, rx_packets=1880800, rx_undersized_errors=0, "tx_1024_to_1522_packets"=0, "tx_128_to_255_packets"=3692, "tx_1523_to_max_packets"=0, "tx_1_to_64_packets"=89432, "tx_256_to_511_packets"=0, "tx_512_to_1023_packets"=3, "tx_65_to_127_packets"=6063, tx_broadcast_packets=39, tx_bytes=6056249, tx_dropped=0, tx_errors=0, tx_link_down_dropped=4, tx_multicast_packets=94477, tx_packets=99190} {driver_name="net_i40e", if_descr="DPDK 17.11.0 net_i40e", if_type="6", max_hash_mac_addrs="0", max_mac_addrs="64", max_rx_pktlen="1518", max_rx_queues="320", max_tx_queues="320", max_vfs="0", max_vmdq_pools="64", min_rx_bufsize="1024", numa_id="0", pci-device_id="0x158b", pci-vendor_id="0x32902", port_no="0"} dpdk
6ac263c8-3b7d-419d-9e39-6b084b4d156c up          {}  {}         []        []               []             []         []       []               []                 []     []    {attached-mac="fa:16:3e:14:c4:85", iface-id="a974b0fa-26c6-4d92-8f86-78eaf50241e1", iface-status=active, vm-uuid="30fcdf6b-dcc4-435e-8a0f-99adf692ebdb"} 3283531  0                      0                     []           0           []         up         {}   []  "00:00:00:00:00:00" 1500 1500        "vhua974b0fa-26"  14     []             {vhost-server-path="/var/lib/vhost_sockets/vhua974b0fa-26"} {}           {"rx_1024_to_1522_packets"=0, "rx_128_to_255_packets"=0, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=2634, "rx_256_to_511_packets"=0, "rx_512_to_1023_packets"=1, "rx_65_to_127_packets"=87952, rx_bytes=6619959, rx_dropped=0, rx_errors=0, rx_packets=90587, tx_bytes=5156057, tx_dropped=64, tx_packets=95420}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 {features="0x0000000150208182", mode=client, num_of_vrings="2", numa="0", socket="/var/lib/vhost_sockets/vhua974b0fa-26", status=connected, "vring_0_size"="1024", "vring_1_size"="1024"}                                                                                                                               dpdkvhostuserclient
33c43fcb-dbd0-4102-932e-854e7728920a up          {}  {}         []        []               []             []         []       []               []                 []     []    {attached-mac="fa:16:3e:50:c3:cc", iface-id="3f735c48-42eb-4461-b1a0-4830c87b23b1", iface-status=active, vm-uuid="ca1af3e5-af18-4266-abfc-a9410189e8cd"} 9288455  0                      0                     []           0           []         up         {}   []  "00:00:00:00:00:00" 1500 1500        "vhu3f735c48-42"  8      []             {vhost-server-path="/var/lib/vhost_sockets/vhu3f735c48-42"} {}           {"rx_1024_to_1522_packets"=88400, "rx_128_to_255_packets"=2712655, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=91136, "rx_256_to_511_packets"=98059, "rx_512_to_1023_packets"=8, "rx_65_to_127_packets"=3596954, rx_bytes=848606493, rx_dropped=0, rx_errors=0, rx_packets=6587212, tx_bytes=903762230, tx_dropped=14, tx_packets=6602954}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        {features="0x0000000150208182", mode=client, num_of_vrings="2", numa="0", socket="/var/lib/vhost_sockets/vhu3f735c48-42", status=connected, "vring_0_size"="1024", "vring_1_size"="1024"}                                                                                                                               dpdkvhostuserclient
3d80bec6-6b80-455c-b14d-7002f8d80755 up          {}  {}         []        []               []             []         []       []               []                 []     []    {attached-mac="fa:16:3e:5f:4e:e9", iface-id="7d14ae5e-258f-4307-a651-ae7ee675fc79", iface-status=active, vm-uuid="6507de2d-9c4a-4d3a-ac69-99c5ff869d48"} 16353553 0                      0                     []           0           []         up         {}   []  "00:00:00:00:00:00" 1500 1500        "vhu7d14ae5e-25"  17     []             {vhost-server-path="/var/lib/vhost_sockets/vhu7d14ae5e-25"} {}           {"rx_1024_to_1522_packets"=0, "rx_128_to_255_packets"=0, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=2640, "rx_256_to_511_packets"=0, "rx_512_to_1023_packets"=1, "rx_65_to_127_packets"=88048, rx_bytes=6627315, rx_dropped=0, rx_errors=0, rx_packets=90689, tx_bytes=5154787, tx_dropped=89, tx_packets=95401}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 {features="0x0000000150208182", mode=client, num_of_vrings="2", numa="0", socket="/var/lib/vhost_sockets/vhu7d14ae5e-25", status=connected, "vring_0_size"="1024", "vring_1_size"="1024"}                                                                                                                               dpdkvhostuserclient
4bfb403b-f1bc-410a-950c-2699cbc857f9 up          {}  {}         []        []               []             []         []       []               []                 []     []    {attached-mac="fa:16:3e:5f:fb:d8", iface-id="56ecd373-49fd-4193-b70b-659973dd3f01", iface-status=active, vm-uuid="b3239fb6-1ebc-443a-afed-5661c0371bfe"} 11644776 0                      0                     []           0           []         up         {}   []  "00:00:00:00:00:00" 1500 1500        "vhu56ecd373-49"  11     []             {vhost-server-path="/var/lib/vhost_sockets/vhu56ecd373-49"} {}           {"rx_1024_to_1522_packets"=88401, "rx_128_to_255_packets"=2714799, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=187829, "rx_256_to_511_packets"=98066, "rx_512_to_1023_packets"=8, "rx_65_to_127_packets"=3511973, rx_bytes=847689728, rx_dropped=0, rx_errors=0, rx_packets=6601076, tx_bytes=925954530, tx_dropped=40, tx_packets=6881993}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       {features="0x0000000150208182", mode=client, num_of_vrings="2", numa="0", socket="/var/lib/vhost_sockets/vhu56ecd373-49", status=connected, "vring_0_size"="1024", "vring_1_size"="1024"}                                                                                                                               dpdkvhostuserclient
bffac398-d063-46f5-846f-a540a4cc499c up          {}  {}         []        []               []             []         []       []               []                 []     []    {attached-mac="fa:16:3e:98:fa:dc", iface-id="5087b5a1-495e-484f-9798-970f4fff9a3c", iface-status=active, vm-uuid="201fb774-45a4-4ff6-b7d5-d1c8d8b9f6e8"} 15945417 0                      0                     []           0           []         up         {}   []  "00:00:00:00:00:00" 1500 1500        "vhu5087b5a1-49"  5      []             {vhost-server-path="/var/lib/vhost_sockets/vhu5087b5a1-49"} {}           {"rx_1024_to_1522_packets"=91387, "rx_128_to_255_packets"=4581756, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=91081, "rx_256_to_511_packets"=143226, "rx_512_to_1023_packets"=170886, "rx_65_to_127_packets"=6457984, rx_bytes=1534317911, rx_dropped=0, rx_errors=0, rx_packets=11536320, tx_bytes=1419506525, tx_dropped=0, tx_packets=11516951}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               {features="0x0000000150208182", mode=client, num_of_vrings="2", numa="0", socket="/var/lib/vhost_sockets/vhu5087b5a1-49", status=connected, "vring_0_size"="1024", "vring_1_size"="1024"}                                                                                                                               dpdkvhostuserclient
4918f4a3-5598-466a-9030-a52028e441ad up          {}  {}         []        []               []             []         []       []               []                 full   []    {}                                                                                                                                                       12       0                      0                     []           1           10000000   up         {}   []  "40:a6:b7:0a:70:00" 1500 []          "br-dpdkbond0"    65534  []             {}                                                          {}           {collisions=0, rx_bytes=0, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=0, tx_bytes=10049983, tx_dropped=0, tx_errors=0, tx_packets=128666}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      {driver_name=tun, driver_version="1.6", firmware_version=""}                                                                                                                                                                                                                                                            internal

Manager table
_uuid                                connection_mode external_ids inactivity_probe is_connected max_backoff other_config status                                                                                  target
------------------------------------ --------------- ------------ ---------------- ------------ ----------- ------------ --------------------------------------------------------------------------------------- ---------------------
d07ee0d0-0beb-4473-ae28-c57d6408ab2b []              {}           []               true         []          {}           {bound_port="6640", n_connections="3", sec_since_connect="0", sec_since_disconnect="0"} "ptcp:6640:127.0.0.1"

Mirror table
_uuid external_ids name output_port output_vlan select_all select_dst_port select_src_port select_vlan snaplen statistics
----- ------------ ---- ----------- ----------- ---------- --------------- --------------- ----------- ------- ----------

NetFlow table
_uuid active_timeout add_id_to_interface engine_id engine_type external_ids targets
----- -------------- ------------------- --------- ----------- ------------ -------

Open_vSwitch table
_uuid                                bridges                                                                      cur_cfg datapath_types   db_version external_ids                                                                                                            iface_types                                                                                                    manager_options                        next_cfg other_config                                                                                                                ovs_version ssl statistics system_type system_version
------------------------------------ ---------------------------------------------------------------------------- ------- ---------------- ---------- ----------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------- -------------------------------------- -------- --------------------------------------------------------------------------------------------------------------------------- ----------- --- ---------- ----------- --------------
7bd8374c-0845-4655-9ff7-d0d37971275a [434ff8ac-9214-45b5-9e3b-677fbcc0c8a7, 50fd0c98-6c7d-4100-933f-95fd8c80a8a5] 1852    [netdev, system] "7.15.1"   {hostname="dpdk-comp-1.test.com", rundir="/var/run/openvswitch", system-id="2ceb6aef-8605-47f8-a693-219b6ef456c3"} [dpdk, dpdkr, dpdkvhostuser, dpdkvhostuserclient, geneve, gre, internal, lisp, patch, stt, system, tap, vxlan] [d07ee0d0-0beb-4473-ae28-c57d6408ab2b] 1852     {dpdk-extra="-n 4", dpdk-init="true", dpdk-lcore-mask="3000000003", dpdk-socket-mem="1024,1024", pmd-cpu-mask="c00000000c"} "2.9.0"     []  {}         rhel        "7.7"

Port table
_uuid                                bond_active_slave   bond_downdelay bond_fake_iface bond_mode   bond_updelay cvlans external_ids fake_bridge interfaces                                                                   lacp   mac name              other_config                                                                                                                                    protected qos rstp_statistics rstp_status statistics status tag trunks vlan_mode
------------------------------------ ------------------- -------------- --------------- ----------- ------------ ------ ------------ ----------- ---------------------------------------------------------------------------- ------ --- ----------------- ----------------------------------------------------------------------------------------------------------------------------------------------- --------- --- --------------- ----------- ---------- ------ --- ------ ---------
42be3a23-9699-439d-a53a-f90dfea4c513 []                  0              false           []          0            []     {}           false       [4918f4a3-5598-466a-9030-a52028e441ad]                                       []     []  "br-dpdkbond0"    {}                                                                                                                                              false     []  {}              {}          {}         {}     []  []     []
a9c919b9-868f-4806-a2af-11f43b6d84ba []                  0              false           []          0            []     {}           false       [3713d13c-16aa-4dd4-ae15-088559ceb723]                                       []     []  br-int            {}                                                                                                                                              false     []  {}              {}          {}         {}     []  []     []
9289780b-ae75-495b-af04-ed41da2175f2 []                  0              false           []          0            []     {}           false       [c661593c-8018-4303-8ddb-0c0fd60c82a1]                                       []     []  "int-br-dp8bea82" {}                                                                                                                                              false     []  {}              {}          {}         {}     []  []     []
1f778697-a645-4ec0-a379-144a3d9fee69 []                  0              false           []          0            []     {}           false       [45226df7-2e36-4565-a520-a6be92403e45]                                       []     []  "phy-br-dp8bea82" {}                                                                                                                                              false     []  {}              {}          {}         {}     []  []     []
a946210d-d38d-4eb7-b108-154113849cf3 []                  0              false           []          0            []     {}           false       [33c43fcb-dbd0-4102-932e-854e7728920a]                                       []     []  "vhu3f735c48-42"  {net_uuid="d5cc1eac-7172-44af-afca-fc44a37fa894", network_type=vlan, physical_network="physnet-az1-bare-dpdk", segmentation_id="1000", tag="1"} false     []  {}              {}          {}         {}     1   []     []
ad2e512c-be42-46a1-b3e0-c032c526d751 []                  0              false           []          0            []     {}           false       [bffac398-d063-46f5-846f-a540a4cc499c]                                       []     []  "vhu5087b5a1-49"  {net_uuid="d5cc1eac-7172-44af-afca-fc44a37fa894", network_type=vlan, physical_network="physnet-az1-bare-dpdk", segmentation_id="1000", tag="1"} false     []  {}              {}          {}         {}     1   []     []
d001a434-3107-4590-bc44-b9decc227f7f []                  0              false           []          0            []     {}           false       [4bfb403b-f1bc-410a-950c-2699cbc857f9]                                       []     []  "vhu56ecd373-49"  {net_uuid="d5cc1eac-7172-44af-afca-fc44a37fa894", network_type=vlan, physical_network="physnet-az1-bare-dpdk", segmentation_id="1000", tag="1"} false     []  {}              {}          {}         {}     1   []     []
7fcd7f03-e7b5-41ea-9629-93ab57d26351 []                  0              false           []          0            []     {}           false       [3d80bec6-6b80-455c-b14d-7002f8d80755]                                       []     []  "vhu7d14ae5e-25"  {net_uuid="d5cc1eac-7172-44af-afca-fc44a37fa894", network_type=vlan, physical_network="physnet-az1-bare-dpdk", segmentation_id="1000", tag="1"} false     []  {}              {}          {}         {}     1   []     []
c8edebb2-18fd-43ea-8790-3df364058edc []                  0              false           []          0            []     {}           false       [6ac263c8-3b7d-419d-9e39-6b084b4d156c]                                       []     []  "vhua974b0fa-26"  {net_uuid="d5cc1eac-7172-44af-afca-fc44a37fa894", network_type=vlan, physical_network="physnet-az1-bare-dpdk", segmentation_id="1000", tag="1"} false     []  {}              {}          {}         {}     1   []     []
6a3348e5-0524-4882-b860-8247d322b618 "40:a6:b7:0a:70:00" 0              false           balance-slb 0            []     {}           false       [e4781a59-dd48-4b9c-bd73-1f488dc6d91f, fffeaf06-1883-4aab-8abc-37ca1c7411bc] active []  "dpdkbond0"       {bond-detect-mode=miimon, bond-miimon-interval="100", lacp-time=fast}                                                                           false     []  {}              {}          {}         {}     []  []     []

QoS table
_uuid external_ids other_config queues type
----- ------------ ------------ ------ ----

Queue table
_uuid dscp external_ids other_config
----- ---- ------------ ------------

SSL table
_uuid bootstrap_ca_cert ca_cert certificate external_ids private_key
----- ----------------- ------- ----------- ------------ -----------

sFlow table
_uuid agent external_ids header polling sampling targets
----- ----- ------------ ------ ------- -------- -------

 

 

 

2. ovsdb 모니터링 방법

[root@dpdk-comp-1 ~]#  ovsdb-client monitor tcp:127.0.0.1:6640 Interface name ofport external_ids --format=table
row                                  action  name              ofport external_ids
------------------------------------ ------- ----------------- ------ --------------------------------------------------------------------------------------------------------------------------------------------------------
6ac263c8-3b7d-419d-9e39-6b084b4d156c initial "vhua974b0fa-26"  14     {attached-mac="fa:16:3e:14:c4:85", iface-id="a974b0fa-26c6-4d92-8f86-78eaf50241e1", iface-status=active, vm-uuid="30fcdf6b-dcc4-435e-8a0f-99adf692ebdb"}
3d80bec6-6b80-455c-b14d-7002f8d80755 initial "vhu7d14ae5e-25"  17     {attached-mac="fa:16:3e:5f:4e:e9", iface-id="7d14ae5e-258f-4307-a651-ae7ee675fc79", iface-status=active, vm-uuid="6507de2d-9c4a-4d3a-ac69-99c5ff869d48"}
bffac398-d063-46f5-846f-a540a4cc499c initial "vhu5087b5a1-49"  5      {attached-mac="fa:16:3e:98:fa:dc", iface-id="5087b5a1-495e-484f-9798-970f4fff9a3c", iface-status=active, vm-uuid="201fb774-45a4-4ff6-b7d5-d1c8d8b9f6e8"}
c661593c-8018-4303-8ddb-0c0fd60c82a1 initial "int-br-dp8bea82" 2      {}
4918f4a3-5598-466a-9030-a52028e441ad initial "br-dpdkbond0"    65534  {}
e4781a59-dd48-4b9c-bd73-1f488dc6d91f initial "dpdk1"           1      {}
33c43fcb-dbd0-4102-932e-854e7728920a initial "vhu3f735c48-42"  8      {attached-mac="fa:16:3e:50:c3:cc", iface-id="3f735c48-42eb-4461-b1a0-4830c87b23b1", iface-status=active, vm-uuid="ca1af3e5-af18-4266-abfc-a9410189e8cd"}
3713d13c-16aa-4dd4-ae15-088559ceb723 initial br-int            65534  {}
4bfb403b-f1bc-410a-950c-2699cbc857f9 initial "vhu56ecd373-49"  11     {attached-mac="fa:16:3e:5f:fb:d8", iface-id="56ecd373-49fd-4193-b70b-659973dd3f01", iface-status=active, vm-uuid="b3239fb6-1ebc-443a-afed-5661c0371bfe"}
fffeaf06-1883-4aab-8abc-37ca1c7411bc initial "dpdk0"           2      {}
45226df7-2e36-4565-a520-a6be92403e45 initial "phy-br-dp8bea82" 3      {}

 

 

 

728x90

'Cloud > OpenvSwitch' 카테고리의 다른 글

ovs-dpdk 상태 확인 명령어  (0) 2021.07.13
ovs (OpenvSwitch) 명령어  (0) 2021.07.01