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

Introduce a Store #32

Closed
sekur opened this issue Aug 24, 2016 · 1 comment
Closed

Introduce a Store #32

sekur opened this issue Aug 24, 2016 · 1 comment
Assignees
Milestone

Comments

@sekur
Copy link
Collaborator

sekur commented Aug 24, 2016

A Store should house a collection of Models and serve as the root for XPATH accessibility tree (see #31).

Currently, the Yang schema instances are captured by the Yang class. This enables schema-level resolutions during Yang.parse.

The Store will need to attach the Model properties and allow population of data state. The Store will be the primary entity for data provider (persistence layer) adaptors and support load/dump type operations (see #24).

We still want to preserve direct per-Model interactions. Since a Model does not need to be a YANG module schema, we will need to differentiate "module" models vs non-module models and handle them appropriately from the Store.

@sekur sekur added this to the 0.15 milestone Aug 24, 2016
@sekur sekur self-assigned this Aug 24, 2016
sekur added a commit that referenced this issue Aug 26, 2016
… event subscription propagation from Model to Store. addresses edge case issues regarding #33. the new Store should resolve cross module leaf references (see #31).
@sekur
Copy link
Collaborator Author

sekur commented Aug 26, 2016

verified integration with yang-express. still has planned missing features but the introduction looks to be functional.

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