← Back to team overview

maas-devel team mailing list archive

Re: provisioningserver/custom_hardware vs provisioningserver/driver

 

On 04/06/14 04:50, Blake Rouse wrote:
> It agree that using sub-folders would be a better approach. Anything
> under the driver folder, would then be used by maas using the
> Registry's.
> 
> I would not use "drivers/os" as if you imported that folder like so
> "from provisioningserver.drivers import os" it would override the most
> commonly used "import os". Since the field in the Node model for
> operating systems is osystem, I would use "drivers/osystem".
> 
> This would get even more expanded as we move to pure python for power control:
> 
> drivers/power

+1

Thanks.


References