Commit efd090c9 authored by nanahira's avatar nanahira

gwgroup

parent 580f00b8
...@@ -49,7 +49,7 @@ protocol kernel { ...@@ -49,7 +49,7 @@ protocol kernel {
protocol ospf v2 { protocol ospf v2 {
ipv4 { ipv4 {
import all; import all;
export where source ~ [ RTS_DEVICE, RTS_STATIC ]; export all; # where source ~ [ RTS_DEVICE, RTS_STATIC ];
}; };
area 0 { area 0 {
networks { networks {
...@@ -57,11 +57,11 @@ protocol ospf v2 { ...@@ -57,11 +57,11 @@ protocol ospf v2 {
{{subnet}}; {{subnet}};
{% endfor %} {% endfor %}
}; };
# interface "eth*" { # interface "eth*" {
# type broadcast; # Detected by default # type broadcast; # Detected by default
# cost 10; # Interface metric # cost 10; # Interface metric
# hello 5; # Default hello perid 10 is too long # hello 5; # Default hello perid 10 is too long
# }; # };
{% for connection in connections %} {% for connection in connections %}
{% if connection.protocol != "null" and connection.remoteLocalAddress != address %} {% if connection.protocol != "null" and connection.remoteLocalAddress != address %}
interface "{{connection.name}}" { interface "{{connection.name}}" {
...@@ -89,7 +89,7 @@ protocol ospf v2 { ...@@ -89,7 +89,7 @@ protocol ospf v2 {
{% endfor %} {% endfor %}
interface "dummy0" { interface "dummy0" {
stub; # Stub interface, just propagate it stub; # Stub interface, just propagate it
}; };
}; };
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment