You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a dual-re mx104. Re0 failed and primary role transited to re1. I'm gathering correct information about re states and who's master, but not for the following values:
I modified junos/facts/get_software_information.py by adding one more check if re_name is the RE we are currently connected to into get_facts(device)
# 2) re_name is in the current_re fact. The easy case.
elif re_name in device.facts['current_re']:
this_re = True
# 2.5) Check when 're0' inserted and in 'Present' state, 're1' is master and in the current_re fact.
elif (re_name == 're0' and 're1' in device.facts['current_re'] and
'master' in device.facts['current_re']):
this_re = True
re_name = 're1'
Please let me know if you need the entire output of print(dev.facts) or any other details.
Thanks!
The text was updated successfully, but these errors were encountered:
I have a dual-re mx104. Re0 failed and primary role transited to re1. I'm gathering correct information about re states and who's master, but not for the following values:
This is an example of the correct information collected:
I modified
junos/facts/get_software_information.py
by adding one more check if re_name is the RE we are currently connected to intoget_facts(device)
Please let me know if you need the entire output of print(dev.facts) or any other details.
Thanks!
The text was updated successfully, but these errors were encountered: