Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iosxr serial number #56

Closed
fooelisa opened this issue May 29, 2015 · 2 comments
Closed

iosxr serial number #56

fooelisa opened this issue May 29, 2015 · 2 comments
Assignees
Labels

Comments

@fooelisa
Copy link
Member

admin show inventory

not available though xml interface
% 'admin' exec command not supported through XML interface

@fooelisa fooelisa added the bug label May 29, 2015
@fooelisa fooelisa self-assigned this May 29, 2015
@fooelisa fooelisa added this to the version 0.2 milestone Jun 16, 2015
@dbarrosop dbarrosop removed this from the version 0.2 milestone Oct 19, 2015
@mirceaulinic
Copy link
Member

On IOS-XR the equivalent XML request usually does not match the CLI command format:

<Get><Operational><PlatformInventory></PlatformInventory></Operational></Get>

does the trick:

.
.
.
                         <Attributes>
                            <BasicInfo>
                                <Name>
                                    chassis ASR-9904-AC
                                </Name>
                                <Description>
                                    ASR 9904 2 Line Card Slot Chassis with V2 AC PEM
                                </Description>
                                <ModelName>
                                    ASR-9904-AC
                                </ModelName>
                                <HardwareRevision>
                                    V01
                                </HardwareRevision>
                                <SerialNumber>
                                    [YOUR SERIAL]
                                </SerialNumber>
                                <SoftwareRevision>
                                    5.3.3
                                </SoftwareRevision>
                                <VendorType>
                                    1.3.6.1.4.1.9.12.3.1.3.1301
                                </VendorType>
                                <IsFieldReplaceableUnit>
                                    true
                                </IsFieldReplaceableUnit>
                            </BasicInfo>
.
.
.

@mirceaulinic
Copy link
Member

This issue was fixed via napalm-automation/napalm-iosxr#26

dbarrosop pushed a commit that referenced this issue Oct 23, 2017
dbarrosop added a commit that referenced this issue Oct 24, 2017
Add get_interfaces_counters method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants