Add ZTE BGP VRF summary aux FIB collect with optional all-VRF expand.

Wire config_vrf plus ipv4/ipv6 forwarding as aux for VPN VRF summaries, and allow unbound items to expand all AF-filtered VRFs at collect time.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-21 17:23:34 +08:00
parent 78f7032d7b
commit 3576e4a69c
9 changed files with 390 additions and 18 deletions

View file

@ -290,6 +290,9 @@ def _assert_bindings_ready(db: Session, task_id: str) -> None:
profile = get_profile(it.source_profile_id)
if not profile or not profile.placeholders:
continue
# Optional discover placeholders: empty bindings → expand all at collect.
if all(not ph.required for ph in profile.placeholders):
continue
binds = (
db.query(BizStateTaskItemBinding)
.filter(BizStateTaskItemBinding.item_id == it.id)