commit | d6fce5133849a1cf572ccdcb2230c43aa0f17c74 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Tue Oct 16 10:35:29 2018 -0700 |
committer | Matteo Scandolo <teo@opennetworking.org> | Tue Oct 16 10:35:29 2018 -0700 |
tree | 798289d7901edeb6515bbb538d4dd34f4cb40f80 | |
parent | b7ec9d2b4b465d14b6c460f6300e6de1b787b486 [diff] [blame] |
Adding serial_number information to OLTDevice Change-Id: Ied682803092f0538cf5beaf59dcaeedd65be14c5
diff --git a/xos/synchronizer/steps/sync_olt_device.py b/xos/synchronizer/steps/sync_olt_device.py index 301f123..1140173 100644 --- a/xos/synchronizer/steps/sync_olt_device.py +++ b/xos/synchronizer/steps/sync_olt_device.py
@@ -84,7 +84,9 @@ raise Exception( 'VOLTHA Device Id is empty. This probably means that the OLT device is already provisioned in VOLTHA') else: - model.device_id = res['id']; + model.device_id = res['id'] + model.serial_number = res['serial_number'] + return model