|
|
@ -4,7 +4,7 @@
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ip:ospf') %}
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ip:ospf') %}
|
|
|
|
ospf {
|
|
|
|
ospf {
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:cost',None) != None %}cost {{ salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:cost') }}{% endif %}
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:cost',None) != None %}cost {{ salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:cost') }}{% endif %}
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:passive') %}
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:passive',False) %}
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
network {{ salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:network') }}
|
|
|
|
network {{ salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:network') }}
|
|
|
|
dead-interval {{ salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:dead-interval',40) }}
|
|
|
|
dead-interval {{ salt['pillar.get']('interfaces:'+iface_name+':ip:ospf:dead-interval',40) }}
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
ospfv3 {
|
|
|
|
ospfv3 {
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:cost',None) != None %}cost {{ salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:cost') }}{% endif %}
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:cost',None) != None %}cost {{ salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:cost') }}{% endif %}
|
|
|
|
instance-id {{ salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:instance-id',0) }}
|
|
|
|
instance-id {{ salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:instance-id',0) }}
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:passive') %}
|
|
|
|
{% if salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:passive',False) %}
|
|
|
|
passive
|
|
|
|
passive
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
dead-interval {{ salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:dead-interval',40) }}
|
|
|
|
dead-interval {{ salt['pillar.get']('interfaces:'+iface_name+':ipv6:ospfv3:dead-interval',40) }}
|
|
|
@ -228,6 +228,7 @@ protocols {
|
|
|
|
bgp {{ bgp_as }} {
|
|
|
|
bgp {{ bgp_as }} {
|
|
|
|
parameters {
|
|
|
|
parameters {
|
|
|
|
router-id {{ as_data['parameters']['router-id'] }}
|
|
|
|
router-id {{ as_data['parameters']['router-id'] }}
|
|
|
|
|
|
|
|
default no-ipv4-unicast
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{% if as_data.get('address-family',None) %}
|
|
|
|
{% if as_data.get('address-family',None) %}
|
|
|
|
address-family {
|
|
|
|
address-family {
|
|
|
|