Conversation
94a2b67 to
89c8533
Compare
|
This PR is part of the zero-touch provisioning feature set described in #121. Please see that issue for the full architecture and motivation. |
dc2cc0b to
89c8533
Compare
Conflict resolution note for rebaseWhen rebasing this PR after #115 lands, there will be a conflict in
Correct resolution: Take #115's version ( Verified in the integration-test branch: 1135 tests pass, E2E confirmed. |
e0cbff2 to
9e5ad73
Compare
f87e5e1 to
34c4916
Compare
34c4916 to
40fad32
Compare
…n and inherited sync UI Rebased onto 1.0.5 development (36fb2c4). Keeps Site/SiteGroup/Region/Tag assignment targets, recursive ancestry, exclude_tag, inherited sync status UI, and migrations 0013/0014. Takes 1.0.5 trigger-dependency settings (enabled=False by default), template pattern extraction, gettext_lazy, and CI pin to NetBox v4.6.7. Not in this PR: TemplateRule (#117), device-context render (#110), host bindings (#125), use_oob_ip (#129). Co-authored-by: berlikm <berlikm@users.noreply.github.com>
…g and API) Rebased onto 1.0.5 + #115. Unique TemplateRule surface, migration 0015, and inheritance matching. Query counts use the 1.0.5 NetBox v4.6.7 baselines plus TemplateRule views. Co-authored-by: berlikm <berlikm@users.noreply.github.com>
Rebased onto 1.0.5 + #115 + #117. Co-authored-by: berlikm <berlikm@users.noreply.github.com>
bbc950e to
31d8d6e
Compare
Add device/site/tenant/role/device_type/manufacturer shortcuts on tag and hostgroup templates. Aliases are derived from the final render object so host sync (object=Device/VM) uses the host, not the Role/Site assignment row. Hierarchy previews do not advertise a Site or Role as device. Co-authored-by: berlikm <berlikm@users.noreply.github.com>
|
Follow-up on the 1.0.5 rebase: #102's related-object Jinja aliases are now in this PR (
|
Generic FK context is equal by identity, not the same Python object. List previews walk site/role/device_type/manufacturer, so those two assignment list views run 28 queries instead of 20. Co-authored-by: berlikm <berlikm@users.noreply.github.com>
Summary
Device/VM context for Jinja2 tag & hostgroup rendering, plus UI previews (#121).
Rebased onto 1.0.5 + #115 + #117. Depends on #117. Render-only delta:
https://github.com/berlikm/nbxsync/compare/feature/templaterule-regex...fix/tag-render-device-context
Also covers #102: tag/hostgroup templates get
device,site,tenant,role,device_type, andmanufactureraliases. Those keys are filled from the render object (the Device/VM during host sync), not from the assignment row — so a Role-level template rendered withobject=<host>uses that host's site/role.deviceis only set for Device/VM/VDC; a Site assignment is not advertised asdevice.Scope frozen at tip
c46ed48.Merge after: #117
Next: #125