forked from LibreSchool/doraemon
Aestethic changes to README.
This commit is contained in:
parent
769edf8e94
commit
109edf628e
@ -28,21 +28,15 @@ Actually, the server responds to the following routes:
|
|||||||
|
|
||||||
* `/mac2hostname`: responds to the client stating the hostname based on MAC
|
* `/mac2hostname`: responds to the client stating the hostname based on MAC
|
||||||
address. Actually requires following parameters:
|
address. Actually requires following parameters:
|
||||||
|
|
||||||
- `mac`: the MAC address for which create the hostname.
|
- `mac`: the MAC address for which create the hostname.
|
||||||
|
|
||||||
Optional parameters:
|
Optional parameters:
|
||||||
|
|
||||||
- `base`: basename of the client. Can be any string. Defaulting to "lab".
|
- `base`: basename of the client. Can be any string. Defaulting to "lab".
|
||||||
- `role`: role of the client to be created. Can be any string (default:
|
- `role`: role of the client to be created. Can be any string (default:
|
||||||
"client").
|
"client").
|
||||||
|
|
||||||
* `/whatsmyhostname`: returns hostname for the client that requested the
|
* `/whatsmyhostname`: returns hostname for the client that requested the
|
||||||
route. May accept the following optional parameters:
|
route. May accept the following optional parameters:
|
||||||
|
|
||||||
- `base`: basename of the client.
|
- `base`: basename of the client.
|
||||||
- `role`: role of the client.
|
- `role`: role of the client.
|
||||||
|
|
||||||
* `/hosts`: returns a dictionary of all hosts registered, each with its role,
|
* `/hosts`: returns a dictionary of all hosts registered, each with its role,
|
||||||
hostname and MAC address.
|
hostname and MAC address.
|
||||||
* `/domain`: returns YAML-formatted output for domain information.
|
* `/domain`: returns YAML-formatted output for domain information.
|
||||||
@ -52,8 +46,7 @@ Actually, the server responds to the following routes:
|
|||||||
files within [Ansible configuration
|
files within [Ansible configuration
|
||||||
repository](https://github.com/bglug-it/client-pull-installation).
|
repository](https://github.com/bglug-it/client-pull-installation).
|
||||||
|
|
||||||
|
## TODO List ##
|
||||||
### TODO List ###
|
|
||||||
|
|
||||||
* Implement methods for dynamic inventory for Ansible
|
* Implement methods for dynamic inventory for Ansible
|
||||||
* Verify RPM packaging to automatically start daemon as soon as it is
|
* Verify RPM packaging to automatically start daemon as soon as it is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user