Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jsidhu/9e531b3e2f3300876354 to your computer and use it in GitHub Desktop.
Save jsidhu/9e531b3e2f3300876354 to your computer and use it in GitHub Desktop.
Access http://hypervisor-ip:8085/Snh_SandeshTraceRequest?x=XmppMessageTrace to see if vrouter-agent sent the VM details to the contrail-dns service, for example:
2016-02-25 17:14:57.079 XmppTxStream: Sent xmpp message to: <CONTROLLER-IP> Port 8093 Size: 452 Packet: <?xml version="1.0"?> <iq type="set" from="<HYPERVISOR>/dns" to="[email protected]/dns-peer" id="10020"> <dns transid="10020"> <update> <virtual-dns>default-domain:project-name-virtual-DNS</virtual-dns> <zone>project-name.local</zone> <entry> <class>1</class> <type>1</type> <name>vm-hostname</name> <data>10.20.22.5</data> <ttl>86400</ttl> <priority>0</priority> </entry> </update> </dns> </iq> $ controller/src/xmpp/xmpp_connection.cc 211
<?xml version="1.0"?>
<iq type="set" from="<HYPERVISOR>/dns" to="[email protected]/dns-peer" id="10020">
<dns transid="10020">
<update>
<virtual-dns>default-domain:project-name-virtual-DNS</virtual-dns>
<zone>project-name.local</zone>
<entry>
<class>1</class>
<type>1</type>
<name>vm-hostname</name>
<data>10.20.22.5</data>
<ttl>86400</ttl>
<priority>0</priority>
</entry>
</update>
</dns>
</iq>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment