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

add virtual gateway to logical interface #751

Merged
merged 3 commits into from
Feb 14, 2025

Conversation

jeremmfr
Copy link
Owner

@jeremmfr jeremmfr commented Feb 7, 2025

ENHANCEMENTS:

  • resource/junos_interface_logical:
    • add virtual_gateway_accept_data, virtual_gateway_v4_mac and virtual_gateway_v6_mac arguments
    • add virtual_gateway_address argument in address block in family_inet and family_inet6 blocks
  • data-source/junos_interface_logical: add virtual_gateway_accept_data, virtual_gateway_v4_mac, virtual_gateway_v6_mac and virtual_gateway_address attributes like resource

i-am-smolli and others added 2 commits February 3, 2025 08:42
* feat: add virtual_gateway* for ipv4

* chore: change var name to tidy things up

* chore: disable linter for interfaceLogicalBlockFamilyInetBlockAddress
Either the tags are lined up, or the line is short enough. I´ve chosen tags

* chore: update docs

* chore: make linter happy

---------

Co-authored-by: Jeremy Muriel <jeremy@jeremm.fr>
- fix missing attributes in data-source
- add virtual_gateway_v4|6_mac arguments
- add virtual_gateway_address in family_inet6
- add config validator to test with name of interface (irb prefix)
- fix arguments order and rename field to follow the usual format
- add test data to acceptance tests
- fix documentation format with arguments description under the name
- split vrrp_group block config set/read in dedicated function
@jeremmfr jeremmfr added the enhancement New feature or request label Feb 7, 2025
@jeremmfr jeremmfr added this to the v2.12.0 milestone Feb 7, 2025
@jeremmfr jeremmfr self-assigned this Feb 7, 2025
interface during Plan instead of during Apply
@jeremmfr jeremmfr merged commit b8f1b9e into main Feb 14, 2025
24 checks passed
@jeremmfr jeremmfr deleted the logical-interface-virtual-gateway branch February 14, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants