mirror of
https://github.com/hansjone/netx.git
synced 2026-10-16 16:50:46 +08:00
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:
parent
78f7032d7b
commit
3576e4a69c
9 changed files with 390 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue