Supplied QName is not a valid identity


Vikram
 

Hi Team

 

ODL Version: Neon SR1

 

Discovered a Netconf device with below capabilities and when interfaces config data is discovered from the NETCONF device and printing the data object, observed the exception “com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity”

 

Can you please provide pointers on why the java type is not resolved for the identity, when iana-if-type is been advertised by the device (eventually part of the device schemacontext)?

 

Capabilities:

"netconf-node-topology:available-capabilities": {

                        "available-capability": [

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:validate:1.1"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:candidate:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:notification:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:xpath:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:startup:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:rollback-on-error:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:base:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:base:1.1"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:interleave:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-rate-profile?revision=2016-10-21)adva-ensemble-rate-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces?revision=2019-01-08)adva-ensemble-interfaces"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-gigabit?revision=2018-06-08)adva-ensemble-interfaces-gigabit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-bgp?revision=2017-11-27)adva-ensemble-bgp"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-vnf?revision=2019-01-08)adva-ensemble-vnf"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ip?revision=2018-06-08)adva-ensemble-interfaces-ip"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-domains?revision=2019-01-29)adva-ensemble-domains"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-tunnel?revision=2018-06-08)adva-ensemble-interfaces-tunnel"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)iana-if-type"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-acm?revision=2012-02-22)ietf-netconf-acm"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-types?revision=2016-10-25)adva-ensemble-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-dhcp-profile?revision=2019-01-08)adva-ensemble-dhcp-profile"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-ssh-server?revision=2016-11-02)ietf-ssh-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-vrf?revision=2019-01-17)adva-ensemble-vrf"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netconf:notification:1.0?revision=2008-07-14)notifications"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-inbandip?revision=2016-11-08)adva-ensemble-inbandip"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ethernet?revision=2018-05-02)adva-ensemble-interfaces-ethernet"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-aggr?revision=2018-06-08)adva-ensemble-interfaces-aggr"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-vport?revision=2018-08-17)adva-ensemble-interfaces-vport"

                           },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-common?revision=2018-05-02)adva-ensemble-interfaces-common"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-attachment-circuit?revision=2018-06-08)adva-ensemble-interfaces-attachment-circuit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-qos-profile?revision=2016-10-27)adva-ensemble-qos-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-inband?revision=2018-06-08)adva-ensemble-interfaces-inband"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-queue-profile?revision=2016-10-22)adva-ensemble-queue-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-security?revision=2019-01-08)adva-ensemble-security"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-ike?revision=2019-01-08)adva-ensemble-ike"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-system?revision=2019-01-08)adva-ensemble-system"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)ietf-interfaces"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-state?revision=2016-09-18)adva-ensemble-state"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-tls-server?revision=2016-11-02)ietf-tls-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-mef-cfm?revision=2019-01-08)adva-ensemble-mef-cfm"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:iana-crypt-hash?revision=2014-08-06)iana-crypt-hash"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-services?revision=2019-01-08)adva-ensemble-services"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-nat-profile?revision=2018-05-17)adva-ensemble-nat-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-lte?revision=2018-08-17)adva-ensemble-interfaces-lte"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-inet-types?revision=2013-07-15)ietf-inet-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netmod:notification?revision=2008-07-14)nc-notifications"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)ietf-netconf-monitoring"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-alarm?revision=2019-01-08)adva-ensemble-alarm"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-server?revision=2016-11-02)ietf-netconf-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-counters?revision=2018-06-08)adva-ensemble-counters"

                            },

                           {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)ietf-netconf"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?revision=2011-06-01)ietf-netconf-with-defaults"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-priority-rate-profile?revision=2016-09-27)adva-ensemble-priority-rate-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-system-info?revision=2018-12-05)adva-ensemble-system-info"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?revision=2014-12-10)ietf-x509-cert-to-name"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-metadata?revision=2016-08-05)ietf-yang-metadata"

                            },

                           {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-zero-touch?revision=2018-11-02)adva-ensemble-zero-touch"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ipsec?revision=2019-01-08)adva-ensemble-interfaces-ipsec"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:1?revision=2017-02-20)yang"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-tengigabit?revision=2018-06-08)adva-ensemble-interfaces-tengigabit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2016-06-21)ietf-yang-library"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-keystore?revision=2016-10-31)ietf-keystore"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-system?revision=2014-08-06)ietf-system"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-types?revision=2013-07-15)ietf-yang-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ipv4in6?revision=2018-11-27)adva-ensemble-interfaces-ipv4in6"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-config?revision=2016-09-27)adva-ensemble-config"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?revision=2012-02-06)ietf-netconf-notifications"

                            }

                        ]

                    }

 

