On 07/24/2012 11:18 AM, Osier Yang wrote:
Commands to manage network filter are moved from virsh.c to
virsh-nwfilter.c,
with a few helpers for network filter command use.
* virsh.c: Remove network filter commands and a few helpers.
(vshCommandOptNWFilter, and vshCommandOptNWFilterBy)
* virsh-nwfilter.c: New file, filled with network filter commands and its helpers.
---
tools/virsh-nwfilter.c | 310 ++++++++++++++++++++++++++++++++++++++++++++++++
tools/virsh.c | 294 +---------------------------------------------
2 files changed, 312 insertions(+), 292 deletions(-)
create mode 100644 tools/virsh-nwfilter.c
diff --git a/tools/virsh-nwfilter.c b/tools/virsh-nwfilter.c
new file mode 100644
index 0000000..4b4996a
--- /dev/null
+++ b/tools/virsh-nwfilter.c
@@ -0,0 +1,310 @@
+/*
+ * virsh-domain.c: Commands to manage network filters
s/domain/nwfilter/
ACK with the filename fixed.
Martin