@@ -22,22 +22,22 @@ class HaNxosReloadPatterns:
2222 # NXOS reload pattern
2323 def __init__ (self ):
2424 self .reboot = r'(.*?)This command will reboot the system. \(y\/n\)\? \[n\]'
25- self .secure_password = r'^.* Do you want to enforce secure password standard \(yes\/no\) \[y\]\:'
26- self .auto_provision = r'Abort( Power On)? Auto Provisioning and continue with normal setup \?\(yes\/no\)\[n\]\:'
27- self .enable_vdc = r'Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:'
28- self .admin_password = r'^.* (Enter|Confirm) the password for .*admin'
29- self .snmp_port = r'^.* Enable the SNMP port\? \(yes\/no\) \[y\]:'
30- self .boot_vdc = r'^.* Boot up system with default vdc \(yes\/no\) \[y\]\:'
31- self .reload_proceed = r'^(.*)Proceed with reload\? \[confirm\]$'
32- self .loader_prompt = r'^(.*)loader\s*>'
33- self .redundant = r'^.* REDUNDANCY mode is (RPR|SSO).*'
34- self .config_byte = r'Uncompressed configuration from [0-9]+ bytes to [0-9]+ bytes'
35- self .login_notready = r'^.* is not ready or active for login.*'
36- self .setup_dialog = r'^.* (initial|basic) configuration dialog.*\s?'
37- self .autoinstall_dialog = r'^(.*)Would you like to terminate autoinstall\? ?\[yes\]: $'
38- self .useracess = r'^.* User Access Verification'
39- self .username = r'^.* ([Uu]sername|[Ll]ogin): ?$'
40- self .password = r'^.* [Pp]assword: ?$'
25+ self .secure_password = r'(.*?) Do you want to enforce secure password standard \(yes\/no\) \[y\]\:'
26+ self .auto_provision = r'(.*?) Abort( Power On)? Auto Provisioning and continue with normal setup \?\(yes\/no\)\[n\]\:'
27+ self .enable_vdc = r'(.*?) Do you want to enable admin vdc\s?\(yes\/no\)\s?\[n\]\:'
28+ self .admin_password = r'^(.*?) (Enter|Confirm) the password for .*admin'
29+ self .snmp_port = r'^(.*?) Enable the SNMP port\? \(yes\/no\) \[y\]:'
30+ self .boot_vdc = r'^(.*?) Boot up system with default vdc \(yes\/no\) \[y\]\:'
31+ self .reload_proceed = r'^(.*? )Proceed with reload\? \[confirm\]$'
32+ self .loader_prompt = r'^(.*? )loader\s*>'
33+ self .redundant = r'^(.*?) REDUNDANCY mode is (RPR|SSO).*'
34+ self .config_byte = r'^(.*?) Uncompressed configuration from [0-9]+ bytes to [0-9]+ bytes'
35+ self .login_notready = r'^(.*?) is not ready or active for login.*'
36+ self .setup_dialog = r'^(.*?) (initial|basic) configuration dialog.*\s?'
37+ self .autoinstall_dialog = r'^(.*? )Would you like to terminate autoinstall\? ?\[yes\]: $'
38+ self .useracess = r'^(.*?) User Access Verification'
39+ self .username = r'^(.*?) ([Uu]sername|[Ll]ogin): ?$'
40+ self .password = r'^(.*?) [Pp]assword: ?$'
4141 self .run_init = r' Entering runlevel'
42- self .system_up = r'System is coming up ... Please wait'
43- self .skip_poap = r'^.* System is not fully online. Skip POAP\? \(yes\/no\)\[n\]:\s*$'
42+ self .system_up = r'^(.*?) System is coming up ... Please wait'
43+ self .skip_poap = r'^(.*?) System is not fully online. Skip POAP\? \(yes\/no\)\[n\]:\s*$'
0 commit comments