Skip to content

Instantly share code, notes, and snippets.

@jsidhu
Last active March 22, 2016 20:44
Show Gist options
  • Save jsidhu/78a54197589518fe3b49 to your computer and use it in GitHub Desktop.
Save jsidhu/78a54197589518fe3b49 to your computer and use it in GitHub Desktop.
OpenContrail - get list of 169 mdata ip addresses and vm names from vrouer introspect
curl -sq http://localhost:8085/Snh_ItfReq? | xmllint --format - |grep "mdata_ip_addr\|vm_name\|<name" |grep -C1 <vmname>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment