Skip to content

Device Delete Name check #51

@ajlacey

Description

@ajlacey

Session.py deleteDevice() does not currently validate that the device name is in the topology. This check should be added to present the front end with an error message if a non-existent device is attempted to be deleted.

This issue is low priority as the input is currently constrained by the front-end to only be able to delete devices that are already created. Additionally, if the device name is invalid, then the function will execute and present a new (but unchanged) topology to the front end. This results in more work, while still leave a valid topology for the user.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions