Declaration of CommandLineInterface class. More...
#include <vasum-client.h>
#include <map>
#include <vector>
#include <functional>
#include <ostream>
#include <string>
Go to the source code of this file.
Classes | |
struct | vasum::cli::ArgSpec |
class | vasum::cli::CommandLineInterface |
Class that implements command pattern. More... | |
Namespaces | |
vasum | |
vasum::cli | |
Macros | |
#define | MODE_COMMAND_LINE (1 << 0) |
#define | MODE_INTERACTIVE (1 << 1) |
Typedefs | |
typedef std::vector< std::string > | vasum::cli::Args |
Functions | |
void | vasum::cli::lock_queue (const Args &argv) |
Parses command line arguments and call vsm_set_active_zone. More... | |
void | vasum::cli::unlock_queue (const Args &argv) |
Parses command line arguments and call vsm_set_active_zone. More... | |
void | vasum::cli::set_active_zone (const Args &argv) |
Parses command line arguments and call vsm_set_active_zone. More... | |
void | vasum::cli::create_zone (const Args &argv) |
Parses command line arguments and call vsm_create_zone. More... | |
void | vasum::cli::destroy_zone (const Args &argv) |
Parses command line arguments and call vsm_destroy_zone. More... | |
void | vasum::cli::shutdown_zone (const Args &argv) |
Parses command line arguments and call vsm_shutdown_zone. More... | |
void | vasum::cli::start_zone (const Args &argv) |
Parses command line arguments and call vsm_start_zone. More... | |
void | vasum::cli::console_zone (const Args &argv) |
Parses command line arguments and call lxc-console. More... | |
void | vasum::cli::lock_zone (const Args &argv) |
Parses command line arguments and call vsm_lock_zone. More... | |
void | vasum::cli::unlock_zone (const Args &argv) |
Parses command line arguments and call vsm_unlock_zone. More... | |
void | vasum::cli::get_zones_status (const Args &argv) |
Parses command line arguments and prints list of zone with some useful informations (id, state, terminal, root path) More... | |
void | vasum::cli::get_zone_ids (const Args &argv) |
Parses command line arguments and call vsm_get_zone_ids. More... | |
void | vasum::cli::get_active_zone (const Args &argv) |
Parses command line arguments and call vsm_get_active_zone_id. More... | |
void | vasum::cli::grant_device (const Args &argv) |
Parses command line arguments and call vsm_grant_device. More... | |
void | vasum::cli::revoke_device (const Args &argv) |
Parses command line arguments and call vsm_revoke_device. More... | |
void | vasum::cli::create_netdev (const Args &argv) |
Parses command line arguments and call vsm_create_netdev_*. More... | |
void | vasum::cli::destroy_netdev (const Args &argv) |
Parses command line arguments and call vsm_destroy_netdev. More... | |
void | vasum::cli::netdev_list (const Args &argv) |
Parses command line arguments and prints result of vsm_zone_get_netdevs, vsm_lookup_netdev_by_name, vsm_netdev_get_ipv4_addr, vsm_netdev_get_ipv6_addr. More... | |
void | vasum::cli::netdev_add_ip_addr (const Args &argv) |
Parses command line arguments and call vsm_netdev_set_ipv4_addr, vsm_netdev_set_ipv6_addr. More... | |
void | vasum::cli::netdev_del_ip_addr (const Args &argv) |
Parses command line arguments and call vsm_netdev_del_ipv4_addr, vsm_netdev_del_ipv6_addr. More... | |
void | vasum::cli::netdev_up (const Args &argv) |
Parses command line arguments and call vsm_netdev_up. More... | |
void | vasum::cli::netdev_down (const Args &argv) |
Parses command line arguments and call vsm_netdev_down. More... | |
void | vasum::cli::clean_up_zones_root (const Args &argv) |
Parses command line arguments and call vsm_clean_up_zones_root. More... | |
Declaration of CommandLineInterface class.
#define MODE_COMMAND_LINE (1 << 0) |
#define MODE_INTERACTIVE (1 << 1) |