Thread Previous • Date Previous • Date Next • Thread Next |
* Add job to allocate and write host entry at node acquisition time, and return it in the API responseNow I don't really understand this point or the previous one :) What gets returned in the API response?The existing acquire() call returns the node's IP address.
'acquire' —same as many other API methods (commission or start)— returns a json representation of the node which happens to contain a list of all the IPs associated with the node's MAC address.
That field, `ipaddresses`, should probably only be populated once the node is allocated, i.e. with IP addresses from the static range.
Thread Previous • Date Previous • Date Next • Thread Next |