Exception stacktrace:

com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050) ~[?:?]

        at com.google.common.cache.LocalCache.get(LocalCache.java:3951) ~[?:?]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3973) ~[?:?]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4957) ~[?:?]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4963) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext.getIdentityClass(BindingRuntimeContext.java:487) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.IdentityCodec.deserialize(IdentityCodec.java:29) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.IdentityCodec.deserialize(IdentityCodec.java:19) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LeafNodeCodecContext.deserializeObject(LeafNodeCodecContext.java:197) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.DataObjectCodecContext.getBindingChildValue(DataObjectCodecContext.java:532) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.KeyedListNodeCodecContext.getBindingChildValue(KeyedListNodeCodecContext.java:67) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.getBindingData(LazyDataObject.java:181) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.bindingToString(LazyDataObject.java:242) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.invoke(LazyDataObject.java:77) ~[?:?]

        at com.sun.proxy.$Proxy359.toString(Unknown Source) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at java.util.AbstractCollection.toString(AbstractCollection.java:462) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at com.google.common.base.MoreObjects$ToStringHelper.toString(MoreObjects.java:353) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.bindingToString(LazyDataObject.java:247) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.invoke(LazyDataObject.java:77) ~[?:?]

        at com.sun.proxy.$Proxy358.toString(Unknown Source) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.adaptor.ConnectorV3InterfaceListAdaptor.adapt(ConnectorV3InterfaceListAdaptor.java:75) ~[50:com.adva.ensemble.controller.connector-v3-adaptor:18.1.1.1]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.ConnectorV3InterfaceDataImpl.toControllerData(ConnectorV3InterfaceDataImpl.java:53) [54:com.adva.ensemble.controller.connector-v3-discovery:18.1.1.1]

        at com.adva.ensemble.controller.discovery.BaseDiscoveryImpl.discover(BaseDiscoveryImpl.java:67) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.ConnectorV3Discovery.discover(ConnectorV3Discovery.java:84) [54:com.adva.ensemble.controller.connector-v3-discovery:18.1.1.1]

        at Proxy2da611bb_03af_46b8_8544_e9641e32daf2.discover(Unknown Source) [?:?]

        at Proxyb7955541_e45f_461b_920f_33375507dab2.discover(Unknown Source) [?:?]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.impl.service.DiscoveryManagement.discover(DiscoveryManagement.java:47) [56:com.adva.ensemble.controller.connector-v3-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.performDiscovery(DiscoveryTask.java:191) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.handleDiscovery(DiscoveryTask.java:172) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.run(DiscoveryTask.java:433) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]

        at java.lang.Thread.run(Thread.java:745) [?:?]

Caused by: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity

        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:216) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:96) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:92) ~[?:?]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2276) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044) ~[?:?]

 

 

Thanks

Vikram

 

 

 


Vikram
 

Hi

 

+ netconf-dev@...

 

Any pointers on how to resolve the issue?

 

Thanks in advance

 

Regards

Vikram

 

From: Vikram Darsi
Sent: Wednesday, August 7, 2019 8:45 AM
To: mdsal-dev@...; yangtools-users@...
Subject: Supplied QName is not a valid identity

 

Hi Team

 

ODL Version: Neon SR1

 

Discovered a Netconf device with below capabilities and when interfaces config data is discovered from the NETCONF device and printing the data object, observed the exception “com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity”

 

Can you please provide pointers on why the java type is not resolved for the identity, when iana-if-type is been advertised by the device (eventually part of the device schemacontext)?

 

Capabilities:

