* "net-autostart" command
*/
static const vshCmdInfo info_network_autostart[] = {
- {"help", N_("autostart a network")},
- {"desc",
- N_("Configure a network to be automatically started at boot.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("autostart a network")
+ },
+ {.name = "desc",
+ .data = N_("Configure a network to be automatically started at boot.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_autostart[] = {
* "net-create" command
*/
static const vshCmdInfo info_network_create[] = {
- {"help", N_("create a network from an XML file")},
- {"desc", N_("Create a network.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("create a network from an XML file")
+ },
+ {.name = "desc",
+ .data = N_("Create a network.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_create[] = {
* "net-define" command
*/
static const vshCmdInfo info_network_define[] = {
- {"help", N_("define (but don't start) a network from an XML file")},
- {"desc", N_("Define a network.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("define (but don't start) a network from an XML file")
+ },
+ {.name = "desc",
+ .data = N_("Define a network.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_define[] = {
* "net-destroy" command
*/
static const vshCmdInfo info_network_destroy[] = {
- {"help", N_("destroy (stop) a network")},
- {"desc", N_("Forcefully stop a given network.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("destroy (stop) a network")
+ },
+ {.name = "desc",
+ .data = N_("Forcefully stop a given network.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_destroy[] = {
* "net-dumpxml" command
*/
static const vshCmdInfo info_network_dumpxml[] = {
- {"help", N_("network information in XML")},
- {"desc", N_("Output the network information as an XML dump to stdout.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("network information in XML")
+ },
+ {.name = "desc",
+ .data = N_("Output the network information as an XML dump to stdout.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_dumpxml[] = {
* "net-info" command
*/
static const vshCmdInfo info_network_info[] = {
- {"help", N_("network information")},
- {"desc", N_("Returns basic information about the network")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("network information")
+ },
+ {.name = "desc",
+ .data = N_("Returns basic information about the network")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_info[] = {
* "net-list" command
*/
static const vshCmdInfo info_network_list[] = {
- {"help", N_("list networks")},
- {"desc", N_("Returns list of networks.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("list networks")
+ },
+ {.name = "desc",
+ .data = N_("Returns list of networks.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_list[] = {
* "net-name" command
*/
static const vshCmdInfo info_network_name[] = {
- {"help", N_("convert a network UUID to network name")},
- {"desc", ""},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("convert a network UUID to network name")
+ },
+ {.name = "desc",
+ .data = ""
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_name[] = {
* "net-start" command
*/
static const vshCmdInfo info_network_start[] = {
- {"help", N_("start a (previously defined) inactive network")},
- {"desc", N_("Start a network.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("start a (previously defined) inactive network")
+ },
+ {.name = "desc",
+ .data = N_("Start a network.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_start[] = {
* "net-undefine" command
*/
static const vshCmdInfo info_network_undefine[] = {
- {"help", N_("undefine an inactive network")},
- {"desc", N_("Undefine the configuration for an inactive network.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("undefine an inactive network")
+ },
+ {.name = "desc",
+ .data = N_("Undefine the configuration for an inactive network.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_undefine[] = {
* "net-update" command
*/
static const vshCmdInfo info_network_update[] = {
- {"help", N_("update parts of an existing network's configuration")},
- {"desc", ""},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("update parts of an existing network's configuration")
+ },
+ {.name = "desc",
+ .data = ""
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_update[] = {
* "net-uuid" command
*/
static const vshCmdInfo info_network_uuid[] = {
- {"help", N_("convert a network name to network UUID")},
- {"desc", ""},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("convert a network name to network UUID")
+ },
+ {.name = "desc",
+ .data = ""
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_uuid[] = {
* "net-edit" command
*/
static const vshCmdInfo info_network_edit[] = {
- {"help", N_("edit XML configuration for a network")},
- {"desc", N_("Edit the XML configuration for a network.")},
- {NULL, NULL}
+ {.name = "help",
+ .data = N_("edit XML configuration for a network")
+ },
+ {.name = "desc",
+ .data = N_("Edit the XML configuration for a network.")
+ },
+ {.name = NULL}
};
static const vshCmdOptDef opts_network_edit[] = {