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(apply): adds template func to get interface ip #379

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

pallabpain
Copy link
Member

@pallabpain pallabpain commented Oct 22, 2024

Description

This PR implements the get_intf_ip template filter that will help fetch the IP of a device interface. Here's an example

envArgs:
- name: EDGE_VPN_IP
  value: {{ 'edge01' | get_intf_ip(interface='tailscale0') }}

Note: This will introduce a slight delay in applying the template.

Depends

@pallabpain pallabpain requested review from a team as code owners October 22, 2024 18:23
@pallabpain pallabpain self-assigned this Oct 22, 2024
Copy link

github-actions bot commented Oct 22, 2024

🤖 Pull Request Artifacts (#11474116434) 🎉

@pallabpain pallabpain added the ✨ feature A new feature addition to the CLI label Oct 22, 2024
@pallabpain pallabpain force-pushed the feat/get-intf-ip-templ-func branch from 8339e9e to bd9b6bb Compare October 23, 2024 04:07
@pallabpain pallabpain force-pushed the feat/get-intf-ip-templ-func branch from bd9b6bb to f8c3e63 Compare October 23, 2024 06:12
@pallabpain pallabpain merged commit d370826 into devel Nov 4, 2024
11 checks passed
rr-github-ci-user pushed a commit that referenced this pull request Nov 14, 2024
# [9.2.0](v9.1.3...v9.2.0) (2024-11-14)

### Bug Fixes

* **device:** report online devices only ([#382](#382)) ([bfe7bb3](bfe7bb3))
* **organization:** fixes key error when no org is selected ([#383](#383)) ([29476ff](29476ff))

### Features

* **apply:** adds template func to get interface ip ([#379](#379)) ([d370826](d370826))
@rr-github-ci-user
Copy link
Collaborator

🎉 This PR is included in version 9.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pallabpain pallabpain deleted the feat/get-intf-ip-templ-func branch December 12, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature A new feature addition to the CLI released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants