Every instance of a contrail compute node runs nova-compute and contrail-vrouter-agent processes. This article provides a list of all vrouter agent introspects which can be examined to monitor and troubleshoot vrouter agent processes.
nova-compute
contrail-vrouter-agent
Contrail vRouter Agent Introspect can be accessed via HTTP port 8085 ( http:// <ip-address-of-compute-node> :8085/ ). Various links are accessible from here, and can be used to see the current operational data in the vrouter agent. Complete list of available agent introspects:
http:// <ip-address-of-compute-node> :8085/
http:// <ip-address-of-compute-node> :8085/agent.xml shows agent operational data. Using this introspect, you can see the list of interfaces, VMs, VNs, VRFs, Next hops, MPLS labels, Security groups,ACLs and Mirror configurations.
http:// <ip-address-of-compute-node> :8085/agent.xml
<agent type="rlist"> <PageReq type="sandesh"> <key type="string">0 <AgentInitStateReq type="sandesh"> <SgListReq type="sandesh"> <name type="string">0 <VnListReq type="sandesh"> <name type="string">0<uuid type="string">0<vxlan_id type="string">0<ipam_name type="string">0 <VmListReq type="sandesh"> <uuid type="string">0 <NhListReq type="sandesh"> <type type="string">0<nh_index type="string">0<policy_enabled type="string">0 <VrfListReq type="sandesh"> <name type="string">0 <Inet4UcRouteReq type="sandesh"> ...
VrfListReq
http:// <ip-address-of–compute-node> :8085/Snh_VrfListReq
Snh
:8085/agent.xml
Snh_VnListReq
VnListReq
http:// <ip-address-of-compute-node> :8085/controller.xml shows agent <-> controller related statistics, such as current XMPP connections with the control node (XMPP server), the status and stats on these connections:
http:// <ip-address-of-compute-node> :8085/controller.xml
<controller type="rlist"> <AgentXmppConnectionStatusReq type="sandesh"> <AgentDnsXmppConnectionStatusReq type="sandesh"> <AgentDiscoveryXmppConnectionsRequest type="sandesh"> <AgentDiscoveryDnsXmppConnectionsRequest type="sandesh">
AgentXmppConnectionStatusReq
http:// <ip-address-of-compute-node> :8085/Snh_AgentXmppConnectionStatusReq?
'Snh'
sandesh