[openstack-dev] [Neutron] [Nova]

bharath bharath at brocade.com
Tue Jan 19 04:15:21 UTC 2016


Hi,

Slot id's of interfaces are getting changed after hard reboot of 
instance, This is leading to change in interface numbers.
Which ultimately leads to invalid config on router.

we depend on slot id's to generate the interface numbering.


Intial Slot id's
	Slot id's after Hard reboot
    <interface type='bridge'>
       <mac address='fa:16:3e:bc:3f:f1'/>
       <source bridge='qbre642605d-94'/>
       <target dev='tape642605d-94'/>
       <model type='virtio'/>
*      <alias name='net0'/>*
       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
     </interface>
     <interface type='bridge'>
       <mac address='fa:16:3e:69:b6:7f'/>
       <source bridge='qbrb9f7f606-f7'/>
       <target dev='tapb9f7f606-f7'/>
       <model type='virtio'/>
*      <alias name='net1'/>*
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' 
function='0x0'/>
     </interface>
     <interface type='bridge'>
       <mac address='fa:16:3e:ac:48:a4'/>
       <source bridge='qbr4017e879-9f'/>
       <target dev='tap4017e879-9f'/>
       <model type='virtio'/>
*      <alias name='net2'/>*
       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' 
function='0x0'/> 	<interface type='bridge'>
       <mac address='fa:16:3e:bc:3f:f1'/>
       <source bridge='qbre642605d-94'/>
       <target dev='tape642605d-94'/>
       <model type='virtio'/>
***      <alias name='net0'/>*
       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
     </interface>
     <interface type='bridge'>
       <mac address='fa:16:3e:69:b6:7f'/>
       <source bridge='qbrb9f7f606-f7'/>
       <target dev='tapb9f7f606-f7'/>
       <model type='virtio'/>
***      <alias name='net1'/>*
       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
function='0x0'/>
     </interface>
     <interface type='bridge'>
       <mac address='fa:16:3e:ac:48:a4'/>
       <source bridge='qbr4017e879-9f'/>
       <target dev='tap4017e879-9f'/>
       <model type='virtio'/>
***      <alias name='net2'/>*
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>


Is it possible to make slot id's persistent?


Thanks,
bharath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160119/d540ba41/attachment.html>


More information about the OpenStack-dev mailing list