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

[Xen-changelog] [xen-unstable] xm: Fix xm network2-{attach,detach}

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm: Fix xm network2-{attach,detach}
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Oct 2009 04:00:19 -0700
Delivery-date: Mon, 19 Oct 2009 04:00:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1255945629 -3600
# Node ID 9482554734fc9bb9a50ab0993c1e8755c3c5c0c0
# Parent  0705efd9c69e2e254c85bc4381166b7f9cfb8ee3
xm: Fix xm network2-{attach,detach}

"xm help" is aborted due to a missing comma.
Some fixes in passing.
- less help message.
- typo.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 tools/python/xen/xm/main.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff -r 0705efd9c69e -r 9482554734fc tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Fri Oct 16 09:04:53 2009 +0100
+++ b/tools/python/xen/xm/main.py       Mon Oct 19 10:47:09 2009 +0100
@@ -184,7 +184,8 @@ SUBCOMMAND_HELP = {
     'network2-attach': ('<Domain> [front_mac=<mac>] [back_mac=<mac>] '
                         '[backend=<BackDomain>] [trusted=<0|1>] '
                         '[back_trusted=<0|1>] [bridge=<bridge>] '
-                        '[max_bypasses=n]'
+                        '[filter_mac=<0|1>] [front_filter_mac=<0|1>] '
+                        '[pdev=<PDEV>] [max_bypasses=n]',
                         'Create a new version 2 virtual network device.'),
     'network2-detach': ('<Domain> <DevId> [-f|--force]',
                          'Destroy a domain\'s version 2 virtual network 
device.'),
@@ -2450,7 +2451,7 @@ def xm_block_configure(args):
 
 def xm_network2_attach(args):
     xenapi_unsupported()
-    arg_check(args, 'network2-attach', 1, 4)
+    arg_check(args, 'network2-attach', 1, 11)
     dom = args[0]
     vif = ['vif2']
     vif_params = ['front_mac', 'back_mac', 'backend', 'trusted',
@@ -2467,7 +2468,7 @@ def xm_network2_attach(args):
 
 def xm_network2_detach(args):
     xenapi_unsupported()
-    arg_check(args, "network2-detch", 2, 3)
+    arg_check(args, "network2-detach", 2, 3)
     detach(args, "vif2")
 
 def xm_network2_list(args):

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xm: Fix xm network2-{attach,detach}, Xen patchbot-unstable <=