WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] xe-reset-networking error

To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] xe-reset-networking error
From: Adrian Costin <adrian@xxxxxxxxxxx>
Date: Mon, 28 Feb 2011 12:46:22 +0000
Accept-language: en-US
Delivery-date: Mon, 28 Feb 2011 04:48:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvXRTNc7OocaFqGTJux+MWMV5/Oxw==
Thread-topic: xe-reset-networking error

Hi,

 

xe-reset-networking has 2 errors on lines 172 and 174. It will complain about the variable “gateway” and “dns” which do not exist. The correct way would be:

 

                        if options.gateway != '':

                                f.write('GATEWAY=' + options.gateway + '\n')

                        if options.dns != '':

                                f.write('DNS=' + options.dns + '\n')

 

This is on 1.0 RC3.

 

Best regards,

Adrian Costin

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] xe-reset-networking error, Adrian Costin <=