guillaumepellegrino / acsrs

A simple ACS written in Rust
GNU General Public License v3.0
5 stars 4 forks source link

ACSRS

A simple ACS written in Rust.

You can get or set datamodel from any CPE managed by this ACS with a simple curl command.

Supported features are:

Some limitations are:

Install ACSRS

The application can be installed directly from cargo

cargo install acsrs

Run ACSRS

Simply start the application without any arguments:

acsrs

It will auto-configure itself by generating new user, password, certificate and CA. Everything is available under $HOME/.acrs directory and can be overrided. Some usefuls files are:

Note: The ACS Public Certificate Common Name (CN) is derived from your public IP Address by default. It can be overrided by editing $HOME/.acsrs/config.toml and setting your hostname there. You can also disable there the auto-generation certificate mechanism if you wish to install your own certificates.

Usage with acscli

acscli is an interactive UNIX cli for ACSRS

Global commands:

Availables command when disconnected:

Availables command when connected to a CPE:

ACS Management APIs

ACS Server is manageable by default on http://127.0.0.1:8000/api url with JSON APIs. JSON APIs are defined in https://github.com/guillaumepellegrino/acsrs/blob/master/src/api.rs