VOL-1160 Allow removal of ONU through DeleteDevice
Change-Id: I5f02d11ccc7782d762dca9f4c2e59d068b869b75
diff --git a/voltha/core/local_handler.py b/voltha/core/local_handler.py
index 81067b4..8520a42 100644
--- a/voltha/core/local_handler.py
+++ b/voltha/core/local_handler.py
@@ -709,9 +709,6 @@
assert device.admin_state == AdminState.DISABLED or device.admin_state == AdminState.PREPROVISIONED, \
'Device to delete cannot be ' \
'in admin state \'{}\''.format(device.admin_state)
- assert not device.type.endswith("_onu"), \
- 'ONU device cannot be deleted. ' \
- 'Please consider deleting VOntAni to delete ONU device.'
self.root.remove(path)