summaryrefslogtreecommitdiffstats
path: root/cli/objects/session.py
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-10-19 10:21:44 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-10-19 12:26:31 +0200
commit1c2e5c4c96f3c8b114508de7f713dda8ebfcb877 (patch)
treec0171176de8d971dcd734fb573bdd341bf4f0479 /cli/objects/session.py
parent7c30d569100a351f2a0a6430093abb8791f44fcf (diff)
cli: add room
add functionality to add and remove a room to add a new room use the command: ogcli add room --name <name> --netmask <netmask> --center <center> --gateway <gateway> [--location <location>] [--ntp <ntp>] [--dns <dns>] [--group <group>] for instance, to create a room with name 'dummyroom', netmask '255.255.255.0' and gateway 10.141.10.1 that is inside the center with id 1, use: $ ogcli add room --name dummyroom --netmask 255.255.255.0 --gateway 10.141.10.1 --center 1 Optionally, it is possible to provide additional information such as location (--location <location>), ntp server (--ntp <ntp>), dns server (--dns <dns>), and a group to contain the room (--group <group>). to delete a room use: ogcli delete room --id <id> for instance, to delete room with id 4 use: $ ogcli delete room --id 4
Diffstat (limited to 'cli/objects/session.py')
0 files changed, 0 insertions, 0 deletions