Open rarodrigo opened 6 years ago
The next step is to figure out what the corresponding XML returned on your device is. Here is what it looks like we are doing:
But that would need translated into how to retrieve the corresponding XML on your device.
@rarodrigo Any chance to get the needed XML information from the device?
@ktbyers I am trying to figure out how to execute command on device and export all directly as xml.
Below is what I get when I run the XML directly on an XRV running Cisco IOS XR Software, Version 6.1.3[Default]
.
Looks like <PlatformInventory/>
is not supported?
Request
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Operational>
<SystemTime/>
<PlatformInventory/>
</Operational>
</Get>
</Request>
Response
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get ItemNotFoundBelow="true">
<Operational>
<SystemTime MajorVersion="2" MinorVersion="0">
<Clock>
<Year>
2018
</Year>
<Month>
10
</Month>
<Day>
26
</Day>
<Hour>
3
</Hour>
<Minute>
57
</Minute>
<Second>
21
</Second>
<Millisecond>
790
</Millisecond>
<Wday>
5
</Wday>
<TimeZone>
UTC
</TimeZone>
<TimeSource>
Calendar
</TimeSource>
</Clock>
<Uptime>
<Hostname>
iosxrv-1
</Hostname>
<Uptime>
2927
</Uptime>
</Uptime>
</SystemTime>
<PlatformInventory MajorVersion="0" MinorVersion="8" NotFound="true"/>
</Operational>
</Get>
<ResultSummary ErrorCount="0" ItemNotFoundBelow="true"/>
</Response>
I am having some problem using
napalm_get_facts
with filter facts under specific plataform related Cisco.The issue was found under Cisco XRV IOS version 6.1.2.
Cannot see information in some
variable
. Follow the logs:Like cannot see
napalm_os_version
,napalm_version
.