This commit is contained in:
kalzu rekku 2024-10-19 23:51:28 +03:00
parent 937e3f272a
commit 9b15d5bdeb

View File

@ -47,35 +47,24 @@ python wpm_client.py <action> [options]
List Peers: List Peers:
```
python wpm_client.py list python wpm_client.py list
```
Create a New Peer: Create a New Peer:
```
python wpm_client.py create --public-key "<peer-public-key>" --allowed-ips "10.0.0.2/32" python wpm_client.py create --public-key "<peer-public-key>" --allowed-ips "10.0.0.2/32"
```
Update an Existing Peer: Update an Existing Peer:
```
python wpm_client.py update --public-key "<peer-public-key>" --allowed-ips "10.0.0.3/32" python wpm_client.py update --public-key "<peer-public-key>" --allowed-ips "10.0.0.3/32"
```
Delete a Peer: Delete a Peer:
```
python wpm_client.py delete --public-key "<peer-public-key>"
``` python wpm_client.py delete --public-key "<peer-public-key>"
Restore Configuration: Restore Configuration:
```
python wpm_client.py restore python wpm_client.py restore
```
### Backup and Restore ### Backup and Restore