Make mac addresses unique by interface
- mac is now a column in the interface table (no link to the mac table) - mac column is unique (can't have 2 interfaces with the same mac) - the mac table is kept for the items JIRA INFRA-639
Showing
- app/api/network.py 1 addition, 1 deletionapp/api/network.py
- app/helpers.py 0 additions, 21 deletionsapp/helpers.py
- app/models.py 10 additions, 6 deletionsapp/models.py
- app/network/forms.py 2 additions, 1 deletionapp/network/forms.py
- app/network/views.py 4 additions, 17 deletionsapp/network/views.py
- app/templates/network/create_host.html 1 addition, 1 deletionapp/templates/network/create_host.html
- app/templates/network/create_interface.html 1 addition, 1 deletionapp/templates/network/create_interface.html
- app/templates/network/edit_interface.html 1 addition, 1 deletionapp/templates/network/edit_interface.html
- migrations/versions/9184cc675b4e_move_mac_address_to_interface_table.py 62 additions, 0 deletions...sions/9184cc675b4e_move_mac_address_to_interface_table.py
- tests/functional/factories.py 1 addition, 0 deletionstests/functional/factories.py
- tests/functional/test_api.py 7 additions, 2 deletionstests/functional/test_api.py
- tests/functional/test_web.py 30 additions, 0 deletionstests/functional/test_web.py
Loading
Please register or sign in to comment