napalm: Junos SRX cluster get_environment() returns null. 15.1X49-D130.6
Description of Issue/Question
Note: Please check https://guides.github.com/features/mastering-markdown/ to see how to properly format your request.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an x
between the square brackets where applicable)
- Yes
- [] No
Setup
napalm version
(Paste verbatim output from pip freeze | grep napalm
between quotes below)
napalm==2.5.0
Network operating system version
(Paste verbatim output from show version
- or equivalent - between quotes below)
node0:
--------------------------------------------------------------------------
Hostname: node0
Model: srx345-dual-ac
Junos: 15.1X49-D130.6
JUNOS Software Release [15.1X49-D130.6]
node1:
--------------------------------------------------------------------------
Hostname: node1
Model: srx345-dual-ac
Junos: 15.1X49-D130.6
JUNOS Software Release [15.1X49-D130.6]
Steps to Reproduce the Issue
Error Traceback
(Paste the complete traceback of the exception between quotes below)
No errors, per se. Just empty dataset being returned.
I inspected the elements at:
https://github.com/napalm-automation/napalm/blob/develop/napalm/junos/junos.py#L381
And also `environment_data` at:
https://github.com/napalm-automation/napalm/blob/develop/napalm/junos/junos.py#L381
All elements are empty. I confirmed connectivity and results being returned with the `get_facts()` which does indeed work as desired.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (10 by maintainers)
Commits related to this issue
- SRX cluster devices stack RPC replies under multi-routing-engine-results The usual replies look like: ``` mircea@switch> show chassis environment | display xml <rpc-reply xmlns:junos="http://xml.jun... — committed to napalm-automation/napalm by mirceaulinic 4 years ago
- SRX cluster devices stack RPC replies under multi-routing-engine-results (#1196) The usual replies look like: ``` mircea@switch> show chassis environment | display xml <rpc-reply xmlns:junos="ht... — committed to napalm-automation/napalm by mirceaulinic 4 years ago
It doesn’t seem to be supported on the SRX platform with fixed power supplies. I would suspect it’s relying on the routing-engine data. I can’t find any command to gather more info for the branch devices.
That’s an interesting idea. I hadn’t thought to examine the
cli
data. And, not surprisingly, it looks like JNPR is doing the wrong thing.show chassis environment | display xml
show chassis environment | display xml rpc