"netconf-node-topology:available-capabilities": {

                        "available-capability": [

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:validate:1.1"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:candidate:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:notification:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:xpath:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:startup:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:rollback-on-error:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:base:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:base:1.1"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:interleave:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-rate-profile?revision=2016-10-21)adva-ensemble-rate-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces?revision=2019-01-08)adva-ensemble-interfaces"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-gigabit?revision=2018-06-08)adva-ensemble-interfaces-gigabit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-bgp?revision=2017-11-27)adva-ensemble-bgp"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-vnf?revision=2019-01-08)adva-ensemble-vnf"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ip?revision=2018-06-08)adva-ensemble-interfaces-ip"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-domains?revision=2019-01-29)adva-ensemble-domains"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-tunnel?revision=2018-06-08)adva-ensemble-interfaces-tunnel"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)iana-if-type"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-acm?revision=2012-02-22)ietf-netconf-acm"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-types?revision=2016-10-25)adva-ensemble-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-dhcp-profile?revision=2019-01-08)adva-ensemble-dhcp-profile"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-ssh-server?revision=2016-11-02)ietf-ssh-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-vrf?revision=2019-01-17)adva-ensemble-vrf"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netconf:notification:1.0?revision=2008-07-14)notifications"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-inbandip?revision=2016-11-08)adva-ensemble-inbandip"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ethernet?revision=2018-05-02)adva-ensemble-interfaces-ethernet"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-aggr?revision=2018-06-08)adva-ensemble-interfaces-aggr"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-vport?revision=2018-08-17)adva-ensemble-interfaces-vport"

                           },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-common?revision=2018-05-02)adva-ensemble-interfaces-common"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-attachment-circuit?revision=2018-06-08)adva-ensemble-interfaces-attachment-circuit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-qos-profile?revision=2016-10-27)adva-ensemble-qos-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-inband?revision=2018-06-08)adva-ensemble-interfaces-inband"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-queue-profile?revision=2016-10-22)adva-ensemble-queue-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-security?revision=2019-01-08)adva-ensemble-security"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-ike?revision=2019-01-08)adva-ensemble-ike"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-system?revision=2019-01-08)adva-ensemble-system"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)ietf-interfaces"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-state?revision=2016-09-18)adva-ensemble-state"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-tls-server?revision=2016-11-02)ietf-tls-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-mef-cfm?revision=2019-01-08)adva-ensemble-mef-cfm"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:iana-crypt-hash?revision=2014-08-06)iana-crypt-hash"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-services?revision=2019-01-08)adva-ensemble-services"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-nat-profile?revision=2018-05-17)adva-ensemble-nat-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-lte?revision=2018-08-17)adva-ensemble-interfaces-lte"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-inet-types?revision=2013-07-15)ietf-inet-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netmod:notification?revision=2008-07-14)nc-notifications"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)ietf-netconf-monitoring"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-alarm?revision=2019-01-08)adva-ensemble-alarm"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-server?revision=2016-11-02)ietf-netconf-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-counters?revision=2018-06-08)adva-ensemble-counters"

                            },

                           {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)ietf-netconf"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?revision=2011-06-01)ietf-netconf-with-defaults"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-priority-rate-profile?revision=2016-09-27)adva-ensemble-priority-rate-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-system-info?revision=2018-12-05)adva-ensemble-system-info"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?revision=2014-12-10)ietf-x509-cert-to-name"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-metadata?revision=2016-08-05)ietf-yang-metadata"

                            },

                           {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-zero-touch?revision=2018-11-02)adva-ensemble-zero-touch"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ipsec?revision=2019-01-08)adva-ensemble-interfaces-ipsec"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:1?revision=2017-02-20)yang"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-tengigabit?revision=2018-06-08)adva-ensemble-interfaces-tengigabit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2016-06-21)ietf-yang-library"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-keystore?revision=2016-10-31)ietf-keystore"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-system?revision=2014-08-06)ietf-system"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-types?revision=2013-07-15)ietf-yang-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ipv4in6?revision=2018-11-27)adva-ensemble-interfaces-ipv4in6"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-config?revision=2016-09-27)adva-ensemble-config"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?revision=2012-02-06)ietf-netconf-notifications"

                            }

                        ]

                    }

 

