Hi Fabian,

I'm working on a specific issue where an interface is configured up for sriov 
physical function passthrough.
The instance boot command can then specify to use that interface as either 
pci-sriov or pci-passthrough.

Now the following is a known issue:  If the PF is used, the VF number stored in 
the sriov_numvfs file is lost.
If the PF is attached again to the operating system, the number of VFs assigned 
to this interface will be zero.
And the recommended fix for this is to create an /sbin/ifup-local file that 
will set sriov_numvfs
back to its original value.

The problem I have now is that our setup/framework prevents the 
/sbin/ifup-local from being called.
So I'm trying to figure out a way to execute a script once the PF gets 
re-attached the operating system,
to put sriov_numvfs back to its original value.

I will now look into your suggestions below.

Thanks again,

François


________________________________
From: Fabian Zimmermann [dev....@gmail.com]
Sent: Saturday, May 12, 2018 12:47 PM
To: Palin, Francois; openstack@lists.openstack.org
Subject: RE: [Openstack] [libvirt][nova] What can be used as equivalent to 
libvirt network hooks file?

Hi,

what are you trying to execute? Maybe there is a easier way to reach your goal?

f. e. a udev-trigger or something like listening for events in your 
message-queue.

Fabian

Am 12. Mai 2018 17:26:35 MESZ schrieb "Palin, Francois" 
<francois.pa...@windriver.com>:
Hi Fabian,

Yes, I have looked at hooks/qemu, and the xml data it receives doesn't have
the information needed to be able to logically derive the network and interface.

Thanks,

François


________________________________
From: Fabian Zimmermann [dev....@gmail.com]
Sent: Saturday, May 12, 2018 12:27 AM
To: openstack@lists.openstack.org; Palin, Francois; 
openstack@lists.openstack.org
Subject: Re: [Openstack] [libvirt][nova] What can be used as equivalent to 
libvirt network hooks file?

Hi,

did you try

hooks/qemu?

Fabian

Am 11. Mai 2018 16:22:14 MESZ schrieb "Palin, Francois" 
<francois.pa...@windriver.com>:
Hi all,

libvirt network hooks file ( /etc/libvirt/hooks/network ) does not get called 
when using neutron.
Any suggestion as to what could be used instead?

I need to perform some specific actions on an interface once an instance 
releases it.

Thanks,

François
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to