irrpt_objgrpgen: New tool for generating ciscoxr security object groups#71
Open
bknight-nitel wants to merge 1 commit into6connect:masterfrom
Open
irrpt_objgrpgen: New tool for generating ciscoxr security object groups#71bknight-nitel wants to merge 1 commit into6connect:masterfrom
bknight-nitel wants to merge 1 commit into6connect:masterfrom
Conversation
Contributor
|
Hi @bknight-nitel , thanks for this! Wondering if there's any reason to not have this as part of the regular pfxgen but with an option to output it in this format? |
Author
|
Hi @nistorj , I chose to break it out to a different script because the command line switches are different. There isn't a need to add an "le 24" or "le 48" to an object group, thus no need for the pfxlen* options. Also, UNIX philosophy of one tool doing its job well. But I'm perfectly fine with either way. Let me know what you'd prefer! |
Contributor
|
Hi, sorry just getting to this now ... It looks like the v6 stuff doesn't print properly: |
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.
Hi, I have created a new tool, irrpt_objgrpgen, that creates ciscoxr object-groups based on the prefixes downloaded from the IRR. It's entirely based on irrpt_pfxgen; most of the edits were to remove things like end-of-line commas, to rename variables where it seemed to make sense, and to simplify the way items are output. I plan to use this to maintain our anti-spoofing ACLs.