Hi Paul,

tbh I'm not exactly sure what you are trying to do overall. But from your 
script it seems to me that you are trying to create an OVS port so a libvirt 
instance outside of Nova control can use it. And you don't need the linux 
bridge for security group iptables.

AFAIK the tap must be created first using the ip command. Then when 'ovs-vsctl 
add-port' is called with the same name as the tap device for the port name, the 
tap device will be enslaved properly in the OVS bridge.

https://github.com/openstack/nova/blob/304df046eaaad6d64ee16898b1eaa76918e98878/nova/virt/libvirt/vif.py#L420-L423

Regards, Darragh.

On Monday, 31 March 2014, 12:36, Paul Michali (pcm) <p...@cisco.com> wrote:
 
Hi Darragh, 
>
>
>Can you elaborate on what the “set interface” arguments do in OVS? Just trying 
>to understand why it is not desired, when plugging into this interface (note I 
>have a management interface on the br-int and it works fine…this one, which is 
>also on br-int, but needs to tie to the existing “private” network that 
>devstack sets up, does not work.
>
>
>Regards,
>
>
>PCM (Paul Michali)
>
>
>MAIL …..…. p...@cisco.com
>IRC ……..… pcm_ (irc.freenode.com)
>TW ………... @pmichali
>GPG Key … 4525ECC253E31A83
>Fingerprint .. 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83
>
>
>
>
>On Mar 31, 2014, at 4:20 AM, Darragh O'Reilly <dara2002-openst...@yahoo.com> 
>wrote:
>
>Hi Paul,
>>
>>the OVSInterfaceDriver creates interfaces with type internal so agents like 
>>DHCP/L3 etc can put IP addresses on them. But I don't think type internal 
>>will work for instances. You could try subclassing and overriding so it does 
>>not do this:
>>
>> 
>>https://github.com/openstack/neutron/blob/2541ff7cad19941b62dace7e9951a56a16e53f3e/neutron/agent/linux/interface.py#L150
>> 
>>
>>
>>Regards,
>>Darragh.
>>
_______________________________________________
>>OpenStack-dev mailing list
>>OpenStack-dev@lists.openstack.org
>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
>
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to