From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Grac Date: Fri, 25 Mar 2011 10:22:52 +0100 Subject: [Cluster-devel] [PATCH] Updates to fencing.py to allow for virtual machine fencing. In-Reply-To: <1300877988-13617-1-git-send-email-mattjclark0407@hotmail.com> References: <1300877988-13617-1-git-send-email-mattjclark0407@hotmail.com> Message-ID: <4D8C5EEC.8030205@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, On 03/23/2011 11:59 AM, mattjclark0407 at hotmail.com wrote: > From: Matt Clark > > Added all_opt parameters to aid in the fencing of virtual machines. Specifically this is for the fencing of machines through the XenAPI (Citrix XenServer or Xen Cloud Platform). New parameters are session_url, vm_name and uuid. > session_url and uuid works for me. vm_name should be replaced by existing port (-n) that is already used for this purpose. I can fix this and push your patch to upstream if you want. > Updated logic to now check if either an IP address (-a) or a session URL (-s) is set. > good idea > Added a section to ensure that either a vm_name or uuid is specified. Because you can specify either, the "required" field in all_opt array can't be used and a separate explicit check is required. ok m,