radle : a parser for maestro resource description language
radle is a parser for the maestro resource description language written in C11.
Building radle
radle
can be built using cmake > 3.12
. radle
only supports out-of-tree
builds. It has the following dependencies:
libyaml = 0.2.5
A quick build of radle will look like follows:
$ tree -L 1
.
├── build # Empty Directory
└── radle # Source repository of Radle
$ cd build
$ cmake -DCMAKE_C_STANDARD=11 ../radle
$ make
$ ctest
There are different options you can use while building to enable different features of the code.
-
BUILD_TESTING
(Off
by Default)This option builds test along with the library. Requires following software to be available:
a. cmocka
-
BUILD_DOC
(Off
by Default)This option builds the documentation along with the library. Requires following software to be available: a. doxygen b. graphviz
Drivers
disk
category: storage
Information
a. host: string which identifies the host from which the disk can be accessed
b. mount_point
: string which identifies the mount point of the disk
c. capacity
: capacity allocated for the process
cpu
category: compute
Information
a. host: string which identifies the host from which the disk can be accessed
b. local_index
: index of the processor according to the host