|
|
@@ -2158,6 +2158,7 @@ class DeviceBulkAddInterfaceForm(DeviceBulkAddComponentForm):
|
|
|
|
|
|
class ConsolePortFilterForm(DeviceComponentFilterForm):
|
|
|
model = ConsolePort
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class ConsolePortForm(BootstrapMixin, forms.ModelForm):
|
|
|
@@ -2215,6 +2216,7 @@ class ConsolePortCSVForm(forms.ModelForm):
|
|
|
|
|
|
class ConsoleServerPortFilterForm(DeviceComponentFilterForm):
|
|
|
model = ConsoleServerPort
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class ConsoleServerPortForm(BootstrapMixin, forms.ModelForm):
|
|
|
@@ -2307,6 +2309,7 @@ class ConsoleServerPortCSVForm(forms.ModelForm):
|
|
|
|
|
|
class PowerPortFilterForm(DeviceComponentFilterForm):
|
|
|
model = PowerPort
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class PowerPortForm(BootstrapMixin, forms.ModelForm):
|
|
|
@@ -2374,6 +2377,7 @@ class PowerPortCSVForm(forms.ModelForm):
|
|
|
|
|
|
class PowerOutletFilterForm(DeviceComponentFilterForm):
|
|
|
model = PowerOutlet
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class PowerOutletForm(BootstrapMixin, forms.ModelForm):
|
|
|
@@ -2542,6 +2546,7 @@ class PowerOutletBulkDisconnectForm(ConfirmationForm):
|
|
|
|
|
|
class InterfaceFilterForm(DeviceComponentFilterForm):
|
|
|
model = Interface
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class InterfaceForm(InterfaceCommonForm, BootstrapMixin, forms.ModelForm):
|
|
|
@@ -2855,6 +2860,7 @@ class InterfaceBulkDisconnectForm(ConfirmationForm):
|
|
|
|
|
|
class FrontPortFilterForm(DeviceComponentFilterForm):
|
|
|
model = FrontPort
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class FrontPortForm(BootstrapMixin, forms.ModelForm):
|
|
|
@@ -3032,6 +3038,7 @@ class FrontPortBulkDisconnectForm(ConfirmationForm):
|
|
|
|
|
|
class RearPortFilterForm(DeviceComponentFilterForm):
|
|
|
model = RearPort
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class RearPortForm(BootstrapMixin, forms.ModelForm):
|
|
|
@@ -3636,6 +3643,7 @@ class CableFilterForm(BootstrapMixin, forms.Form):
|
|
|
|
|
|
class DeviceBayFilterForm(DeviceComponentFilterForm):
|
|
|
model = DeviceBay
|
|
|
+ tag = TagFilterField(model)
|
|
|
|
|
|
|
|
|
class DeviceBayForm(BootstrapMixin, forms.ModelForm):
|