Rename 'vm_interface' to 'vminterface'; misc cleanup

This commit is contained in:
Jeremy Stretch
2020-06-24 09:27:30 -04:00
parent a9d4127e49
commit 4744532489
7 changed files with 17 additions and 31 deletions

View File

@@ -1,4 +1,3 @@
from dcim.choices import InterfaceTypeChoices
from utilities.choices import ChoiceSet
@@ -29,16 +28,3 @@ class VirtualMachineStatusChoices(ChoiceSet):
STATUS_ACTIVE: 1,
STATUS_STAGED: 3,
}
#
# Interface types (for VirtualMachines)
#
class VMInterfaceTypeChoices(ChoiceSet):
TYPE_VIRTUAL = InterfaceTypeChoices.TYPE_VIRTUAL
CHOICES = (
(TYPE_VIRTUAL, 'Virtual'),
)