-
Notifications
You must be signed in to change notification settings - Fork 939
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 - "Admin mode has been deprecated" #3166
Comments
Would (I've got no IOS-XR to test myself, just reading the documentation) |
It would be also possible in the model to detect if we are running on cXR (32b QNX) or eXR (64b Linux), storate that in class instance variable, and later based on that variable behave differently in what commands to run or how to parse them. The admin mode exists in cXR, not in eXR, but there are other differences too. And further, eXR has two very different versions, the calvados version ran on ASR9k and then the lite version ran on C8k. |
In addition to the above c8k running 7.9.2, I have access to some NCS-5501-SE running an older XR 7.3.2. On both the NCS and c8k, the output of If you need an output I can provide it, but it's very time-consuming to anonymize all of them. On the NCS, there is a lot more details in
|
@robertcheramy I'm sorry. I missed the email in which I was mentioned. The main difference between "show inventory all" and "admin show inventory" on my IOS-XR is that the admin cli displays chassis and PSU serial numbers. I couldn't find any other way to collect this information. |
Using the default read-only-tg group for oxidized does result in failure for command admin show inventory. In my used version 7.9.21 (latest tac adviced), show inventory all also shows Powersupply serialnumbers. I also like to revert back to "show inventory all, due to the need to extend permissions to execute admin show inventory. It is not needed to give this permission since show inventory all also gives SN for the PSU. No different output with the admin command. Only unneeded extended permissions for the oxidized user.
|
oxidized/lib/oxidized/model/iosxr.rb
Line 19 in 89f10f7
On IOS-XR 7.9, this is what you get :
While
show inventory
outputs the expected data.I think #2915 should be reverted.
The text was updated successfully, but these errors were encountered: