02-21-2024 06:33 AM
Hi everyone,
I have two WLC 9800 that im accessing via Netconf. I monitor their partition space via the "Cisco-IOS-XE-platform-software-oper" yang module.
The first (ios xe v17.06.05) is giving me the expected output :
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:5b45bb98-d4bb-456b-a4f4-2b753733e396">
<data>
<cisco-platform-software xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-platform-software-oper">
<q-filesystem>
<fru>fru-rp</fru>
<slot>0</slot>
<bay>0</bay>
<chassis>-1</chassis>
<partitions>
<name>...
The secound one (v17.06.04) gives me an error :
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:1876de57-8719-4db8-a515-1966f0fd9ac1">
<data>
<cisco-platform-software xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-platform-software-oper">
<q-filesystem><fru>fru-rp</fru><slot>0</slot><bay>0</bay><chassis>-1</chassis><rpc-error xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message xml:lang="en">application protocol error</error-message><error-info><bad-element>partitions</bad-element>
</error-info>
</rpc-error>
<core-files><filename>W00S4530VOO1-system-report_20230605-210935-CET.tar</filename><time>2023-06-05T19:09:36+00:00</time></core-files><core-files><filename>W00S4530VOO1-system-report_20240119-041021-CET.tar.gz</filename><time>2024-01-19T03:11:40+00:00</time></core-files><core-files><filename>W00S4530VOO1-system-report_20240119-041021-CET-info.txt</filename><time>2024-01-19T03:12:20+00:00</time></core-files><rpc-error xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message xml:lang="en">application protocol error</error-message><error-info><bad-element>image-files</bad-element>
</error-info>
</rpc-error>
</q-filesystem>
</cisco-platform-software>
</data>
</rpc-reply>
And they both have the same capabilities for this module :
http://cisco.com/ns/yang/Cisco-IOS-XE-platform-software-oper?module=Cisco-IOS-XE-platform-software-oper&revision=2021-07-04
The only differences that I could see are the small version difference and the fact that the one giving the error is in high availability. But as I said they still have the same capabilities on that request so they should both work.
Does anyone have an idea ?
02-21-2024 06:36 AM
Also, I cannont find any yang repo for those versions and cannot find the revision "2021-07-04" of that yang module. Only some older and newer revisions.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide