Ask Your Question

Alex Altair's profile - activity

2015-04-24 11:16:49 -0500 received badge  Famous Question (source)
2015-04-22 09:59:39 -0500 received badge  Notable Question (source)
2015-04-22 03:34:25 -0500 received badge  Popular Question (source)
2015-04-21 20:10:13 -0500 asked a question Find the server associated with a port

The output of neutron port-show <port-id> has a lot of information, but I don't see the ID of the server that it is attached too. I could theoretically use the mac address, but as I'm doing this in a script, that seems pretty hard. I understand that neutron more or less isn't concerned with the existence of VMs, but is there a good way to figure out what server the port is connected to?

2015-04-18 07:48:59 -0500 received badge  Famous Question (source)
2015-04-16 06:47:37 -0500 received badge  Notable Question (source)
2015-04-16 05:21:36 -0500 received badge  Good Question (source)
2015-04-16 03:16:30 -0500 received badge  Nice Question (source)
2015-04-16 03:15:03 -0500 received badge  Popular Question (source)
2015-04-15 21:18:26 -0500 received badge  Student (source)
2015-04-15 21:17:05 -0500 asked a question How can I send commands to VMs through the CLI?

I'm writing tests for a product that is built on top of OpenStack. I often want to execute a command on a guest VM (like pinging another VM, or simulating resource usage). So far I'm doing this by SSHing into the VM, but this often runs into networking problems. What I'd like to do is send commands directly to the VM, which the hypervisor should let me do. As far as I can tell, OpenStack only provides me with graphical consoles to manually type into.

Is there any CLI command I can run to execute a statement directly onto a VM?

I've found this, and the python API I'm using has this method ... but as far as I can tell, there's no documentation for it, so I cannot figure out how to use it.