Skip to content

Latest commit

 

History

History
107 lines (100 loc) · 3.93 KB

TODO.md

File metadata and controls

107 lines (100 loc) · 3.93 KB

Auto Cisco TODO

Limitations

  • Default cisco username password hardcoded
    • No way to set a user-defined username / password
  • Only checks one version of firmware
    • Need to detect or prompt for desired firmware version

Bugs

  • Doesn't match configured IP with temp ip in settings
  • Still buggy recognising states (configured, booted, autonomous, upgraded...)
  • IP hardcoded for firmware
  • If user defined device name is case sensitive when matching in master.csv
  • Doesn't match uppercase hostname when finalizing
  • Hostname not uppercase if setting it to uppercase in settings
  • 10.0.0.5 hardcoded in tftp transfer
  • No IP address on an adaptor, it crashes
    • try except around interface iteration
  • MAJOR fails completely when compiling, multiprocessing error with pyinstaller
    • Used multiprocessing.freeze_support()
  • Wigs out if tftp fails
  • Names with a hypen won't match (splits string at hypens)
    • Now matches full hostname rather than combining prefix and suffix
  • If settings file is blank it loops forever
  • not finding template
    • Was only looking in config/ folder (config/config/template)
  • not finding config file
    • Was only looking in config/ folder (config/config/template)
  • ping test a bit wonky
  • If there are alot of configs, template scan will return all
    • Use template folder or current directory instead
  • WGB temp IP hard coded to be set as 10.0.0.2
    • Prompt in wizard or generate based on PC ip
    • Retreive when setting interface on wgb
    • Check ip is within /24
  • If not configured, only checks for -command hostname and fails
    • Change to match any hostname other than default (ap>, ap#, ap{mac})
  • Test ping IP is hardcoded
    • Prompt for a test IP or extract from config
    • Save in settings
    • Use in ping test
  • Entering COM port as a number doesn't work
  • Doesnt reconise if first setting missing in settings file??
    • Changed to match length instead, should be same array length
  • Occasional unicode decode error
    • Put a try except around the serial read

General

  • Check if another tftp server is running
  • Check if PC ip matches what is saved in config
  • Option to reboot wgb to double check or if tests fail
  • Incorporate uppercase or lowercase when writing hostname and files
    • prompt in wizard
    • Record in settings
    • Apply in config
  • Verify all required settings are there
  • Options at statup for task
    • wipe flash
    • upload new config
    • Program new WGB
    • Change IP and hostname only
    • Update firmware
    • Program as spare
  • Scan for firmware image and prompt
  • Generally generalize for any site
  • No longer need fleet config
  • File in (.csv) with hostname and IP
  • Append configured details to .csv
    • MAC
    • Serial
    • Hostname
    • Config file name
    • Completed status
    • Completed date / time
    • Checks (ping)
    • firmware version
  • Prompt to overwrite config if 3702 is already configured
  • Check laptop IP
    • Get IP addresses and hostname
    • Set WGB temp IP to suit or
    • Prompt to change laptop IP
  • Generate template from an existing config
    • Replace IP and Hostname with {ip} {hostname}

Curses

  • Use curses or perhaps a GUI
  • Checklist of completed tasks [OK]

Config Generator

  • Input info needed
    • List of names needed
    • IP
    • Machine name
    • Base config
  • Parse the needed machines list
  • Read fleet file in .csv
  • Match the vehicle
  • Extract IP and Hostname
  • Create folder with hostname
  • Read default config
  • Write generated config
  • Prompt to change com port if it fails

Config management server

  • Server to manage configs and programing dates / times

Convert to GUI