Exception stacktrace:

com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050) ~[?:?]

        at com.google.common.cache.LocalCache.get(LocalCache.java:3951) ~[?:?]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3973) ~[?:?]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4957) ~[?:?]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4963) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext.getIdentityClass(BindingRuntimeContext.java:487) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.IdentityCodec.deserialize(IdentityCodec.java:29) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.IdentityCodec.deserialize(IdentityCodec.java:19) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LeafNodeCodecContext.deserializeObject(LeafNodeCodecContext.java:197) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.DataObjectCodecContext.getBindingChildValue(DataObjectCodecContext.java:532) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.KeyedListNodeCodecContext.getBindingChildValue(KeyedListNodeCodecContext.java:67) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.getBindingData(LazyDataObject.java:181) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.bindingToString(LazyDataObject.java:242) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.invoke(LazyDataObject.java:77) ~[?:?]

        at com.sun.proxy.$Proxy359.toString(Unknown Source) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at java.util.AbstractCollection.toString(AbstractCollection.java:462) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at com.google.common.base.MoreObjects$ToStringHelper.toString(MoreObjects.java:353) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.bindingToString(LazyDataObject.java:247) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.invoke(LazyDataObject.java:77) ~[?:?]

        at com.sun.proxy.$Proxy358.toString(Unknown Source) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.adaptor.ConnectorV3InterfaceListAdaptor.adapt(ConnectorV3InterfaceListAdaptor.java:75) ~[50:com.adva.ensemble.controller.connector-v3-adaptor:18.1.1.1]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.ConnectorV3InterfaceDataImpl.toControllerData(ConnectorV3InterfaceDataImpl.java:53) [54:com.adva.ensemble.controller.connector-v3-discovery:18.1.1.1]

        at com.adva.ensemble.controller.discovery.BaseDiscoveryImpl.discover(BaseDiscoveryImpl.java:67) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.ConnectorV3Discovery.discover(ConnectorV3Discovery.java:84) [54:com.adva.ensemble.controller.connector-v3-discovery:18.1.1.1]

        at Proxy2da611bb_03af_46b8_8544_e9641e32daf2.discover(Unknown Source) [?:?]

        at Proxyb7955541_e45f_461b_920f_33375507dab2.discover(Unknown Source) [?:?]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.impl.service.DiscoveryManagement.discover(DiscoveryManagement.java:47) [56:com.adva.ensemble.controller.connector-v3-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.performDiscovery(DiscoveryTask.java:191) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.handleDiscovery(DiscoveryTask.java:172) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.run(DiscoveryTask.java:433) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]

        at java.lang.Thread.run(Thread.java:745) [?:?]

Caused by: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity

        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:216) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:96) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:92) ~[?:?]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2276) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044) ~[?:?]

 

 

Thanks

Vikram

 

 

 


Vikram
 

Hi Team

Is our understanding correct, that support of urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)iana-if-type is been stopped in Neon-Sr1 and hence the exception?

 

Query: Is it possible to support backward compatibility? Say, Controller in Neon-Sr1 to support both the device types, one which supports older iana-if-type(2014-05-08) and also one that supports latest (2018-07-03)? If so, how?

 

Thanks

Vikram

 

From: Vikram Darsi
Sent: Wednesday, August 14, 2019 1:27 PM
To: 'mdsal-dev@...' <mdsal-dev@...>; 'yangtools-users@...' <yangtools-users@...>; netconf-dev@...
Subject: RE: Supplied QName is not a valid identity

 

Hi

 

+ netconf-dev@...

 

Any pointers on how to resolve the issue?

 

Thanks in advance

 

Regards

Vikram

 

From: Vikram Darsi
Sent: Wednesday, August 7, 2019 8:45 AM
To: mdsal-dev@...; yangtools-users@...
Subject: Supplied QName is not a valid identity

 

Hi Team

 

ODL Version: Neon SR1

 

Discovered a Netconf device with below capabilities and when interfaces config data is discovered from the NETCONF device and printing the data object, observed the exception “com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity”

 

