Re: [openstack-dev] [Neutron] Question about create_port

2013-09-12 Thread Salvatore Orlando
Hi,

where are you observing such calls?
The vm boot process makes indeed several REST calls to Neutron, but about
90% of them are GETs, there should be only 1 POST for each port, and a few
puts.
I think you should not see DELETE in the boot process, so perhaps these
calls are coming from somewhere else (a DHCP agent acting a bit crazy
perhaps?)

Regards,
Salvatore


On 4 September 2013 15:03, Chandan Dutta Chowdhury chand...@juniper.netwrote:

 Hello All,

 I am trying to make my neutron plugin  to configure a physical
 switch(using vlans), while in create_port I am trying to configure the
 physical switch I see a lot of create_port and delete_port  calls appearing
 in server.log.
 I am assuming that this may be due to the amount of time required to
 configure/commit on the physical switch is higher, and nova may be trying
 multiple times to create port (and deleting port when response does not
 arrive within a timeout period).

 Is there a timeout value in neutron or nova that can be altered so that
 the client can wait for the create_port to finish instead of sending
 multiple create/delete port?

 Thanks
 Chandan


 ___
 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


[openstack-dev] [Neutron] Question about create_port

2013-09-04 Thread Chandan Dutta Chowdhury
Hello All,

I am trying to make my neutron plugin  to configure a physical switch(using 
vlans), while in create_port I am trying to configure the physical switch I see 
a lot of create_port and delete_port  calls appearing in server.log.
I am assuming that this may be due to the amount of time required to 
configure/commit on the physical switch is higher, and nova may be trying 
multiple times to create port (and deleting port when response does not arrive 
within a timeout period).

Is there a timeout value in neutron or nova that can be altered so that the 
client can wait for the create_port to finish instead of sending multiple 
create/delete port?

Thanks
Chandan


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev