From: Anil Vishnoi [mailto:[email protected]]
Sent: Thursday, October 12, 2017 2:22 PM
To: Faseela K <[email protected]>
Cc: Muthukumaran K <[email protected]>; Tom Pantelis 
<[email protected]>; [email protected]; 
[email protected]; R Srinivasan E 
<[email protected]>; Dayavanti Gopal Kamath 
<[email protected]>
Subject: Re: [controller-dev] Expose Datastore health to applications via 
infrautils.diagstatus



On Thu, Oct 12, 2017 at 1:38 AM, Faseela K 
<[email protected]<mailto:[email protected]>> wrote:
I had the same discussion with Michael.
Since infrautils is placed as some entity below controller/md-sal, he had the 
opinion that the service should be registered from above and the status should 
be exposed.
​Yeah, we had brief discussion about it in DDF, and i think that's the ideal 
way to do it.​

So here is how diagstatus module works – any application should register as a 
“service” with the framework, report an initial status(using the APIs provided 
by diagstatus).
There is another OsgiService “ServiceStatusProvider” exposed, and if 
applications implement the same, that will be called everytime an external 
request is made to get the current service status.
​Isn't it that in both the approach, controller will have to depend on 
infrautils? ​

Yes!


Thanks,
Faseela
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to