Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_cli_config_gen): Add support for connection tx-interface match source-ip for ip security #4844

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ ip_security:
key_controller:
profile: Profile-1
hardware_encryption_disabled: true
connection_tx_interface_match_source_ip: true
ClausHolbechArista marked this conversation as resolved.
Show resolved Hide resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

- Hardware encryption is disabled
{% endif %}
{% if ip_security.match_source_ip is arista.avd.defined(true) %}
laxmikantchintakindi marked this conversation as resolved.
Show resolved Hide resolved

- Match source interface of the IPSec connection is enabled
{% endif %}
{% if ip_security.ike_policies is arista.avd.defined %}

### IKE policies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,7 @@ ip security
{% if ip_security.hardware_encryption_disabled is arista.avd.defined(true) %}
hardware encryption disabled
{% endif %}
{% if ip_security.match_source_ip is arista.avd.defined(true) %}
laxmikantchintakindi marked this conversation as resolved.
Show resolved Hide resolved
connection tx-interface match source-ip
{% endif %}
{% endif %}
5 changes: 5 additions & 0 deletions python-avd/pyavd/_eos_cli_config_gen/schema/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,6 @@ keys:
description: |-
Disable hardware encryption.
An SFE restart is needed for this change to take effect.
connection_tx_interface_match_source_ip:
type: bool
description: Match source interface of the IPsec connection.
Loading