Replies: 5 comments
-
|
@jessepeterson: During today's meeting, we had talked about using tags for other entities in the nano stack. Rather than only supporting tags in the nanofleet component, we could consider adding tagging APIs to the the individual nano projects, and then publish that tag information up to nanofleet just like any other interesting state the components would publish. This would provide a tagging feature across the entire nano family, even for entities other than enrollments, which may be generally useful for other things besides campaign management and ddm predicates? |
Beta Was this translation helpful? Give feedback.
-
|
We also talked about generating ddm declarations as well, because the nanofleet layer would have the most information about each enrollment. Kory was concerned this would get complicated, maybe needing to implement a custom DSL, but I was thinking something more straightforward, like a 'server predicate' that worked just like the device ddm predicates, and then a template feature which could be used to generate the final version of the profile. Probably using golang's template module (https://pkg.go.dev/text/template) but there are plenty of others out there depending on our needs. Sample templated declaration with a server-side predicate (pretend this is json, and we're using go's template library): For a new enrollment, or the value of a tag changes, the server would scan through all the loaded declarations and evaluate the server predicate for each enrollment. If the server predicate evaluates as true, it would then generate the final declaration using the template engine, and push it down to the device. If the server predicate evaluates as false, but the declaration was already pushed to the device previously (i.e. in this instance, someone changed the tier tag from prod to dev), the server would remove the declaration from the device. If we don't want to add extra nano-specific keys to the declaration (the server-predicate, nano would obviously remove these before sending to the device), we could just wrap the regular ddm declaration in another layer and have the nano specific stuff at the top level, i.e. But I typically dislike nesting so I'd probably vote for the former. |
Beta Was this translation helpful? Give feedback.
-
|
Some more notes from my conversation with @jessepeterson today:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Today's notes from the MicroMDM community office hours meeting:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This project would be a new optional layer to the Nano suite oriented around managing sets of devices. This could be baked into an existing project, but the current Nano architecture is very component-ized, so proposing this as a new optional layer. @jessepeterson also mentioned future plans for Micromdm v2, maybe this belongs there?
Features:
Beta Was this translation helpful? Give feedback.
All reactions