Skip to content

Further improve the dynamic device info web UI#657

Merged
akuker merged 6 commits intodevelopfrom
rdmark-dynamic-device-info-tweaks
Feb 13, 2022
Merged

Further improve the dynamic device info web UI#657
akuker merged 6 commits intodevelopfrom
rdmark-dynamic-device-info-tweaks

Conversation

@rdmark
Copy link
Copy Markdown
Member

@rdmark rdmark commented Feb 8, 2022

  • Extend the image_files data structure with the human-readable device name once, instead of having complex for loops in the jinja2 template (lower space and time complexity?)
  • Return a dict instead of list of dicts from extend_device_names() for easier lookup
  • Define NETWORK_DEVICE_TYPES global constant and use it across the codebase
  • Generate the list of network devices than can be attached based on NETWORK_DEVICE_TYPES

@rdmark rdmark requested a review from bzeiss February 8, 2022 04:05
@akuker akuker merged commit 25b9b4a into develop Feb 13, 2022
@akuker akuker deleted the rdmark-dynamic-device-info-tweaks branch February 13, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants