[pve-devel] [RFC ha-manager v2 3/7] add Hardware Base class

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Mar 12 21:45:00 CET 2016



On 03/12/2016 01:34 PM, Dietmar Maurer wrote:
>
>> On March 11, 2016 at 4:57 PM Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
>>
>>
>> This is the super class of the Sim::Hardware class.
>>
>> For now it provides only a method for executing a fence agent
>> command to fence another node.
> Can't we simply add that single method to the Env class instead?

Yes.

I imagined that there would be eventual more and as we already have the
get_hardware hack I wanted to make that useful for the PVE2 environment
also.
But if it stays like this Env should be the better choice.
Thanks for the reviews so far.




More information about the pve-devel mailing list