Allow to link several items to one host
1. When we have a stack of switches, the same IP is associated to several switches 2. Move the items <-> host assocation to the item create/edit page JIRA INFRA-267
Showing
- app/api/inventory.py 1 addition, 0 deletionsapp/api/inventory.py
- app/api/network.py 1 addition, 1 deletionapp/api/network.py
- app/inventory/forms.py 2 additions, 0 deletionsapp/inventory/forms.py
- app/inventory/views.py 4 additions, 2 deletionsapp/inventory/views.py
- app/models.py 8 additions, 3 deletionsapp/models.py
- app/network/forms.py 0 additions, 2 deletionsapp/network/forms.py
- app/network/views.py 1 addition, 3 deletionsapp/network/views.py
- app/static/js/hosts.js 0 additions, 5 deletionsapp/static/js/hosts.js
- app/templates/inventory/create_item.html 1 addition, 0 deletionsapp/templates/inventory/create_item.html
- app/templates/inventory/edit_item.html 1 addition, 0 deletionsapp/templates/inventory/edit_item.html
- app/templates/network/create_host.html 0 additions, 1 deletionapp/templates/network/create_host.html
- app/templates/network/edit_host.html 0 additions, 1 deletionapp/templates/network/edit_host.html
- app/templates/network/view_host.html 4 additions, 4 deletionsapp/templates/network/view_host.html
- migrations/versions/7ffb5fbbd0f0_allow_to_associate_several_items_to_one_.py 48 additions, 0 deletions.../7ffb5fbbd0f0_allow_to_associate_several_items_to_one_.py
- migrations/versions/ac6b3c416b07_add_machine_type_table.py 1 addition, 1 deletionmigrations/versions/ac6b3c416b07_add_machine_type_table.py
- tests/functional/test_api.py 30 additions, 12 deletionstests/functional/test_api.py
Loading
Please register or sign in to comment