VOL-1690 VOL-1330: No longer store config nor alarm MIB data in etcd
This should slow down memory growth in etcd. Also given
the mib/alarm etcd storage classes are not fully functional for mib resync
its best to not use them at all until they fully work.
Change-Id: I404a861622c76ef1651aafa48022a9b278858e89
diff --git a/python/adapters/brcm_openomci_onu/brcm_openomci_onu.py b/python/adapters/brcm_openomci_onu/brcm_openomci_onu.py
index ca02767..335693f 100644
--- a/python/adapters/brcm_openomci_onu/brcm_openomci_onu.py
+++ b/python/adapters/brcm_openomci_onu/brcm_openomci_onu.py
@@ -36,7 +36,7 @@
from pyvoltha.adapters.common.frameio.frameio import hexify
from pyvoltha.adapters.extensions.omci.openomci_agent import OpenOMCIAgent, OpenOmciAgentDefaults
from pyvoltha.adapters.extensions.omci.omci_me import *
-from pyvoltha.adapters.extensions.omci.database.mib_db_ext import MibDbExternal
+from pyvoltha.adapters.extensions.omci.database.mib_db_dict import MibDbVolatileDict
from brcm_openomci_onu_handler import BrcmOpenomciOnuHandler
from omci.brcm_capabilities_task import BrcmCapabilitiesTask
@@ -78,7 +78,8 @@
self.broadcom_omci = deepcopy(OpenOmciAgentDefaults)
self.broadcom_omci['mib-synchronizer']['state-machine'] = BrcmMibSynchronizer
- self.broadcom_omci['mib-synchronizer']['database'] = MibDbExternal
+ self.broadcom_omci['mib-synchronizer']['database'] = MibDbVolatileDict
+ self.broadcom_omci['alarm-synchronizer']['database'] = MibDbVolatileDict
self.broadcom_omci['omci-capabilities']['tasks']['get-capabilities'] = BrcmCapabilitiesTask
# Defer creation of omci agent to a lazy init that allows subclasses to override support classes