-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Deployment Type
Self-hosted
NetBox Version
v3.7.0
Python Version
3.11
Steps to Reproduce
Go to VPN - IKE Proposals - Add
- Name = GUITEST
- Authentication method = PSK
- Encryption algorithm = 256-bit AES (GCM)
- Group = Group 20
- Create
(= is successful)
Go to VPN - IKE Proposals - Import, use the same fields as above:
name,authentication_method,encryption_algorithm,group
IMPORTTEST,preshared-keys,aes-256-gcm,20
Expected Behavior
IKE proposal is imported successfully.
Observed Behavior
Error is shown:
Record 1 authentication_algorithm: This field is required.
In the import field options the authentication_algorithm field is shown as required even though it is not required in GUI.
Also, in the authentication_algorithm value list there is no "empty" option to use, thus it is not possible to import IKE proposals that use GCM, unless you fake the algorithm during the import.
Also note that if authentication algorithm is nevertheless set and you want to remove it, you have to single-edit the proposal: it is not possible to select all proposals in the list and use Edit Selected, as it is not possible to clear the field there.
Related to #14499 where GUI requirement for the authentication method was relaxed.