Re: [openstack-dev] install custom middleware via devstack

2015-04-28 Thread Jaume Devesa
Hi Ali,

I don't know the details of what you want to achieve, but (not so) recently,
devstack allows you to add Externally Hosted Plugins[1], from which Devstack
loads an external repository and run any arbitrary code.

This code will be sourced in each one of the Devstack's phases, so you can
control what code run in each phase. Check out the script we use in MidoNet
plugin as an example[2]

Hope that helps.

[1]:
http://docs.openstack.org/developer/devstack/plugins.html#externally-hosted-plugins
[2]:
https://github.com/stackforge/networking-midonet/blob/master/devstack/plugin.sh

On Tue, 28 Apr 2015 08:55, AliReza Taleghani wrote:
> Hi
> I'm working on a custom middleware which will place on swift-proxy
> pipeline, just before the latest proxy-logging.
> 
> how can I force devstack to install my middleware just as I run ./stack.sh?
> #The point is that I'm looking for a mature and standard to do it, so I'm
> not going to just edit the stack.sh and Embed some scripts to manually
> handle the case! but as I mentioned I would like the learn the best case...
> 
> 
> 
> Sincerely,
> Ali R. Taleghani
> @linkedIn 

> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-- 
Jaume Devesa
Software Engineer at Midokura

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] install custom middleware via devstack

2015-04-27 Thread AliReza Taleghani
Hi
I'm working on a custom middleware which will place on swift-proxy
pipeline, just before the latest proxy-logging.

how can I force devstack to install my middleware just as I run ./stack.sh?
#The point is that I'm looking for a mature and standard to do it, so I'm
not going to just edit the stack.sh and Embed some scripts to manually
handle the case! but as I mentioned I would like the learn the best case...



Sincerely,
Ali R. Taleghani
@linkedIn 
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev