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

(MODULES-464) Add netmap feature #421

Merged
merged 1 commit into from
Dec 19, 2014

Conversation

patrobinson
Copy link
Contributor

(#464) Add the ability to manage netmap rules.

Change resource_map in iptables provider to map "--to" parameter, which allows for parsing of existing netmap rules in rules_to_hash method.

Change resource_list in iptables provider to map append "--to" parameter when inserting netmap rules.

Add firewall type property "to".

Add feature netmap.

Example:
firewall { "151 NAT rules":
ensure => "present",
chain => "PREROUTING",
jump => "NETMAP",
destination => "10.168.34.0/24",
to => "192.168.34.0/24",
table => "nat",
source => "192.168.1.0/24",
proto => "all",
}

@patrobinson patrobinson changed the title (#464) Add netmap feature (MODULES-464) Add netmap feature Oct 21, 2014
@underscorgan
Copy link
Contributor

Hi @Nemski, in general this looks good, but could you update acceptance tests? Also, this is going to need a rebase. Thanks!

@patrobinson
Copy link
Contributor Author

@mhaskel Added tests and rebased

@underscorgan
Copy link
Contributor

@Nemski Can you squash this down to a single commit? But otherwise, looking good!

@patrobinson
Copy link
Contributor Author

@mhaskel Ok squashed now (i'm learning a lot about Git now)

underscorgan pushed a commit that referenced this pull request Dec 19, 2014
(MODULES-464) Add netmap feature
@underscorgan underscorgan merged commit dc3bd7f into puppetlabs:master Dec 19, 2014
@underscorgan
Copy link
Contributor

Thanks @Nemski!

@patrobinson patrobinson deleted the bug/master/add_netmap branch March 13, 2015 11:54
cegeka-jenkins pushed a commit to cegeka/puppet-firewall that referenced this pull request Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants