Thanks Tom,
I tried the same with latest release like boron and all its working fine,
But in my use case I have dependency on lithium where I am trying to get
schema-service using config-subsystem and facing the same.
Thanks
Sonu Gupta
9742717260
On Wed, Feb 14, 2018 at 6:35 PM, Tom Pantelis wrote:
> Sonu,
>
> I would suggest switching to blueprint - the config subsystem is
> deprecated and is scheduled for removal in Flourine.
>
> Tom
>
> On Wed, Feb 14, 2018 at 1:52 AM, Sonu Gupta
> wrote:
>
>> Hi All,
>>
>> I am facing an issue while getting out the schema service via the config
>> subsystem
>>
>> In my provider-impl.yang file I have this:
>>
>> container root-schema-service {
>>
>> uses config:service-ref {
>>
>> refine type {
>>
>> mandatory true;
>> config:required-identity dom:schema-service;
>>
>> }
>>
>> }
>>
>> }
>>
>>
>> and
>>
>> default-config.xml
>>
>>
>>
>>
>> dom:schema-service
>> yang-schema-service
>>
>>
>>
>> When I load up my provider I end up getting this error in my karaf log:
>>
>>
>>
>> 2015-03-19 10:28:30,413 | WARN | config-pusher|
>> ConfigTransactionControllerImpl | validateNoLocks() 333 |
>> org.opendaylight.controller.config-manager | | | Validation exception in
>> ConfigTransaction-79-80
>> org.opendaylight.controller.config.api.JmxAttributeValidationException:
>> RootSchemaService is null, expected dependency implementing interface
>> org.opendaylight.controller.config.yang.md.sal.dom.SchemaServiceServiceInterface
>>
>> at
>> org.opendaylight.controller.config.api.JmxAttributeValidationException.checkNotNull(JmxAttributeValidationException.java:66)
>>
>>
>> Can somebody please give me some pointer where I am going missing something
>> ...
>>
>> Thanks
>> Sonu Gupta
>>
>>
>> ___
>> controller-dev mailing list
>> controller-dev@lists.opendaylight.org
>> https://lists.opendaylight.org/mailman/listinfo/controller-dev
>>
>>
>
___
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev