-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add server endpoints to mock server (#3)
* Add server endpoints to mock server * Clear pre-filled default data
- Loading branch information
1 parent
12b32c9
commit b7eebe1
Showing
5 changed files
with
40 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,8 @@ | ||
{ | ||
"vswitch": [], | ||
"rescue": [ | ||
{ | ||
"id": "123.123.123.123", | ||
"server_ip": "123.123.123.123", | ||
"server_number": 321, | ||
"os": [ | ||
"linux", | ||
"freebsd", | ||
"vkvm" | ||
], | ||
"arch": [ | ||
64, | ||
32 | ||
], | ||
"active": false, | ||
"password": null, | ||
"authorized_key": [], | ||
"host_key": [] | ||
}, | ||
{ | ||
"id": "124.124.124.124", | ||
"server_ip": "124.124.124.124", | ||
"server_number": 69, | ||
"os": "linux", | ||
"arch": 64, | ||
"active": true, | ||
"password": "qwertz", | ||
"authorized_key": [ | ||
{ | ||
"key": { | ||
"fingerprint": "fi:ng:er:pr:in:t0:00:00:00:00:00:00:00:00:00:00", | ||
"name": "admin", | ||
"size": 4096, | ||
"type": "RSA" | ||
} | ||
} | ||
], | ||
"host_key": [] | ||
} | ||
], | ||
"reset": [ | ||
{ | ||
"id": "123.123.123.123", | ||
"server_ip": "123.123.123.123", | ||
"server_number": 111, | ||
"type": [ | ||
"power", | ||
"hw", | ||
"man" | ||
], | ||
"operating_status": "running" | ||
} | ||
], | ||
"rescue": [], | ||
"reset": [], | ||
"firewall_template": [], | ||
"firewall": [] | ||
"firewall": [], | ||
"server": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"firewall": "server_ip", | ||
"rescue": "server_ip", | ||
"reset": "server_ip" | ||
"reset": "server_ip", | ||
"server": "server_ip" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters