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

Patch for /trunk/lib/junipersrx.py #35

Open
GoogleCodeExporter opened this issue Jun 30, 2015 · 0 comments
Open

Patch for /trunk/lib/junipersrx.py #35

GoogleCodeExporter opened this issue Jun 30, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

This patch adds support of global policies and address book on Juniper SRXs.

I tried to do it the cleanest way possible, please let me know how I can 
improve it if needed.

To use it add the keyword "global_address_book" to the target line in _all_ 
your headers (as you can't have both per zone and global address-book).

header {
  comment:: "Generated by Capirca"
  target:: srx from-zone corp to-zone vpn global_address_book
}

If you need to add the "global { }" policies block do:

header {
  comment:: "Generated by Capirca"
  target:: srx from-zone global_policies to-zone global_policies global_address_book
}

Thanks!

Original issue reported on code.google.com by xionox on 30 Oct 2014 at 1:35

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant