Skip to content

(AIRB) Add missing openroadm driver field in add device form

Reporters

  • Babis Chatzinakis (AIRBUS)

Description

The AddDeviceForm defines device_drivers_gnmi_nokia_srlinux twice. The second definition corresponds to OPENROADM and overwrites the previous field.

This results in:

AttributeError: 'AddDeviceForm' object has no attribute 'device_drivers_openroadm' when manually trying to add a Device via the webui

Rename the duplicated field to device_drivers_openroadm.

Deployment environment

ALL

TFS deployment settings

ALL

Sequence of actions that resulted in the bug

Any involving WebUI

Document the explicit error

The AddDeviceForm defines device_drivers_gnmi_nokia_srlinux twice. The second definition corresponds to OPENROADM and overwrites the previous field.

This results in:

AttributeError: 'AddDeviceForm' object has no attribute 'device_drivers_openroadm' when manually trying to add a Device via the webui

Expected behaviour

Page Add Device to do not fail.