Skip to content

Commit

Permalink
Fix(eos_cli_config_gen): Wrong CLI template for some options (#3263)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc authored Oct 19, 2023
1 parent 3e4b44b commit 232ca91
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,21 @@ interface Management1
ip security
!
ike policy IKE-1
local_id 192.168.100.1
local-id 192.168.100.1
!
ike policy IKE-2
!
sa policy SA-1
esp encryption aes128
pfs_dh_group 14
pfs dh-group 14
!
sa policy SA-2
esp encryption aes128
pfs_dh_group 14
pfs dh-group 14
!
sa policy SA-3
esp encryption null
pfs_dh_group 17
pfs dh-group 17
!
profile Profile-1
ike-policy IKE-1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ no aaa root
ip security
!
ike policy IKE-1
local_id 192.168.100.1
local-id 192.168.100.1
!
ike policy IKE-2
!
sa policy SA-1
esp encryption aes128
pfs_dh_group 14
pfs dh-group 14
!
sa policy SA-2
esp encryption aes128
pfs_dh_group 14
pfs dh-group 14
!
sa policy SA-3
esp encryption null
pfs_dh_group 17
pfs dh-group 17
!
profile Profile-1
ike-policy IKE-1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ip security
!
ike policy {{ ike_policy.name }}
{% if ike_policy.local_id is arista.avd.defined %}
local_id {{ ike_policy.local_id }}
local-id {{ ike_policy.local_id }}
{% endif %}
{% endfor %}
{% for sa_policy in ip_security.sa_policies | arista.avd.default([]) %}
Expand All @@ -24,7 +24,7 @@ ip security
esp encryption {{ sa_policy.esp.encryption }}
{% endif %}
{% if sa_policy.pfs_dh_group is arista.avd.defined %}
pfs_dh_group {{ sa_policy.pfs_dh_group }}
pfs dh-group {{ sa_policy.pfs_dh_group }}
{% endif %}
{% endfor %}
{% for profile in ip_security.profiles | arista.avd.default([]) %}
Expand Down

0 comments on commit 232ca91

Please sign in to comment.