Root cause of this problem is that RPC of get information from agents (get_active_networks/sync_routers) does not return resources on agents with admin_state_up False.
I fixed this simply. I think there is no bad effect for existing functions by this change.
To keep current behavior available I added config parameters to select behavior.
I don't prefer the serious matter such as API addition to fix this problem.
Root cause of this problem is that RPC of get information from agents (get_active_ networks/ sync_routers) does not return resources on agents with admin_state_up False.
I fixed this simply. I think there is no bad effect for existing functions by this change.
To keep current behavior available I added config parameters to select behavior.
I don't prefer the serious matter such as API addition to fix this problem.