Hi all,

 

I’m looking into modifying the host add endpoint for personal use, and wanted to ask a few clarifying questions:

 

If I understand it correctly, the POST v1/ihosts endpoint is how hosts are added, and corresponds to the post/ _do_post commands in this file:

https://github.com/starlingx-staging/stx-config/blob/master/sysinv/sysinv/sysinv/sysinv/api/controllers/v1/host.py

 

Related to this particular file:

 

More generally:

 

I’m aware that this is not supported/ tested, but any help on any of the above questions would be greatly appreciated.

(I am also aware of the INSTALL_UUID potentially presenting an issue, but if any of the above are possible that would be great to know.)

Thanks!                                                                                            

 

Best,

Alex