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-devel

Re: [Xen-devel] [Patch][RFC] xend config list

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch][RFC] xend config list
From: Aron Griffis <aron@xxxxxx>
Date: Mon, 17 Sep 2007 20:08:11 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 Sep 2007 17:08:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <43C7F6A0BB8A3Ctakebe_akio@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <43C7F6A0BB8A3Ctakebe_akio@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
Hi Akio,

Akio Takebe wrote:  [Fri Sep 14 2007, 03:27:40AM EDT]
> +    if show_xend:
> +        print 'config_default\t\t\t\t: ',xoptions.config_default
> +        print 'xoptions.config_path\t\t\t: ',xoptions.config_path
> +        print 'xoptions.config_var\t\t\t: ',xoptions.config_var
> +        print 'xoptions.dom0_min_mem_default\t\t: 
> ',xoptions.dom0_min_mem_default
> +        print 'dom0_vcpus_default\t\t\t: ',xoptions.dom0_vcpus_default
> +        print 'external_migration_tool_default\t\t: 
> ',xoptions.external_migration_tool_default
> +        print 'logfile_default\t\t\t\t: ',xoptions.logfile_default
> +        print 'loglevel_default\t\t\t: ',xoptions.loglevel_default
> +        print 'netback_type\t\t\t\t: ',xoptions.netback_type
> +        print 'network_script_dir\t\t\t: ',xoptions.network_script_dir
> +        print 'vif_script\t\t\t\t: ',xoptions.vif_script
> +        print 'vncpasswd_default\t\t\t: ',xoptions.vncpasswd_default
> +        print 'xen_api_server_default\t\t\t: 
> ',xoptions.xen_api_server_default
> +        print 'xend_address_default\t\t\t: ',xoptions.xend_address_default
> +        print 'xend_domains_path_default\t\t: 
> ',xoptions.xend_domains_path_default
> +        print 'xend_http_server_default\t\t: 
> ',xoptions.xend_http_server_default
> +        print 'xend_port_default\t\t\t: ',xoptions.xend_port_default
> +        print 'xend_relocation_address_default\t\t: 
> ',xoptions.xend_relocation_address_default
> +        print 'xend_relocation_hosts_allow_default\t: 
> ',xoptions.xend_relocation_hosts_allow_default
> +        print 'xend_relocation_port_default\t\t: 
> ',xoptions.xend_relocation_port_default
> +        print 'xend_relocation_server_default\t\t: 
> ',xoptions.xend_relocation_server_default
> +        print 'xend_state_path_default\t\t\t: 
> ',xoptions.xend_state_path_default
> +        print 'xend_storage_path_default\t\t: 
> ',xoptions.xend_storage_path_default
> +        print 'xend_tcp_xmlrpc_server_address_default\t: 
> ',xoptions.xend_tcp_xmlrpc_server_address_default
> +        print 'xend_tcp_xmlrpc_server_default\t\t: 
> ',xoptions.xend_tcp_xmlrpc_server_default
> +        print 'xend_tcp_xmlrpc_server_port_default\t: 
> ',xoptions.xend_tcp_xmlrpc_server_port_default
> +        print 'xend_unix_path_default\t\t\t: 
> ',xoptions.xend_unix_path_default
> +        print 'xend_unix_server_default\t\t: 
> ',xoptions.xend_unix_server_default
> +        print 'xend_unix_xmlrpc_server_default\t\t: 
> ',xoptions.xend_unix_xmlrpc_server_default
> +        print 'xend_vnc_listen_default\t\t\t: 
> ',xoptions.xend_vnc_listen_default
> +        print 'config:'
> +        for i in xoptions.config:
> +            print "    ",i

This long list is bound to go stale pretty quickly.  I'm not a python
expert but surely there's a way to loop through the values you want to
show?

Thanks,
Aron

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel