direct-io.hg

changeset 15517:b476c756ad4f

xm: Improve help message for vif creation.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author kfraser@localhost.localdomain
date Tue Jul 10 10:11:14 2007 +0100 (2007-07-10)
parents fa9fa5f98c91
children 3f2d2adc87f7
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Tue Jul 10 10:07:00 2007 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Tue Jul 10 10:11:14 2007 +0100
     1.3 @@ -318,7 +318,8 @@ gopts.var('vfb', val="type={vnc,sdl},vnc
     1.4            given DISPLAY and XAUTHORITY, which default to the current user's
     1.5            ones.""")
     1.6  
     1.7 -gopts.var('vif', val="type=TYPE,mac=MAC,bridge=BRIDGE,ip=IPADDR,script=SCRIPT,backend=DOM,vifname=NAME",
     1.8 +gopts.var('vif', val="type=TYPE,mac=MAC,bridge=BRIDGE,ip=IPADDR,script=SCRIPT," + \
     1.9 +          "backend=DOM,vifname=NAME,rate=RATE,model=MODEL,accel=ACCEL",
    1.10            fn=append_value, default=[],
    1.11            use="""Add a network interface with the given MAC address and bridge.
    1.12            The vif is configured by calling the given configuration script.
    1.13 @@ -330,6 +331,9 @@ gopts.var('vif', val="type=TYPE,mac=MAC,
    1.14            If backend is not specified the default backend driver domain is used.
    1.15            If vifname is not specified the backend virtual interface will have name vifD.N
    1.16            where D is the domain id and N is the interface id.
    1.17 +          If rate is not specified the default rate is used.
    1.18 +          If model is not specified the default model is used.
    1.19 +          If accel is not specified an accelerator plugin module is not used.
    1.20            This option may be repeated to add more than one vif.
    1.21            Specifying vifs will increase the number of interfaces as needed.""")
    1.22