Re: [ODL Discuss] Issue while using NormalizedAnyData interface

2024-05-13 Thread Ravi Chandra Pendurty
Hi Ivan,

  I read through the release notes of Chlorine and Argon and could not find
any changes related to the yang-data-codec-xml bundle. The code is working
fine in Sulphur but not in Chlorine, Argon and Potassium.
 The observation is that in DOMSourceAnydata class, the line -
"reader.nextTag();" - is missing in the "writeTo" method in yangtools
version 11.0.5 whereas it is present in 8.0.6. Adding this line of code to
11.0.5 resolved the issue. This line basically helps to skip the  tag
in the XML DOMSource.

Wondering if this change is intended or a bug. The snippet of AnyXML used
for Normalization is as below -




  
   
   
 
  

Please clarify.
Regards,
Ravi


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9094): https://lists.opendaylight.org/g/Discuss/message/9094
Mute This Topic: https://lists.opendaylight.org/mt/105730411/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-




Re: [ODL Discuss] Issue while using NormalizedAnyData interface

2024-04-30 Thread Ravi Chandra Pendurty
Hi, Does anyone have any input on this?

Regards,
Ravi


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9092): https://lists.opendaylight.org/g/Discuss/message/9092
Mute This Topic: https://lists.opendaylight.org/mt/105730411/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-




Re: [ODL Discuss] Opendaylight Controller Web UI - Error - "Unauthorized"

2023-11-17 Thread Ravi Chandra Pendurty
Hi Binoy,

 Which version of ODL are you using?

-Ravi


Virus-free.www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9040): https://lists.opendaylight.org/g/Discuss/message/9040
Mute This Topic: https://lists.opendaylight.org/mt/102642106/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-




[ODL Discuss] Retrieving only Augment node data does not work

2023-02-06 Thread Ravi Chandra Pendurty
Hi, I am trying to query just the augmented node data but the rpc call does not 
include the augment node as a filter but includes the parent of the augment 
node and hence retrieves the complete data. For ex:
In the code snippet below -

> 
> 
> InstanceIdentifierBuilder alarmsPacIID = YangInstanceIdentifier.builder()
> .node(Onf14DevicemanagerQNames.CORE_MODEL_CONTROL_CONSTRUCT_CONTAINER);
> 
> @NonNull
> AugmentationIdentifier alarmsContainerIID =
> YangInstanceIdentifier.AugmentationIdentifier
> .create(Sets.newHashSet(Onf14DevicemanagerQNames.ALARM_PAC));
> 
> InstanceIdentifierBuilder augmentedAlarmsIID =
> YangInstanceIdentifier.builder(alarmsPacIID.build()).node(alarmsContainerIID);
> 
> 
> // reading all the alarms
> Optional alarms =
> netconfDomAccessor.readDataNode(LogicalDatastoreType.OPERATIONAL,
> augmentedAlarmsIID.build());
> 

The "alarms-pac" is augmented into core-model of ONF14 and I need to query just 
the alarms-pac node from the core-mode control-construct container. However for 
the above piece of code, the following NETCONF request is generated -





which results in the complete control-construct being queried.

Is it possible to get just the augmented node data? If so, please clarify what 
is missing in the above piece of code.

Is it possible to get a child node of the augmented node instead of the parent 
augmented node? For ex: in the screenshot below, alarms-pac is the augmented 
node in control-construct and I would like to query "current-alarms" only.

Regards,
Ravi


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8943): https://lists.opendaylight.org/g/Discuss/message/8943
Mute This Topic: https://lists.opendaylight.org/mt/96800989/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-