Sirushti Murugesan
Sirushti Murugesan
Provisioning a node again with the same parametres throws an sqlalchemy error. Replace this exception with an error message that is more generic for the user. Example:- bmi pro bmi_infra...
The dnsmasq lease file is hardcoded to /var/lib/misc/dnsmasq.leases. Make it configurable to accomodate lease files in different locations. For example: libvirt has a lease file in /var/lib/libvirt/dnsmasq/
Incorporate sqlalchemy-migrate/alembic into BMI in order to version database changes for upgrade. Furthermore, create a db-init script that will bootstrap BMI's database using the corresponding migration library.
To ease readability, move all the constants to their respective classes as class attributes. It also makes sure when we remove a module, we remove the constants too or else...
Config file and helptext can get easily outdated in the documentation. To make it easier for users to get the updated documentation every time, we can add helptext in the...