aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-07 07:09:41 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-07 07:09:41 +0100
commit1742e2a8eaa844719b13753e4afa57251e871680 (patch)
treec3166425464414ef7703beb20892528a771d0378 /tools/libxl/xl_cmdtable.c
parentbf27c9bb39cf80235446a3ba8b337c23b89c13df (diff)
downloadxen-1742e2a8eaa844719b13753e4afa57251e871680.tar.gz
xen-1742e2a8eaa844719b13753e4afa57251e871680.tar.bz2
xen-1742e2a8eaa844719b13753e4afa57251e871680.zip
xl: network2-attach command
Usage: xl network2-attach <Domain> [front_mac=<mac>] [back_mac=<mac>] [backend=<BackDomain>] [trusted=<0|1>] [back_trusted=<0|1>] [bridge=<bridge>] [filter_mac=<0|1>] [front_filter_mac=<0|1>] [pdev=<PDEV>] [max_bypasses=n] Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r--tools/libxl/xl_cmdtable.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index c488095635..80dc23c6ab 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -287,6 +287,14 @@ struct cmd_spec cmd_table[] = {
" (abcdef01-2345-6789-1234-567890abcdef)\n"
" -A AUTH 0=auth,1=deauth",
},
+ { "network2-attach",
+ &main_network2attach,
+ "Create a new version 2 virtual network device",
+ "<Domain> [front_mac=<mac>] [back_mac=<mac>] [backend=<BackDomain>]"
+ " [trusted=<0|1>] [back_trusted=<0|1>] [bridge=<bridge>]"
+ " [filter_mac=<0|1>] [front_filter_mac=<0|1>] [pdev=<PDEV>]"
+ " [max_bypasses=n]",
+ },
};
int cmdtable_len = sizeof(cmd_table)/sizeof(struct cmd_spec);