Correct local context
parent
b03b646aa2
commit
d243b4ab05
|
|
@ -273,7 +273,7 @@ routing-options {
|
||||||
}
|
}
|
||||||
{% for interface in device.interfaces.filter(cable__isnull=False) %}
|
{% for interface in device.interfaces.filter(cable__isnull=False) %}
|
||||||
neighbor {{ interface.connected_endpoints[0].ip_addresses.first().address.ip }} {
|
neighbor {{ interface.connected_endpoints[0].ip_addresses.first().address.ip }} {
|
||||||
peer-as {{ interface.connected_endpoints[0].local_context_data['underlay_as'] }};
|
peer-as {{ interface.connected_endpoints[0].device.local_context_data['underlay_as'] }};
|
||||||
}
|
}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue