|
@@ -30,8 +30,8 @@ template bgp ibgp {
|
|
|
{%- continue %}
|
|
|
{%- endif %}
|
|
|
|
|
|
- {#- Don't try to set up sessions to VMs/devices which are "offline" or "planned" etc. #}
|
|
|
- {%- if peer_node_config.get ('status', '') not in [ '', 'active', 'staged' ] %}
|
|
|
+ {#- Don't try to set up sessions to VMs/devices which are "planned", "failed", "decomissioning" and "inventory" #}
|
|
|
+ {%- if peer_node_config.get ('status', '') not in [ '', 'active', 'staged', 'offline' ] %}
|
|
|
{%- continue %}
|
|
|
{%- endif %}
|
|
|
|