VOL-410 Set device vendor id from device type vendor id
Change-Id: Id4c9eaa8d700cb7f256d0ffc6639e8de020c12a1
diff --git a/voltha/core/local_handler.py b/voltha/core/local_handler.py
index 7676fab..29f6028 100644
--- a/voltha/core/local_handler.py
+++ b/voltha/core/local_handler.py
@@ -313,6 +313,7 @@
if device.admin_state != AdminState.PREPROVISIONED:
device.admin_state = AdminState.PREPROVISIONED
device.oper_status = OperStatus.UNKNOWN
+ device.vendor_id = device_type.vendor_id
# add device to tree
self.root.add('/devices', device)