Can you please provide pointers on why the java type is not resolved for the identity, when iana-if-type is been advertised by the device (eventually part of the device schemacontext)?

 

Capabilities:

"netconf-node-topology:available-capabilities": {

                        "available-capability": [

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:validate:1.1"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:candidate:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:notification:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:xpath:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:startup:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:rollback-on-error:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:base:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:base:1.1"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "urn:ietf:params:netconf:capability:interleave:1.0"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-rate-profile?revision=2016-10-21)adva-ensemble-rate-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces?revision=2019-01-08)adva-ensemble-interfaces"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-gigabit?revision=2018-06-08)adva-ensemble-interfaces-gigabit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-bgp?revision=2017-11-27)adva-ensemble-bgp"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-vnf?revision=2019-01-08)adva-ensemble-vnf"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ip?revision=2018-06-08)adva-ensemble-interfaces-ip"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-domains?revision=2019-01-29)adva-ensemble-domains"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-tunnel?revision=2018-06-08)adva-ensemble-interfaces-tunnel"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)iana-if-type"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-acm?revision=2012-02-22)ietf-netconf-acm"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-types?revision=2016-10-25)adva-ensemble-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-dhcp-profile?revision=2019-01-08)adva-ensemble-dhcp-profile"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-ssh-server?revision=2016-11-02)ietf-ssh-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-vrf?revision=2019-01-17)adva-ensemble-vrf"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netconf:notification:1.0?revision=2008-07-14)notifications"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-inbandip?revision=2016-11-08)adva-ensemble-inbandip"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ethernet?revision=2018-05-02)adva-ensemble-interfaces-ethernet"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-aggr?revision=2018-06-08)adva-ensemble-interfaces-aggr"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-vport?revision=2018-08-17)adva-ensemble-interfaces-vport"

                           },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-common?revision=2018-05-02)adva-ensemble-interfaces-common"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-attachment-circuit?revision=2018-06-08)adva-ensemble-interfaces-attachment-circuit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-qos-profile?revision=2016-10-27)adva-ensemble-qos-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-inband?revision=2018-06-08)adva-ensemble-interfaces-inband"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-queue-profile?revision=2016-10-22)adva-ensemble-queue-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-security?revision=2019-01-08)adva-ensemble-security"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-ike?revision=2019-01-08)adva-ensemble-ike"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-system?revision=2019-01-08)adva-ensemble-system"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)ietf-interfaces"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-state?revision=2016-09-18)adva-ensemble-state"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-tls-server?revision=2016-11-02)ietf-tls-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-mef-cfm?revision=2019-01-08)adva-ensemble-mef-cfm"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:iana-crypt-hash?revision=2014-08-06)iana-crypt-hash"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-services?revision=2019-01-08)adva-ensemble-services"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-nat-profile?revision=2018-05-17)adva-ensemble-nat-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-lte?revision=2018-08-17)adva-ensemble-interfaces-lte"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-inet-types?revision=2013-07-15)ietf-inet-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netmod:notification?revision=2008-07-14)nc-notifications"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)ietf-netconf-monitoring"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-alarm?revision=2019-01-08)adva-ensemble-alarm"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-server?revision=2016-11-02)ietf-netconf-server"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-counters?revision=2018-06-08)adva-ensemble-counters"

                            },

                           {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)ietf-netconf"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?revision=2011-06-01)ietf-netconf-with-defaults"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-priority-rate-profile?revision=2016-09-27)adva-ensemble-priority-rate-profile"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-system-info?revision=2018-12-05)adva-ensemble-system-info"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?revision=2014-12-10)ietf-x509-cert-to-name"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-metadata?revision=2016-08-05)ietf-yang-metadata"

                            },

                           {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-zero-touch?revision=2018-11-02)adva-ensemble-zero-touch"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ipsec?revision=2019-01-08)adva-ensemble-interfaces-ipsec"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:1?revision=2017-02-20)yang"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-tengigabit?revision=2018-06-08)adva-ensemble-interfaces-tengigabit"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2016-06-21)ietf-yang-library"

                            },

                            {

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-keystore?revision=2016-10-31)ietf-keystore"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-system?revision=2014-08-06)ietf-system"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-yang-types?revision=2013-07-15)ietf-yang-types"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-interfaces-ipv4in6?revision=2018-11-27)adva-ensemble-interfaces-ipv4in6"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(http://www.advaoptical.com/ns/adva-ensemble-config?revision=2016-09-27)adva-ensemble-config"

                            },

                            {

                                "capability-origin": "device-advertised",

                                "capability": "(urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?revision=2012-02-06)ietf-netconf-notifications"

                            }

                        ]

                    }

 

