AllianceFramework.destroy not accessible from python interface
I want to be able to clear the current Alliance database from memory and reload. In the docs CRL::AllianceFramework::destroy
is documented but it does not seem to be accessible from python:
Python 2.7.17 |Anaconda, Inc.| (default, Oct 21 2019, 19:04:46)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import helpers, CRL
o Locating configuration directory:
- "/home/verhaegs/coriolis-2.x/Linux.el7_64/Release.Shared/install/etc/coriolis2"
- "/home/verhaegs/coriolis-2.x/Linux.el7_64/Release.Shared/install/etc/coriolis2"
>>> helpers.loadUserSettings()
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/technology.pyc".
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/display.pyc".
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/analog.pyc".
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/alliance.pyc".
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/etesian.pyc".
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/kite.pyc".
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/plugins.pyc".
- ".../Linux.el7_64/Release.Shared/install/etc/coriolis2/symbolic/cmos/stratus1.pyc".
False
>>> fw = CRL.AllianceFramework.get()
>>> print(fw.__repr__())
[0x7f4c8bff1e70<->0x5621ec378440 <AllianceFramework>]
>>> fw.destroy()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'Hurricane.AllianceFramework' object has no attribute 'destroy'
>>> CRL.AllianceFramework.destroy()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: type object 'Hurricane.AllianceFramework' has no attribute 'destroy'