Add machine_type table
"type" field on host replaced with foreign key "machine_type_id" JIRA INFRA-281
Showing
- app/api/network.py 2 additions, 2 deletionsapp/api/network.py
- app/models.py 26 additions, 2 deletionsapp/models.py
- app/network/forms.py 2 additions, 1 deletionapp/network/forms.py
- app/network/views.py 4 additions, 4 deletionsapp/network/views.py
- app/static/js/hosts.js 14 additions, 4 deletionsapp/static/js/hosts.js
- app/templates/network/create_host.html 1 addition, 1 deletionapp/templates/network/create_host.html
- app/templates/network/edit_host.html 2 additions, 2 deletionsapp/templates/network/edit_host.html
- app/templates/network/view_host.html 3 additions, 3 deletionsapp/templates/network/view_host.html
- migrations/versions/ac6b3c416b07_add_machine_type_table.py 52 additions, 0 deletionsmigrations/versions/ac6b3c416b07_add_machine_type_table.py
- tests/functional/conftest.py 1 addition, 0 deletionstests/functional/conftest.py
- tests/functional/factories.py 10 additions, 0 deletionstests/functional/factories.py
- tests/functional/test_api.py 15 additions, 6 deletionstests/functional/test_api.py
Loading
Please register or sign in to comment