Oh, I see...that's a good question.

I'll have to defer that one to Edison.


On Tue, Jun 25, 2013 at 8:28 AM, Prasanna Santhanam <[email protected]> wrote:

> Understood, I've done that. But I was wondering if there was a generic
> way to group all components (driver, lifecycle, provider) of a
> vendor-implementation into a logical spring context like say:
>
> In componentContext.xml.in
>
> <!-- Networking adapters -->
>   <bean id="ipDeployers" class="com.cloud.utils.component.AdapterList">
>     <property name="Adapters">
>       <list>
>           <ref bean="elasticLoadBalancerElement"/>
>           <ref bean="VirtualRouter"/>
>           <ref bean="VpcVirtualRouter"/>
>           <ref bean="NiciraNvp"/>
>           <ref bean="InternalLbVm"/>
>       </list>
>     </property>
>   </bean>
>
> On Tue, Jun 25, 2013 at 08:19:40AM -0600, Mike Tutkowski wrote:
> > Hi,
> >
> > Yeah, John Burwell is finishing up the review process for the SolidFire
> > plug-in, so - at present - the code is not in master.
> >
> > To try to answer your question, I had to modify the
> > applicationContext.xml.in file.
> >
> > Here is the line I added:
> >
> > <bean id="solidFireDataStoreProvider"
> >
> class="org.apache.cloudstack.storage.datastore.provider.SolidfirePrimaryDataStoreProvider"
> > />
> >
> > Talk to you later!
> >
> >
> > On Tue, Jun 25, 2013 at 7:32 AM, Prasanna Santhanam <[email protected]>
> wrote:
> >
> > > Hi
> > >
> > > I noticed that all the storage providers are plugged in via
> > > applicationContext by default. How does one plugin a custom provider -
> > > say for example CompanyXStorageProvider?
> > >
> > > On looking at the SolidFire implementation I found the plugin doesn't
> > > actually come into play when running in either OSS or nonOSS mode.
> > > IOW, the plugin isn't injected in either of - componentContext.xml.in
> > > / nonossComponentContext.xml.in. Is the merge still in progress?
> > >
> > > Since these are not 'Adapters' so I don't know how to plugin my own
> > > storage provider into the contexts - oss/non-oss. Unlike network
> > > elements the DataStoreProvider, DataStoreLifeCycle seem independant and
> > > don't follow the plugin model. How does this work?
> > >
> > > Thanks,
> > >
> > > --
> > > Prasanna.,
> > >
> > > ------------------------
> > > Powered by BigRock.com
> > >
> > >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: [email protected]
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud<http://solidfire.com/solution/overview/?video=play>
> > *?*
>
> --
> Prasanna.,
>
> ------------------------
> Powered by BigRock.com
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: [email protected]
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to