# RPC Commands

The state of the global flags can be read and modified over the RPC interface. This module implements the following RPC interface commands:

## gflags.set

gflags.set - Set the value of a flag to 1. The function accepts one parameter which is the number of the flag to be set.

## gflags.reset

gflags.reset - Reset the value of a flag to 0. The function accepts one parameter which is the number of the flag to be reset.

## gflags.is_set

gflags.is_set - Return the status of a flag. The FIFO function would return TRUE if the flag is set and FALSE if it is not set. The only parameter of this function is the number of the flag.

## gflags.flush

gflags.flush - Flush the state of global flags into database.

## gflags.dump

gflags.dump - Return the status of all flags. The value is TRUE if the flag is set and FALSE if the flag is not set. The function has no parameters.

## global.reload

global.reload - Reload values from global_attrs DB table. This function does not have any parameters. There is no return value on success.