Add extra fields to the API
- add fqdn to host - add gateway to network - add netmask to interface - allow to pass recursive via the API (to expand interfaces in host) - add is_main property to interface (True if the interface is the main interface of the host) JIRA INFRA-640
Showing
- app/api/utils.py 6 additions, 1 deletionapp/api/utils.py
- app/models.py 21 additions, 12 deletionsapp/models.py
- tests/functional/test_api.py 75 additions, 16 deletionstests/functional/test_api.py
- tests/functional/test_models.py 46 additions, 0 deletionstests/functional/test_models.py
- tests/functional/test_web.py 2 additions, 2 deletionstests/functional/test_web.py
Loading
Please register or sign in to comment