[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.