commit | 3815b5fbe214c49d3521a79b1cae6e721d1bf102 | [log] [tgz] |
---|---|---|
author | Chip Boling <chip@bcsw.net> | Sat Sep 29 10:30:12 2018 -0500 |
committer | Chip Boling <chip.boling@adtran.com> | Sat Sep 29 23:19:57 2018 +0000 |
tree | 83dfa0f623f248e10e22bd35573c0e3a458929b3 | |
parent | 0e7ad96ee7f65780228d27e121327c288194ec2f [diff] |
ADTRAN ONU: fix assert on ONU reconcile Change-Id: Idd05432a3c230848d4483f1197595fd65daccafa
diff --git a/voltha/adapters/adtran_onu/pon_port.py b/voltha/adapters/adtran_onu/pon_port.py index 4962f4e..d82eff9 100644 --- a/voltha/adapters/adtran_onu/pon_port.py +++ b/voltha/adapters/adtran_onu/pon_port.py
@@ -112,7 +112,7 @@ @entity_id.setter def entity_id(self, value): - assert self._entity_id is None, 'Cannot reset the Entity ID' + assert self._entity_id is None or self._entity_id == value, 'Cannot reset the Entity ID' self._entity_id = value @property