Ask Your Question

o_bg_un's profile - activity

2018-06-24 19:24:06 -0500 asked a question how to configure the serial port that will connect to instance via it's xml file?

i am trying to set up instances on all-in one configuration that will allow me to connect them via serial port. this is my xml :

...
<serial type='pty'>
   <source path='/dev/pts/1'/>
   <target port='0'/>
   <alias name='serial0'/>
</serial>
 ...
<console type='pty' tty='/dev/pts/1'>
   <source path='/dev/pts/1'/>
   <target type='serial' port='0'/>
   <alias name='serial0'/>
</console>
...

i have been able to set this instance to running via virsh create example.xml. and even connect to it via virsh console instance-id but when i try to connect to this instance via screen /dev/pts/1 it does not connect but it does connect to /dev/pts/0 . btw my main goal is to create multiply instances with this .xml should i change something in this configuration of serial is so which parameter is related to the real pts of my device?

2018-06-24 19:24:06 -0500 asked a question how to send rest to horizon that will configure the console type or source path of the instance output?

how to send rest to horizon that will configure the console type or source path of the instance output? i can't find how to send parameter via rest API to openstack that will help me to define this parameter or that it is impossible and i have to manually change the .xml file of the instance ?