#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <pthread.h>
#include <sys/types.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <strings.h>
#include "controller_stats.h"
#include "scheduling.h"
#include "logging.h"
#include "communication.h"
#include "cli.h"
#include "dedos_msu_msg_type.h"
#include "runtime_messages.h"
#include "controller_dfg.h"
#include "runtime_communication.h"
#include "dfg.h"
#include "api.h"
Go to the source code of this file.
Definition at line 44 of file cli.c.
Value:"\nList of available commands : \n" \
"\n" \
"\t******* Note: " UL "ARGUMENTS" NOSTYLE " fields are required, excluding " \
"\n"
Definition at line 48 of file cli.c.
#define NEXT_ARG |
( |
|
arg, |
|
|
|
args |
|
) |
| |
Value:if ( ( arg = strtok(args,
" \r\n") ) == NULL){
\
return -1; \
}
#define log_error(fmt,...)
Definition at line 78 of file cli.c.
Definition at line 41 of file cli.c.
#define NEXT_MSU_REMOTE 2 |
Definition at line 42 of file cli.c.
Definition at line 46 of file cli.c.
Definition at line 45 of file cli.c.
static void* cli_loop |
( |
| ) |
|
|
static |
static int parse_add_endpoint |
( |
char * |
args | ) |
|
|
static |
static int parse_add_msu |
( |
char * |
args | ) |
|
|
static |
static int parse_add_route |
( |
char * |
args | ) |
|
|
static |
static int parse_allocate |
( |
| ) |
|
|
static |
//FIXME: broken behavior since dfg_vertex members are not pointers anymore Get a list of all MSU not possessing a "scheduling" object, and ask for an allocation plan
- Parameters
-
- Returns
- none
Definition at line 90 of file cli.c.
static int parse_clone_msu |
( |
char * |
args | ) |
|
|
static |
int parse_cmd_action |
( |
char * |
cmd | ) |
|
static int parse_create_thread |
( |
char * |
args | ) |
|
|
static |
static int parse_del_endpoint |
( |
char * |
args | ) |
|
|
static |
static int parse_del_msu |
( |
char * |
args | ) |
|
|
static |
static int parse_del_route |
( |
char * |
args | ) |
|
|
static |
static int parse_help |
( |
char * |
cmd | ) |
|
|
static |
static int parse_load_cfg |
( |
char * |
args | ) |
|
|
static |
static int parse_mod_endpoint |
( |
char * |
args | ) |
|
|
static |
static int parse_show_msus |
( |
char * |
args | ) |
|
|
static |
static int parse_show_route |
( |
char * |
args | ) |
|
|
static |
static int parse_show_routes |
( |
char * |
args | ) |
|
|
static |
static int parse_show_runtimes |
( |
char * |
args | ) |
|
|
static |
Definition at line 64 of file cli.c.
static int parse_show_stats |
( |
char * |
args | ) |
|
|
static |
Display controller's time series for a given msu.
- Parameters
-
*args | string received from the CLI |
- Returns
- none
Definition at line 127 of file cli.c.
static int parse_unclone_msu |
( |
char * |
args | ) |
|
|
static |
int start_cli_thread |
( |
pthread_t * |
cli_thread | ) |
|