Skip to content

Latest commit

 

History

History
56 lines (49 loc) · 2.45 KB

Debug_Contrail_CheatSheet.md

File metadata and controls

56 lines (49 loc) · 2.45 KB

Debug commands based on the service

  1. Controller
http://<controller_ip>:8083/Snh_IFMapTableShowReq?x=access-control-list. >> check if the rabbitmq notification is received 
http://<controller_ip>:8083/Snh_IFMapTableShowReq?table_name=&search_string=<VN_NAME>
http://<controller-ip>:8083/Snh_ShowBgpNeighborSummaryReq?search_string=
http://<controller-ip>:8083/Snh_SandeshUVECacheReq?x=NodeStatus
  1. Schema
http://<controller_ip>:8087/Snh_SandeshUVECacheReq?x=NodeStatus
http://<controller_ip>:8087  <==== Enable SYS_DEBUG
  1. Config
curl http://<config_ip>:8082
curl -k -u admin:<password> https://localhost:8082/access-control-lists?detail=True \
          | python -m json.tool | grep -c rule_uuid
curl -k -u admin:<password> https://localhost:8082/network-policys?detail=True \
          | python -m json.tool | grep -c rule_uuid
http://<config_ip>:8084   ==> To enable SYS_DEBUG mode
http://<config_ip>:8084/Snh_SandeshTraceRequest?x=MessageBusNotifyTraceBuf. > Check rabbitmq notification by config
  1. Analytics
curl http://<analytics_ip>:5995/Snh_SandeshUVECacheReq?x=AlarmgenStatus | xmllint --format -
curl http://<analytics_ip>:5995/Snh_SandeshUVECacheReq?x=AlarmgenPartition | xmllint --format -
curl http://<analytics_ip>:5995/Snh_SandeshUVETypesReq? |  xmllint --format - 
curl http://<analytics_ip>:8089/Snh_SandeshTraceRequest?x=UveTrace | xmllint --format -
curl http://<analytics_ip>:5995/Snh_SandeshTraceRequest?x=UVEQTrace | xmllint --format - 
curl http://<analytics_ip>:8081/analytics/uves/virtual-networks | python -mjson.tool
curl http://<analytics_ip>:8081/analytics/uves/virtual-network/default-domain:default-domain:<vn-name>?flat
curl http://<analytics_ip>:8090/Snh_SandeshUVECacheReq?x=NodeStatus | xmllint --format -
curl http://<analytics_ip>:5995/Snh_SandeshUVECacheReq?x=NodeStatus  | xmllint --format -
curl http://<analytics_ip>:8081/analytics/uve-stream?cfilt=ContrailConfig
curl http://<analytics_ip>:8081/analytics/uves/control-node/<node_name>?flat
  1. Compute
http://<compute_ip>:8085/Snh_FetchAllFlowRecords
http://<compute_ip>:8085/Snh_VnListReq
http://<compute_ip>:8085/Snh_VnListReq?name=&uuid=&vxlan_id=&ipam_name=
http://<compute_ip>:8085/Snh_ItfReq
http://<compute_ip>:8085/Snh_AgentStatsReq
http://<compute_ip>:8085/Snh_CpuLoadInfoReq
http://<compute_ip>:8085/Snh_KDropStatsReq
http://<compute_ip>:8085/Snh_ShowAllInfo
http://<compute_ip>:8083/Snh_ShowRoutingInstanceReq?search_string=aresriot.aws-rclusterp