[Maas-devel] provisioningserver/custom_hardware vs provisioningserver/driver
Julian Edwards
julian.edwards at canonical.com
Wed Jun 4 01:31:27 UTC 2014
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.
More information about the Maas-devel
mailing list