Classes | |
struct | CliException |
Base class for exceptions in Vasum CLI. More... | |
struct | IOException |
struct | ArgSpec |
class | CommandLineInterface |
Class that implements command pattern. More... | |
Typedefs | |
typedef std::vector< std::string > | Args |
Functions | |
void | lock_queue (const Args &argv) |
Parses command line arguments and call vsm_set_active_zone. More... | |
void | unlock_queue (const Args &argv) |
Parses command line arguments and call vsm_set_active_zone. More... | |
void | set_active_zone (const Args &argv) |
Parses command line arguments and call vsm_set_active_zone. More... | |
void | create_zone (const Args &argv) |
Parses command line arguments and call vsm_create_zone. More... | |
void | destroy_zone (const Args &argv) |
Parses command line arguments and call vsm_destroy_zone. More... | |
void | shutdown_zone (const Args &argv) |
Parses command line arguments and call vsm_shutdown_zone. More... | |
void | start_zone (const Args &argv) |
Parses command line arguments and call vsm_start_zone. More... | |
void | console_zone (const Args &argv) |
Parses command line arguments and call lxc-console. More... | |
void | lock_zone (const Args &argv) |
Parses command line arguments and call vsm_lock_zone. More... | |
void | unlock_zone (const Args &argv) |
Parses command line arguments and call vsm_unlock_zone. More... | |
void | 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 | get_zone_ids (const Args &argv) |
Parses command line arguments and call vsm_get_zone_ids. More... | |
void | get_active_zone (const Args &argv) |
Parses command line arguments and call vsm_get_active_zone_id. More... | |
void | grant_device (const Args &argv) |
Parses command line arguments and call vsm_grant_device. More... | |
void | revoke_device (const Args &argv) |
Parses command line arguments and call vsm_revoke_device. More... | |
void | create_netdev (const Args &argv) |
Parses command line arguments and call vsm_create_netdev_*. More... | |
void | destroy_netdev (const Args &argv) |
Parses command line arguments and call vsm_destroy_netdev. More... | |
void | 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 | 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 | 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 | netdev_up (const Args &argv) |
Parses command line arguments and call vsm_netdev_up. More... | |
void | netdev_down (const Args &argv) |
Parses command line arguments and call vsm_netdev_down. More... | |
void | clean_up_zones_root (const Args &argv) |
Parses command line arguments and call vsm_clean_up_zones_root. More... | |
typedef std::vector<std::string> vasum::cli::Args |
void vasum::cli::clean_up_zones_root | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_clean_up_zones_root.
void vasum::cli::console_zone | ( | const Args & | argv | ) |
Parses command line arguments and call lxc-console.
void vasum::cli::create_netdev | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_create_netdev_*.
void vasum::cli::create_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_create_zone.
void vasum::cli::destroy_netdev | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_destroy_netdev.
void vasum::cli::destroy_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_destroy_zone.
void vasum::cli::get_active_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_get_active_zone_id.
void vasum::cli::get_zone_ids | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_get_zone_ids.
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)
void vasum::cli::grant_device | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_grant_device.
void vasum::cli::lock_queue | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_set_active_zone.
void vasum::cli::lock_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_lock_zone.
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.
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.
void vasum::cli::netdev_down | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_netdev_down.
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.
void vasum::cli::netdev_up | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_netdev_up.
void vasum::cli::revoke_device | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_revoke_device.
void vasum::cli::set_active_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_set_active_zone.
void vasum::cli::shutdown_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_shutdown_zone.
void vasum::cli::start_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_start_zone.
void vasum::cli::unlock_queue | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_set_active_zone.
void vasum::cli::unlock_zone | ( | const Args & | argv | ) |
Parses command line arguments and call vsm_unlock_zone.