@@ -151,7 +151,8 @@ class IKEProposalImportForm(NetBoxModelImportForm):
151151 )
152152 authentication_algorithm = CSVChoiceField (
153153 label = _ ('Authentication algorithm' ),
154- choices = AuthenticationAlgorithmChoices
154+ choices = AuthenticationAlgorithmChoices ,
155+ required = False
155156 )
156157 group = CSVChoiceField (
157158 label = _ ('Group' ),
@@ -191,11 +192,13 @@ class Meta:
191192class IPSecProposalImportForm (NetBoxModelImportForm ):
192193 encryption_algorithm = CSVChoiceField (
193194 label = _ ('Encryption algorithm' ),
194- choices = EncryptionAlgorithmChoices
195+ choices = EncryptionAlgorithmChoices ,
196+ required = False
195197 )
196198 authentication_algorithm = CSVChoiceField (
197199 label = _ ('Authentication algorithm' ),
198- choices = AuthenticationAlgorithmChoices
200+ choices = AuthenticationAlgorithmChoices ,
201+ required = False
199202 )
200203
201204 class Meta :
@@ -209,7 +212,8 @@ class Meta:
209212class IPSecPolicyImportForm (NetBoxModelImportForm ):
210213 pfs_group = CSVChoiceField (
211214 label = _ ('Diffie-Hellman group for Perfect Forward Secrecy' ),
212- choices = DHGroupChoices
215+ choices = DHGroupChoices ,
216+ required = False
213217 )
214218 proposals = CSVModelMultipleChoiceField (
215219 queryset = IPSecProposal .objects .all (),
0 commit comments