In order to prepare the networks refactoring to isolate the different environments (staging, production and possibly an additional admin vlan), an exhaustive list of all the running services is needed.
An inventory app will be used to have a live and up to date vision of the infrastructure.
After a quick poc, [[ https://netbox.readthedocs.io/ | netbox ]] seems to do the job by supporting, hardware, virtualisation, networks, services, .... and being configurable by api.
List of the tasks to perform :
[] **[In progress]** Add the support of netbox in puppet
[] Provision and install a server to run netbox
[] Reference the physical and virtual servers
[] Reference the current networks and ips
[] Reference the running services
The next step (refactoring) will be described in another task after the analysis of the current state.