Exception stacktrace:

com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050) ~[?:?]

        at com.google.common.cache.LocalCache.get(LocalCache.java:3951) ~[?:?]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3973) ~[?:?]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4957) ~[?:?]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4963) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext.getIdentityClass(BindingRuntimeContext.java:487) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.IdentityCodec.deserialize(IdentityCodec.java:29) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.IdentityCodec.deserialize(IdentityCodec.java:19) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LeafNodeCodecContext.deserializeObject(LeafNodeCodecContext.java:197) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.DataObjectCodecContext.getBindingChildValue(DataObjectCodecContext.java:532) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.KeyedListNodeCodecContext.getBindingChildValue(KeyedListNodeCodecContext.java:67) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.getBindingData(LazyDataObject.java:181) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.bindingToString(LazyDataObject.java:242) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.invoke(LazyDataObject.java:77) ~[?:?]

        at com.sun.proxy.$Proxy359.toString(Unknown Source) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at java.util.AbstractCollection.toString(AbstractCollection.java:462) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at com.google.common.base.MoreObjects$ToStringHelper.toString(MoreObjects.java:353) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.bindingToString(LazyDataObject.java:247) ~[?:?]

        at org.opendaylight.mdsal.binding.dom.codec.impl.LazyDataObject.invoke(LazyDataObject.java:77) ~[?:?]

        at com.sun.proxy.$Proxy358.toString(Unknown Source) ~[?:?]

        at java.lang.String.valueOf(String.java:2982) ~[?:?]

        at java.lang.StringBuilder.append(StringBuilder.java:131) ~[?:?]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.adaptor.ConnectorV3InterfaceListAdaptor.adapt(ConnectorV3InterfaceListAdaptor.java:75) ~[50:com.adva.ensemble.controller.connector-v3-adaptor:18.1.1.1]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.ConnectorV3InterfaceDataImpl.toControllerData(ConnectorV3InterfaceDataImpl.java:53) [54:com.adva.ensemble.controller.connector-v3-discovery:18.1.1.1]

        at com.adva.ensemble.controller.discovery.BaseDiscoveryImpl.discover(BaseDiscoveryImpl.java:67) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.discovery.ConnectorV3Discovery.discover(ConnectorV3Discovery.java:84) [54:com.adva.ensemble.controller.connector-v3-discovery:18.1.1.1]

        at Proxy2da611bb_03af_46b8_8544_e9641e32daf2.discover(Unknown Source) [?:?]

        at Proxyb7955541_e45f_461b_920f_33375507dab2.discover(Unknown Source) [?:?]

        at com.adva.ensemble.controller.devicemanagement.connector.v3.impl.service.DiscoveryManagement.discover(DiscoveryManagement.java:47) [56:com.adva.ensemble.controller.connector-v3-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.performDiscovery(DiscoveryTask.java:191) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.handleDiscovery(DiscoveryTask.java:172) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at com.adva.ensemble.controller.discovery.service.DiscoveryTask.run(DiscoveryTask.java:433) [72:com.adva.ensemble.controller.discovery-impl:18.1.1.1]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]

        at java.lang.Thread.run(Thread.java:745) [?:?]

Caused by: java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd is not a valid identity

        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:216) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:96) ~[?:?]

        at org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:92) ~[?:?]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2276) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154) ~[?:?]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044) ~[?:?]

 

 

Thanks

Vikram

 

 

 

Please see our privacy statement at https://www.advaoptical.com/en/about-us/legal/privacy-statement for details of how ADVA processes personal information.