mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: Move command group definition into its own file
* virsh-domain-monitor.c: Add domMonitoringCmds * virsh-domain.c: Add domManagementCmds * virsh-host.c: Add hostAndHypervisorCmds * virsh-interface.c: Add ifaceCmds * virsh-network.c: Add networkCmds * virsh-nodedev.c: Add nodedevCmds * virsh-nwfilter.c: Add nwfilterCmds * virsh-pool.c: Add storagePoolCmds * virsh-secret.c: Add secretCmds * virsh-snapshot.c: Add snapshotCmds * virsh-volume.c: Add storageVolCmds * virsh.c: Remove all the above *Cmds.
This commit is contained in:
@@ -308,3 +308,17 @@ cleanup:
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static const vshCmdDef nwfilterCmds[] = {
|
||||
{"nwfilter-define", cmdNWFilterDefine, opts_nwfilter_define,
|
||||
info_nwfilter_define, 0},
|
||||
{"nwfilter-dumpxml", cmdNWFilterDumpXML, opts_nwfilter_dumpxml,
|
||||
info_nwfilter_dumpxml, 0},
|
||||
{"nwfilter-edit", cmdNWFilterEdit, opts_nwfilter_edit,
|
||||
info_nwfilter_edit, 0},
|
||||
{"nwfilter-list", cmdNWFilterList, opts_nwfilter_list,
|
||||
info_nwfilter_list, 0},
|
||||
{"nwfilter-undefine", cmdNWFilterUndefine, opts_nwfilter_undefine,
|
||||
info_nwfilter_undefine, 0},
|
||||
{NULL, NULL, NULL, NULL, 0}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user