Skip to content

Instantly share code, notes, and snippets.

@pinggit
Last active December 15, 2017 02:24
Show Gist options
  • Save pinggit/d69284a5d453ce2af6475fa3433196fb to your computer and use it in GitHub Desktop.
Save pinggit/d69284a5d453ce2af6475fa3433196fb to your computer and use it in GitHub Desktop.
curl 9200 Snh_UVETableInfoReq
root@cl100ct197:~# curl 10.85.19.197:9200/Snh_UVETableInfoReq?partition=2 | xmllint --format -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 24474 100 24474 0 0 900k 0 --:--:-- --:--:-- --:--:-- 919k
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/universal_parse.xsl"?>
<UVETableInfoResp type="sandesh">
<partition type="u32" identifier="2">2</partition>
<tables type="list" identifier="7">
<list type="struct" size="1">
<UVETableInfo>
<table type="string" identifier="1">ObjectVRouter</table>
<uves type="list" identifier="7">
<list type="struct" size="2">
<UVEObjectInfo>
<name type="string" identifier="1">cl100cp198</name>
<structs type="list" identifier="3">
<list type="struct" size="5">
<UVEStructInfo>
<type type="string" identifier="1">ComputeCpuState</type>
<content type="string" identifier="2">{"cpu_info": [{"mem_res": 256204, "mem_virt": 990716, "cpu_share": 0.6625, "used_sys_mem": 4279776628, "one_min_cpuload": 0.29625}]}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">NodeStatus</type>
<content type="string" identifier="2">{"system_mem_cpu_usage": {"cpu_share": 0.0, "cpu_load": {"fifteen_min_avg": 2.24, "five_min_avg": 2.25, "one_min_avg": 2.34}, "mem_info": {"cached": 707956, "total": 32686424, "buffers": 180868, "free": 23467988, "used": 9218436}}, "deleted": false, "disk_usage_info": [{"partition_space_available_1k": 73933280, "partition_space_used_1k": 11893204, "partition_name": "/dev/mapper/ubuntu--vg-root", "partition_type": "ext4"}, {"partition_space_available_1k": 190455, "partition_space_used_1k": 38076, "partition_name": "/dev/sda1", "partition_type": "ext2"}], "process_mem_cpu_usage": [{"module_id": "contrail-vrouter-agent", "mem_res": 256204, "mem_virt": 990716, "cpu_share": 0.0, "inst_id": "0"}, {"module_id": "contrail-vrouter-nodemgr", "mem_res": 35340, "mem_virt": 248892, "cpu_share": 0.0, "inst_id": "0"}], "system_cpu_info": {"num_core_per_socket": 2, "num_thread_per_core": 1, "num_cpu": 8, "num_socket": 4}, "process_status": [{"instance_id": "0", "module_id": "contrail-vrouter-nodemgr", "state": "Functional", "description": null}, {"instance_id": "0", "module_id": "contrail-vrouter-agent", "state": "Functional", "description": null, "connection_infos": [{"server_addrs": ["172.222.19.197:5269"], "status": "Up", "type": "XMPP", "name": "control-node:172.222.19.197", "description": "OpenSent"}, {"server_addrs": ["172.222.19.197:53"], "status": "Up", "type": "XMPP", "name": "dns-server:172.222.19.197", "description": "OpenSent"}, {"server_addrs": ["172.222.19.197:8086"], "status": "Up", "type": "Collector", "name": null, "description": "Established"}, {"server_addrs": ["172.222.19.197:5998"], "status": "Up", "type": "Discovery", "name": "Collector", "description": "SubscribeResponse"}, {"server_addrs": ["172.222.19.197:5998"], "status": "Up", "type": "Discovery", "name": "dns-server", "description": "SubscribeResponse"}, {"server_addrs": ["172.222.19.197:5998"], "status": "Up", "type": "Discovery", "name": "xmpp-server", "description": "SubscribeResponse"}]}], "all_core_file_list": ["core.contrail-vroute.25825.cl100cp198.1509714323", "core.contrail-vroute.25930.cl100cp198.1509714326", "core.contrail-vroute.26018.cl100cp198.1509714330", "core.contrail-vroute.26102.cl100cp198.1509714334", "core.contrail-vroute.26359.cl100cp198.1509714401", "core.contrail-vroute.26466.cl100cp198.1509714403", "core.contrail-vroute.26548.cl100cp198.1509714406", "core.contrail-vroute.26636.cl100cp198.1509714409", "core.contrail-vroute.28058.cl100cp198.1509715656", "core.contrail-vroute.28181.cl100cp198.1509715658", "core.contrail-vroute.28263.cl100cp198.1509715662", "core.contrail-vroute.28345.cl100cp198.1509715666", "core.contrail-vroute.29108.cl100cp198.1509645059", "core.contrail-vroute.29194.cl100cp198.1509645062", "core.contrail-vroute.29351.cl100cp198.1509645066", "core.contrail-vroute.29439.cl100cp198.1509645070", "core.contrail-vroute.29524.cl100cp198.1509645075", "core.contrail-vroute.29807.cl100cp198.1509645185", "core.contrail-vroute.29891.cl100cp198.1509645188", "core.contrail-vroute.29930.cl100cp198.1509715938", "core.contrail-vroute.29984.cl100cp198.1509645193", "core.contrail-vroute.30039.cl100cp198.1509715940", "core.contrail-vroute.30094.cl100cp198.1509645197", "core.contrail-vroute.30142.cl100cp198.1509715943", "core.contrail-vroute.30205.cl100cp198.1509645211", "core.contrail-vroute.30289.cl100cp198.1509645213", "core.contrail-vroute.30372.cl100cp198.1509645216", "core.contrail-vroute.30459.cl100cp198.1509645222", "core.contrail-vroute.30909.cl100cp198.1509645430", "core.contrail-vroute.30993.cl100cp198.1509645433", "core.contrail-vroute.31133.cl100cp198.1509645442", "core.contrail-vroute.31226.cl100cp198.1509645447"], "process_info": [{"process_name": "contrail-vrouter-agent", "process_state": "PROCESS_STATE_RUNNING", "last_stop_time": null, "start_count": 1, "core_file_list": [], "last_start_time": "1511237381422916", "stop_count": 0, "last_exit_time": null, "exit_count": 0}, {"process_name": "contrail-vrouter-nodemgr", "process_state": "PROCESS_STATE_RUNNING", "last_stop_time": null, "start_count": 1, "core_file_list": [], "last_start_time": "1511237376413248", "stop_count": 0, "last_exit_time": null, "exit_count": 0}]}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">VrouterAgent</type>
<content type="string" identifier="2">{"max_vm_flows_cfg": 100, "dns_servers": ["172.222.19.197"], "log_category": null, "vr_limits": {"vrouter_build_info": "{\"build-info\": [{\"build-time\": \"Thu Mar 9 14:36:22 PST 2017\",\"build-hostname\": \"cl100cp198\", \"build-git-ver\": \"dkms\",\"build-user\": \"root\", \"build-version\": \"3.0.3.2-dkms\"}]}", "max_labels": 5120, "vrouter_max_flow_entries": 524288, "max_interfaces": 4352, "vrouter_max_oflow_entries": 100000, "vrouter_max_oflow_bridge_entries": 53248, "max_vrfs": 4096, "vrouter_max_bridge_entries": 262144, "max_mirror_entries": 255, "max_nexthops": 65536}, "control_node_list_cfg": ["0.0.0.0", "0.0.0.0"], "hostname_cfg": "cl100cp198", "ds_xs_instances": 1, "log_level": "SYS_NOTICE", "tunnel_type": "MPLSoGRE", "phy_if": [{"name": "eth1", "mac_address": "00:50:56:88:fd:ce"}], "log_local": true, "vhost_if": {"name": "vhost0", "mac_address": "00:50:56:88:fd:ce"}, "platform": "HOST", "sandesh_http_port": 8085, "eth_name": "eth1", "log_flow": true, "headless_mode_cfg": false, "down_interface_count": 0, "self_ip_list": ["172.222.19.198"], "vn_count": 14, "config_file": "/etc/contrail/contrail-vrouter-agent.conf", "vhost_cfg": {"ip": "172.222.19.198", "ip_prefix_len": 24, "name": "vhost0", "gateway": "172.222.19.1"}, "ll_max_vm_flows_cfg": 2048, "ll_max_system_flows_cfg": 2048, "flow_cache_timeout_cfg": 0, "control_ip": "172.222.19.198", "total_interface_count": 15, "dns_server_list_cfg": ["0.0.0.0", "0.0.0.0"], "build_info": "{\"build-info\":[{\"build-time\":\"2017-01-10 16:47:58.274862\",\"build-hostname\":\"contrail-ec-build09\",\"build-user\":\"contrail-builder\",\"build-version\":\"3.0.3.2\",\"build-id\":\"3.0.3.2-15\",\"build-number\":\"15\"}]}", "hypervisor": "kvm", "ds_addr": "172.222.19.197", "mode": "VROUTER", "virtual_machine_list": ["1701e250-19ef-46f5-89fa-0e1842a3b1c1", "31d59730-91a8-4965-930f-dd7060c48a35", "564d2860-d1c9-47c6-95e6-550cf724064e", "79be703f-8986-4832-bc0a-36626c6e2c5d", "b10066fd-c65c-4fb0-a217-b2da482c706b", "c0eefff1-44a5-43d6-a533-19907e6afeff", "df58e685-9cf8-4cb7-903a-135bcb894cfb", "fdfe9d50-cdd5-4e76-a62d-853353faeae3"], "xmpp_peer_list": [{"status": true, "ip": "172.222.19.197", "primary": true, "setup_time": 1513266875252898}], "interface_list": ["default-domain:demo:0db05351-45f7-4b92-a58c-a1d80916d4c4", "default-domain:demo:1fda76c6-d8b5-48ea-8c85-33c48f1c4962", "default-domain:demo:default-domain__demo__snat_f423077a-5956-46a0-b4f9-17f7bc207bb0_18304976-b97c-4775-bb00-d3b5351eb179__2__right__1", "default-domain:demo:3442d3ca-bb0d-4954-9c64-e3b20216316c", "default-domain:demo:3b8aabf6-8de5-41ab-8c15-7ea72217f4dc", "default-domain:admin:default-domain__admin__a2aca754-e011-44b5-b795-d5987bd04943__1__left__2", "default-domain:demo:5e3476bf-355a-4b9f-abeb-b230fb1bc35a", "default-domain:demo:5fa8418f-e41b-4531-b295-e71f633ce632", "default-domain:demo:6b3c201b-e87a-4d72-9925-d5d37526be58", "default-domain:demo:default-domain__demo__snat_f423077a-5956-46a0-b4f9-17f7bc207bb0_18304976-b97c-4775-bb00-d3b5351eb179__2__left__2", "default-domain:demo:default-domain__demo__snat_54398b41-a2ad-428f-a493-0c185f8a38de_b2f3ed02-9a25-43a7-a914-ffb31ecb1acb__1__right__1", "default-domain:demo:b26fd272-8b85-45f5-b950-23900e9cf31c", "default-domain:demo:default-domain__demo__snat_54398b41-a2ad-428f-a493-0c185f8a38de_b2f3ed02-9a25-43a7-a914-ffb31ecb1acb__1__left__2", "default-domain:admin:f60ea21b-8d23-4b41-90d6-e4941c5d7bd3", "default-domain:admin:default-domain__admin__a2aca754-e011-44b5-b795-d5987bd04943__1__right__1"], "log_file": "/var/log/contrail/contrail-vrouter-agent.log", "connected_networks": ["default-domain:demo:left-vn", "default-domain:demo:snat-vn-right", "default-domain:demo:innetwork-left-vn", "default-domain:demo:snat-si-left_snat_f423077a-5956-46a0-b4f9-17f7bc207bb0_18304976-b97c-4775-bb00-d3b5351eb179", "default-domain:demo:VN-A", "default-domain:admin:pings_net", "default-domain:demo:innetwork-right-vn", "default-domain:demo:management-vn", "default-domain:admin:poolnet", "default-domain:demo:FIP-VN", "default-domain:admin:vipnet", "default-domain:demo:right-vn", "default-domain:demo:VN-B", "default-domain:demo:snat-si-left_snat_54398b41-a2ad-428f-a493-0c185f8a38de_b2f3ed02-9a25-43a7-a914-ffb31ecb1acb"]}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">VrouterStatsAgent</type>
<content type="string" identifier="2">{"udp_sport_bitmap": ["65555", "0", "0", "0", "609260422", "3814977775", "932443897", "6536"], "exception_packets": 20615109, "in_bytes": 102799851, "cpu_info": {"sys_mem_info": {"cached": 180868, "total": 32686424, "buffers": 24229228, "free": 23466996, "used": 9219428}, "meminfo": {"virt": 990716, "peakvirt": 1051900, "res": 256204}, "cpu_share": 0.6625, "num_cpu": 8, "cpuload": {"fifteen_min_avg": 0.28, "five_min_avg": 0.28125, "one_min_avg": 0.29625}}, "flow_export_drops": 0, "flow_export_disable_drops": 0, "phy_if_10min_usage": [{"out_bandwidth_usage": 25236, "name": "eth1", "in_bandwidth_usage": 18926}], "uptime": 1511237375113856, "xmpp_stats_list": [{"ip": "172.222.19.197", "reconnects": 5, "in_msgs": 929, "out_msgs": 1768}], "phy_if_5min_usage": [{"out_bandwidth_usage": 24955, "name": "eth1", "in_bandwidth_usage": 18542}], "total_in_bandwidth_utilization": 0.00093785, "drop_stats": {"ds_rewrite_fail": 0, "ds_mcast_df_bit": 0, "ds_flow_no_memory": 0, "ds_push": 0, "ds_invalid_if": 1, "ds_pull": 0, "ds_no_fmd": 0, "ds_invalid_arp": 0, "ds_trap_no_if": 0, "ds_vlan_fwd_tx": 0, "ds_cksum_err": 0, "ds_invalid_source": 0, "ds_flow_action_invalid": 0, "ds_invalid_packet": 0, "ds_flow_invalid_protocol": 0, "ds_invalid_vnid": 0, "ds_flow_table_full": 0, "ds_invalid_label": 0, "ds_garp_from_vm": 0, "ds_frag_err": 0, "ds_vlan_fwd_enq": 0, "ds_duplicated": 900, "ds_clone_fail": 0, "ds_arp_no_route": 0, "ds_misc": 3, "ds_flood": 0, "ds_interface_rx_discard": 0, "ds_flow_unusable": 0, "ds_mcast_clone_fail": 0, "ds_invalid_protocol": 0, "ds_head_space_reserve_fail": 0, "ds_interface_tx_discard": 0, "ds_flow_action_drop": 363, "ds_nowhere_to_go": 0, "ds_cloned_original": 103, "ds_arp_no_where_to_go": 0, "ds_l2_no_route": 8, "ds_invalid_mcast_source": 0, "ds_discard": 0, "ds_flow_queue_limit_exceeded": 0, "ds_flow_nat_no_rflow": 0, "ds_invalid_nh": 85, "ds_head_alloc_fail": 0, "ds_interface_drop": 18, "ds_pcow_fail": 0, "ds_ttl_exceeded": 0}, "tcp_sport_bitmap": ["2147483649", "0", "0", "0", "4294967295", "4294967295", "4294967295", "32767"], "out_tpkts": 2124540, "phy_if_stats_list": [{"out_bytes": 6020182815, "name": "eth1", "in_bytes": 4849338607, "duplexity": 1, "out_pkts": 14454598, "in_pkts": 36086460, "speed": 10000}], "exception_packets_dropped": 72051, "total_flows": 49062, "flow_rate": {"active_flows": 16, "max_flow_deletes_per_second": 2, "added_flows": 2, "deleted_flows": 4, "min_flow_adds_per_second": 0, "min_flow_deletes_per_second": 0, "max_flow_adds_per_second": 2}, "out_bytes": 154773641, "udp_dport_bitmap": ["65555", "0", "0", "0", "609260422", "3814977775", "932443897", "6536"], "in_tpkts": 2195993, "vhost_stats": {"out_bytes": 4603919192, "name": "vhost0", "in_bytes": 5830946273, "duplexity": -1, "out_pkts": 34041322, "in_pkts": 12382104, "speed": -1}, "total_out_bandwidth_utilization": 0.0012709, "tcp_dport_bitmap": ["1", "0", "0", "0", "4294967295", "4294967295", "4294967295", "32767"], "phy_if_band": [{"out_bandwidth_usage": 24094, "name": "eth1", "in_bandwidth_usage": 17780}], "aged_flows": 49046, "exception_packets_allowed": 20543058, "flow_export_sampling_drops": 0}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">ContrailConfig</type>
<content type="string" identifier="2">{"elements": {"display_name": "\"cl100cp198\"", "virtual_router_ip_address": "\"172.222.19.198\"", "virtual_router_dpdk_enabled": "false", "parent_uuid": "\"0dca805d-f0b0-49c8-9c17-3af508cc0204\"", "parent_href": "\"http://0.0.0.0:9100/global-system-config/0dca805d-f0b0-49c8-9c17-3af508cc0204\"", "parent_type": "\"global-system-config\"", "perms2": "{\"owner\": \"4dbe0c970ae9455a9e36101fb6b3da2f\", \"owner_access\": 7, \"global_access\": 0, \"share\": []}", "virtual_machine_refs": "[{\"to\": [\"default-domain__demo__snat_f423077a-5956-46a0-b4f9-17f7bc207bb0_18304976-b97c-4775-bb00-d3b5351eb179__2\"], \"href\": \"http://0.0.0.0:9100/virtual-machine/1701e250-19ef-46f5-89fa-0e1842a3b1c1\", \"attr\": null, \"uuid\": \"1701e250-19ef-46f5-89fa-0e1842a3b1c1\"}, {\"to\": [\"default-domain__admin__a2aca754-e011-44b5-b795-d5987bd04943__1\"], \"href\": \"http://0.0.0.0:9100/virtual-machine/79be703f-8986-4832-bc0a-36626c6e2c5d\", \"attr\": null, \"uuid\": \"79be703f-8986-4832-bc0a-36626c6e2c5d\"}, {\"to\": [\"default-domain__demo__snat_54398b41-a2ad-428f-a493-0c185f8a38de_b2f3ed02-9a25-43a7-a914-ffb31ecb1acb__1\"], \"href\": \"http://0.0.0.0:9100/virtual-machine/c0eefff1-44a5-43d6-a533-19907e6afeff\", \"attr\": null, \"uuid\": \"c0eefff1-44a5-43d6-a533-19907e6afeff\"}]", "virtual_router_type": "[]", "fq_name": "[\"default-global-system-config\", \"cl100cp198\"]", "id_perms": "{\"enable\": true, \"uuid\": {\"uuid_mslong\": 11296166291726746851, \"uuid_lslong\": 11835098564776607056}, \"created\": \"2017-03-10T03:44:51.842847\", \"description\": null, \"creator\": null, \"user_visible\": true, \"last_modified\": \"2017-12-13T23:13:34.887569\", \"permissions\": {\"owner\": \"admin\", \"owner_access\": 7, \"other_access\": 7, \"group\": \"KeystoneAdmin\", \"group_access\": 7}}", "uuid": "\"9cc40b64-861d-44e3-a43e-b7708b3ebd50\""}}</content>
</UVEStructInfo>
</list>
</structs>
</UVEObjectInfo>
<UVEObjectInfo>
<name type="string" identifier="1">cl100cp218</name>
<structs type="list" identifier="3">
<list type="struct" size="5">
<UVEStructInfo>
<type type="string" identifier="1">NodeStatus</type>
<content type="string" identifier="2">{"process_status": [{"instance_id": "0", "module_id": "contrail-vrouter-agent", "state": "Functional", "description": null, "connection_infos": [{"server_addrs": ["172.222.19.197:5269"], "status": "Up", "type": "XMPP", "name": "control-node:172.222.19.197", "description": "OpenSent"}, {"server_addrs": ["172.222.19.197:53"], "status": "Up", "type": "XMPP", "name": "dns-server:172.222.19.197", "description": "OpenSent"}, {"server_addrs": ["172.222.19.197:8086"], "status": "Up", "type": "Collector", "name": null, "description": "Established"}, {"server_addrs": ["172.222.19.197:5998"], "status": "Up", "type": "Discovery", "name": "Collector", "description": "SubscribeResponse"}, {"server_addrs": ["172.222.19.197:5998"], "status": "Up", "type": "Discovery", "name": "dns-server", "description": "SubscribeResponse"}, {"server_addrs": ["172.222.19.197:5998"], "status": "Up", "type": "Discovery", "name": "xmpp-server", "description": "SubscribeResponse"}]}, {"instance_id": "0", "module_id": "contrail-vrouter-nodemgr", "state": "Non-Functional", "description": "NTP state unsynchronized."}], "deleted": false, "disk_usage_info": [{"partition_space_available_1k": 104865876, "partition_space_used_1k": 4473300, "partition_name": "/dev/mapper/ubuntu--vg-root", "partition_type": "ext4"}, {"partition_space_available_1k": 160339, "partition_space_used_1k": 68192, "partition_name": "/dev/sda1", "partition_type": "ext2"}], "process_mem_cpu_usage": [{"module_id": "contrail-vrouter-agent", "mem_res": 239320, "mem_virt": 911316, "cpu_share": 1.15, "inst_id": "0"}, {"module_id": "contrail-vrouter-nodemgr", "mem_res": 32724, "mem_virt": 248964, "cpu_share": 0.0, "inst_id": "0"}], "system_cpu_info": {"num_core_per_socket": 1, "num_thread_per_core": 1, "num_cpu": 8, "num_socket": 8}, "system_mem_cpu_usage": {"cpu_share": 0.0, "cpu_load": {"fifteen_min_avg": 0.42, "five_min_avg": 0.42, "one_min_avg": 0.3}, "mem_info": {"cached": 579000, "total": 16302736, "buffers": 186632, "free": 10663860, "used": 5638876}}, "process_info": [{"process_name": "contrail-vrouter-agent", "process_state": "PROCESS_STATE_RUNNING", "last_stop_time": null, "start_count": 1, "core_file_list": [], "last_start_time": "1510805454873187", "stop_count": 0, "last_exit_time": null, "exit_count": 0}, {"process_name": "contrail-vrouter-nodemgr", "process_state": "PROCESS_STATE_RUNNING", "last_stop_time": null, "start_count": 1, "core_file_list": [], "last_start_time": "1510805450137697", "stop_count": 0, "last_exit_time": null, "exit_count": 0}]}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">VrouterStatsAgent</type>
<content type="string" identifier="2">{"exception_packets": 22813940, "in_bytes": 384089, "total_in_bandwidth_utilization": 0.000714887, "cpu_info": {"sys_mem_info": {"cached": 579000, "total": 16302736, "buffers": 186632, "free": 10664008, "used": 5638728}, "meminfo": {"virt": 911316, "peakvirt": 911316, "res": 239320}, "cpu_share": 0.460417, "num_cpu": 8, "cpuload": {"fifteen_min_avg": 0.0525, "five_min_avg": 0.0525, "one_min_avg": 0.0375}}, "flow_export_drops": 0, "flow_export_disable_drops": 0, "phy_if_10min_usage": [{"out_bandwidth_usage": 15666, "name": "eth1", "in_bandwidth_usage": 13943}], "uptime": 1510805450745380, "xmpp_stats_list": [{"ip": "172.222.19.197", "reconnects": 379, "in_msgs": 460, "out_msgs": 1654}], "phy_if_5min_usage": [{"out_bandwidth_usage": 17090, "name": "eth1", "in_bandwidth_usage": 14303}], "drop_stats": {"ds_rewrite_fail": 0, "ds_mcast_df_bit": 0, "ds_flow_no_memory": 0, "ds_push": 0, "ds_invalid_if": 0, "ds_pull": 0, "ds_no_fmd": 0, "ds_invalid_arp": 0, "ds_trap_no_if": 0, "ds_vlan_fwd_tx": 0, "ds_cksum_err": 0, "ds_invalid_source": 0, "ds_flow_action_invalid": 0, "ds_invalid_packet": 0, "ds_flow_invalid_protocol": 0, "ds_invalid_vnid": 0, "ds_flow_table_full": 0, "ds_invalid_label": 0, "ds_garp_from_vm": 0, "ds_frag_err": 0, "ds_vlan_fwd_enq": 0, "ds_duplicated": 0, "ds_clone_fail": 0, "ds_arp_no_route": 0, "ds_misc": 0, "ds_flood": 0, "ds_interface_rx_discard": 0, "ds_flow_unusable": 0, "ds_mcast_clone_fail": 0, "ds_invalid_protocol": 0, "ds_head_space_reserve_fail": 0, "ds_interface_tx_discard": 0, "ds_flow_action_drop": 0, "ds_nowhere_to_go": 0, "ds_cloned_original": 34, "ds_arp_no_where_to_go": 0, "ds_l2_no_route": 0, "ds_invalid_mcast_source": 0, "ds_discard": 0, "ds_flow_queue_limit_exceeded": 0, "ds_flow_nat_no_rflow": 0, "ds_invalid_nh": 70, "ds_head_alloc_fail": 0, "ds_interface_drop": 0, "ds_pcow_fail": 0, "ds_ttl_exceeded": 0}, "out_tpkts": 9656, "phy_if_stats_list": [{"out_bytes": 4998797973, "name": "eth1", "in_bytes": 4232658195, "duplexity": 1, "out_pkts": 14169200, "in_pkts": 35889502, "speed": 10000}], "exception_packets_dropped": 8, "total_flows": 0, "flow_rate": {"active_flows": 0, "max_flow_deletes_per_second": 0, "added_flows": 0, "deleted_flows": 0, "min_flow_adds_per_second": 0, "min_flow_deletes_per_second": 0, "max_flow_adds_per_second": 0}, "out_bytes": 407747, "in_tpkts": 9098, "vhost_stats": {"out_bytes": 4232657561, "name": "vhost0", "in_bytes": 4945795594, "duplexity": -1, "out_pkts": 35889494, "in_pkts": 12906652, "speed": -1}, "total_out_bandwidth_utilization": 0.000846228, "phy_if_band": [{"out_bandwidth_usage": 16043, "name": "eth1", "in_bandwidth_usage": 13553}], "aged_flows": 0, "exception_packets_allowed": 22813932, "flow_export_sampling_drops": 0}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">VrouterAgent</type>
<content type="string" identifier="2">{"max_vm_flows_cfg": 100, "dns_servers": ["172.222.19.197"], "log_category": null, "vr_limits": {"vrouter_build_info": "{\"build-info\": [{\"build-time\": \"2017-01-10 17:06:49.170965\", \"build-hostname\": \"contrail-ec-build09\", \"build-user\": \"contrail-builder\", \"build-version\": \"3.0.3.2\"}]}", "max_labels": 5120, "vrouter_max_flow_entries": 524288, "max_interfaces": 4352, "vrouter_max_oflow_entries": 105472, "vrouter_max_oflow_bridge_entries": 53248, "max_vrfs": 4096, "vrouter_max_bridge_entries": 262144, "max_mirror_entries": 255, "max_nexthops": 65536}, "control_node_list_cfg": ["0.0.0.0", "0.0.0.0"], "hostname_cfg": "cl100cp218", "ds_xs_instances": 1, "log_level": "SYS_NOTICE", "tunnel_type": "MPLSoGRE", "phy_if": [{"name": "eth1", "mac_address": "00:50:56:88:6e:5c"}], "log_local": true, "vhost_if": {"name": "vhost0", "mac_address": "00:50:56:88:6e:5c"}, "platform": "HOST", "sandesh_http_port": 8085, "eth_name": "eth1", "log_flow": false, "headless_mode_cfg": false, "down_interface_count": 0, "self_ip_list": ["172.222.19.218"], "vn_count": 3, "config_file": "/etc/contrail/contrail-vrouter-agent.conf", "vhost_cfg": {"ip": "172.222.19.218", "ip_prefix_len": 24, "name": "vhost0", "gateway": "172.222.19.193"}, "ll_max_vm_flows_cfg": 2048, "ll_max_system_flows_cfg": 2048, "flow_cache_timeout_cfg": 0, "control_ip": "172.222.19.218", "total_interface_count": 6, "dns_server_list_cfg": ["0.0.0.0", "0.0.0.0"], "build_info": "{\"build-info\":[{\"build-time\":\"2017-01-10 16:47:58.274862\",\"build-hostname\":\"contrail-ec-build09\",\"build-user\":\"contrail-builder\",\"build-version\":\"3.0.3.2\",\"build-id\":\"3.0.3.2-15\",\"build-number\":\"15\"}]}", "hypervisor": "kvm", "ds_addr": "172.222.19.197", "mode": "VROUTER", "virtual_machine_list": ["292348c8-44f0-4337-aa2d-a7dbf5d7f607", "6a202c59-3141-4251-bdb6-d9421815728f"], "xmpp_peer_list": [{"status": true, "ip": "172.222.19.197", "primary": true, "setup_time": 1513266889993449}], "interface_list": ["default-domain:demo:1160d27d-62d8-480e-8d84-722dcf013cfa", "default-domain:demo:4d411695-bd08-4664-b7b2-e60ef1f04375", "default-domain:demo:6dab3c6a-e8b4-462b-b57c-d0080e81b8dc", "default-domain:demo:84be4de0-7113-48db-bbee-7f46ecbb8ab7", "default-domain:demo:9dc51d8c-cb0f-4360-ba30-ed1aab0f3777", "default-domain:demo:ac29ecc8-5e1a-4fe1-bbc1-aacc36e6e354"], "log_file": "/var/log/contrail/contrail-vrouter-agent.log", "connected_networks": ["default-domain:demo:inet", "default-domain:demo:subs", "default-domain:demo:management-vn"]}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">ComputeCpuState</type>
<content type="string" identifier="2">{"cpu_info": [{"mem_res": 239320, "mem_virt": 911316, "cpu_share": 0.460417, "used_sys_mem": 4873096, "one_min_cpuload": 0.0375}]}</content>
</UVEStructInfo>
<UVEStructInfo>
<type type="string" identifier="1">UVEAlarms</type>
<content type="string" identifier="2">{"alarms": [{"any_of": [{"all_of": [{"json_operand1_value": "null", "rule": {"oper": "==", "operand1": {"keys": ["ContrailConfig"]}, "operand2": {"json_value": "null"}}}]}], "severity": 1, "ack": false, "timestamp": 1512670610656986, "token": "eyJ0aW1lc3RhbXAiOiAxNTEyNjcwNjEwNjU2OTg2LCAiaHR0cF9wb3J0IjogOTIwMCwgImhvc3RfaXAiOiAiMTcyLjIyMi4xOS4xOTcifQ==", "type": "ConfIncorrectCompute"}, {"any_of": [{"all_of": [{"json_operand1_value": "\"Non-Functional\"", "json_vars": {"NodeStatus.process_status.module_id": "contrail-vrouter-nodemgr", "NodeStatus.process_status.instance_id": "0"}, "rule": {"oper": "!=", "operand1": {"keys": ["NodeStatus", "process_status", "state"]}, "operand2": {"json_value": "\"Functional\""}}}]}], "severity": 1, "ack": false, "timestamp": 1513095595786982, "token": "eyJ0aW1lc3RhbXAiOiAxNTEzMDk1NTk1Nzg2OTgyLCAiaHR0cF9wb3J0IjogOTIwMCwgImhvc3RfaXAiOiAiMTcyLjIyMi4xOS4xOTcifQ==", "type": "ProcessConnectivity"}]}</content>
</UVEStructInfo>
</list>
</structs>
</UVEObjectInfo>
</list>
</uves>
</UVETableInfo>
</list>
</tables>
</UVETableInfoResp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment