Definition of CommandLineInterface class. More...
#include "config.hpp"
#include "command-line-interface.hpp"
#include "vasum-client.h"
#include "utils/c-array.hpp"
#include "cli-exception.hpp"
#include <map>
#include <stdexcept>
#include <functional>
#include <ostream>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <cassert>
#include <fcntl.h>
#include <linux/if_link.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <string.h>
Namespaces | |
vasum | |
vasum::cli | |
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... | |
Definition of CommandLineInterface class.