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

Add yml parser #73

Closed
wants to merge 7 commits into from
Closed

Add yml parser #73

wants to merge 7 commits into from

Conversation

jzohrab
Copy link
Contributor

@jzohrab jzohrab commented Jun 10, 2016

Builds on PR #72.

  • adds a yaml policy parser, and a "policy_format" flag so users can choose which format to parse.
  • adds a YamlNaming object, similar to the existing Naming object for consistency
  • adds characterization tests for this parser

Note that the yaml format does not have complete feature parity with the capirca format, this is documented in doc/policy_format_yml.md, and perhaps should be iterated on. We're using this format at the moment for an internal POC project.

Necessary to prevent testing errors that will occur when 'integration' tests are added.
Ref http://stackoverflow.com/questions/36781236 for details.
Integration-level tests to ensure that aclgen.py works as expected.
Separating the data input from the underlying software model/domain
creates new possibilities for loading data with different formats
from different sources.
@ankenyr
Copy link
Contributor

ankenyr commented Mar 15, 2017

See #72

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

Successfully merging this pull request may close these issues.

2 participants