Issue Description
REBOOT_TYPE_SUPERVISOR "cause" field has unexpected regex characters ^ and $, causing subsequent functions to error
Results you see
E.g.
Output of show reboot-cause on supervisor reboot: User issued 'reboot from Supervisor' command ... results in get_reboot_cause output of REBOOT_TYPE_UNKNOWN, when it should be REBOOT_TYPE_SUPERVISOR which causes test failures.
Results you expected to see
Accurate reflection of REBOOT_TYPE_SUPERVISOR
Is it platform specific
generic
Relevant log output
Output of show version
Attach files (if any)
N/A
Issue Description
REBOOT_TYPE_SUPERVISOR "cause" field has unexpected regex characters ^ and $, causing subsequent functions to error
Results you see
E.g.
Output of
show reboot-causeon supervisor reboot:User issued 'reboot from Supervisor' command ...results inget_reboot_causeoutput ofREBOOT_TYPE_UNKNOWN, when it should beREBOOT_TYPE_SUPERVISORwhich causes test failures.Results you expected to see
Accurate reflection of
REBOOT_TYPE_SUPERVISORIs it platform specific
generic
Relevant log output
Output of
show versionAttach files (if any)
N/A