Firewall settings modules#681
Merged
zliang-akamai merged 11 commits intolinode:proj/linode-interfacesfrom May 28, 2025
Merged
Conversation
aeb4ca5 to
decc5fe
Compare
Contributor
|
This looks great, nice work! For the null |
ezilber-akamai
approved these changes
May 23, 2025
Contributor
ezilber-akamai
left a comment
There was a problem hiding this comment.
LGTM! Tests passing locally.
Member
Author
|
Hi @lgarber-akamai, I enabled |
lgarber-akamai
approved these changes
May 28, 2025
Contributor
lgarber-akamai
left a comment
There was a problem hiding this comment.
Thank you for addressing my feedback in the Python SDK!
1239b60
into
linode:proj/linode-interfaces
12 checks passed
zliang-akamai
added a commit
that referenced
this pull request
Nov 20, 2025
* Override Python SDK version to be the feature branch * Add interface as an allowed firewall device (#676) * Add interface as an allowed firewall device * Add todo * Firewall settings modules (#681) * Fix `parse_linode_types` for `JSONObject` * Add `firewall_settings` module and docs * Add `firewall_settings_info` module, docs, and tests * Fix helper * lint fix * more lint fix * more more lint fixes * Add interface_id to IP docs (#684) * Update VPC docs (#675) * Fix doc for entity_type * Fix lint * Implement firewall template modules (#686) * Implement firewall template modules * Fix lint * Linode Interfaces: Support endpoints under /linode/instances/{id}/interfaces (#687) * Linode Interfaces: Support endpoints under /linode/instances/{id}/interfaces * Revert inventory * make gendocS * oops * Add docs example * Finishing touches * Adjustments * oops * make gendocs * oops * WIP * Fix weird wording * Scope attributes in settings info module * instance_id -> linode_id * oops * fix firewall issue * Update tests/integration/targets/instance_linode_interface/tasks/main.yaml Co-authored-by: Erik Zilber <ezilber@akamai.com> --------- Co-authored-by: Erik Zilber <ezilber@akamai.com> * Fix doc * Fix null firewall_id during creation of instance with linode interface (#719) * VPC Dual Stack: Add support for Linode Interfaces (#721) * Implement Linode Interfaces IPv6 * minor bug fix * Minor docs fix * Fix expecting error test (#724) * Catch all exceptions from running `exec_module` * Fail when the error message is not in `msg` * make format * Change BaseException to Exception * Update format_generic_error --------- Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com> Co-authored-by: Erik Zilber <ezilber@akamai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
This is to add
firewall_settingsandfirewall_settings_infomodule.✔️ How to Test
You might need to enable default firewall for your account to test it.
Note that once it's enabled for an account, it cannot be turned off, which means you will have to permanently have a default firewall for each of the resources in you account.
curl --request PUT \ --url https://api.linode.com/v4beta/networking/firewalls/settings \ --header 'accept: application/json' \ --header "authorization: Bearer $TOKEN" \ --header 'content-type: application/json' \ --data ' { "default_firewall_ids": { "public_interface": YOUR_DEFAULT_FIREWALL_ID, "vpc_interface": YOUR_DEFAULT_FIREWALL_ID, "linode": YOUR_DEFAULT_FIREWALL_ID, "nodebalancer": YOUR_DEFAULT_FIREWALL_ID } } 'Testing the modules: