Hi,

I am adding @DAN<mailto:[email protected]> and @Andreas 
Geissler<mailto:[email protected]> for this.

BR,
Byung

From: [email protected] <[email protected]> on behalf of 
Kumar, Aman via lists.onap.org <[email protected]>
Date: Monday, October 14, 2024 at 7:32 AM
To: [email protected] <[email protected]>
Cc: Ahmad Khan, Suhail <[email protected]>, Jain, Pooja 
<[email protected]>, Jain, Prashant <[email protected]>, 
Navalli, Viresh R <[email protected]>
Subject: [onap-discuss] #SDNC Facing Issue with ietf-netconf:get-config API in 
new_delhi release
Hi Team ,

We’ve deployed ONAP new_delhi release,  here I am checking basic Netconf 
“Get-Config”  API with  SDNR Rest API.
While fetching data from the API “yang-ext:mount/ietf-netconf:get-config”, I am 
getting 200 reply but with no data.
Also we’ve checked the SDNC log and its visible that “rpc reply” of get-config 
is coming successfully with data from device/network function but failing in 
parsing.
Please find Attached logs for more details.
Kindly help us here.


[cid:[email protected]]


Request:
    024-10-14T17:20:42,661 | INFO  | qtp1429589282-5197 | 
PayloadLoggingServletFilter      | 479 - 
wrap_file__opt_opendaylight_system_org_onap_logging-analyticng-filter-base_1.6.9_logging-filter-base-1.6.9.jar
 - 0.0.0 |  -  | REQUEST BODY|
{
  "input": {
    "source": {
      "candidate": null
    },
    "filter": {
      "interfaces": {
        "interface": {
        }
      }
    }
  }
}

RPC Reply:

2024-10-14T17:20:42,832 | DEBUG | sshd-NetconfSshClient[78b209f8]-nio2-thread-6 
| NettyAwareChannelSubsystem       | 383 - 
org.opendaylight.netconf.shaded-s.0.7 |  -  | 
handleData(NettyAwareChannelSubsystem[id=0, 
recipient=43]-NetconfClientSessionImpl[root@/172.19.58.213:30007][netconf]) 
SSH_MSG_CHANNEL_DATA le
2024-10-14T17:20:42,842 | DEBUG | globalWorkerGroup-3-28 | 
AbstractNetconfSession           | 374 - org.opendaylight.netconf.netty-util - 
5.0.7 |  -  | Mess received: <rpc-reply 
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-172">
    <data>
        <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
            <interface>
                <name>eth1</name>
                <description>default/net-gnbnetwork1</description>
                <type 
xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
                <enabled>true</enabled>
                <l2-mtu xmlns="urn:o-ran:interfaces:1.0">60489</l2-mtu>
                <vlan-tagging 
xmlns="urn:o-ran:interfaces:1.0">true</vlan-tagging>
                <class-of-service xmlns="urn:o-ran:interfaces:1.0">
                    <u-plane-marking>3</u-plane-marking>
                    <c-plane-marking>0</c-plane-marking>
                        …….
                       ……..


Error in logs:

2024-10-14T17:49:58,218 | ERROR | globalWorkerGroup-3-2 | AbstractFuture        
           | 50 - com.google.guava - 31.1.0.jre |  -  | RuntimeException while 
executing runnable 
CallbackListener{org.opendaylight.restconf.nb.rfc8040.rests.services.impl.RestconfInvokeOperationsServiceImpl$1@14e92130}<mailto:CallbackListener%7borg.opendaylight.restconf.nb.rfc8040.rests.services.impl.RestconfInvokeOperationsServiceImpl$1@14e92130%7d>
 with executor MoreExecutors.directExecutor()
java.util.NoSuchElementException: No value present
        at java.util.Optional.orElseThrow(Unknown Source) ~[?:?]
        at 
org.opendaylight.restconf.nb.rfc8040.jersey.providers.JsonNormalizedNodeBodyWriter.writeNormalizedNode(JsonNormalizedNodeBodyWriter.java:102)
 ~[bundleFile:?]
        at 
org.opendaylight.restconf.nb.rfc8040.jersey.providers.JsonNormalizedNodeBodyWriter.writeTo(JsonNormalizedNodeBodyWriter.java:71)
 ~[bundleFile:?]
        at 
org.opendaylight.restconf.nb.rfc8040.jersey.providers.JsonNormalizedNodeBodyWriter.writeTo(JsonNormalizedNodeBodyWriter.java:48)
 ~[bundleFile:?]
        at 
org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
 ~[bundleFile:?]
        at 
org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
 ~[bundleFile:?]

Thanks,
Aman
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24706): https://lists.onap.org/g/onap-discuss/message/24706
Mute This Topic: https://lists.onap.org/mt/108999383/21656
Mute #sdnc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnc
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to