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

Mapper refactoring #3

Merged
merged 10 commits into from Nov 9, 2015
Merged

Mapper refactoring #3

merged 10 commits into from Nov 9, 2015

Conversation

bradbishop
Copy link
Member

Working towards rest-server usage of the org.openbmc.Object.Enumerate interface.

Can filter on:
  XML node tags
  interface names

Using filters cuts down on parsing cycles.
PathTree is a somewhat generic structure for associating
data with a path, internally managed as a tree.  It emulates
built in python containers and supports iteration.
This match functor doesn't have anything to do with 'tags'.
PathTree enables more efficient and more idiomatic iterating.
Also tweaked the org.openbmc.objectmanager interface methods:
removed 'fuzzy' match type and added 'GetObject'.
When systemd units that depend on objectmapper name registration
currently get started, they block while objectmapper does all
its initial discovery.  This change ensures that the mapper is
ready to receive requests before registering the service name on
dbus.
Wrapper that allows default parameters to be used with the Mapper
DBUS interface.
Raise MapperNotFound for invalid paths supplied to the
DBUS API.
Don't introspect when calling get_object.
Check for bus name match in signal handlers.
williamspatrick added a commit that referenced this pull request Nov 9, 2015
@williamspatrick williamspatrick merged commit a052e82 into openbmc:master Nov 9, 2015
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.

None yet

2 participants