File tree 1 file changed +11
-8
lines changed
dockers/docker-router-advertiser
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,18 @@ dependent_startup_wait_for=rsyslogd:running
40
40
41
41
{# Router advertiser should only run on ToR (T0) devices which have #}
42
42
{# at least one VLAN interface which has an IPv6 address asigned #}
43
+ {# But not for specific deployment_id #}
43
44
{% - set vlan_v 6 = namespace (count =0) -%}
44
- {% - if "ToRRouter" in DEVICE_METADATA .localhost .type and DEVICE_METADATA .localhost .type != "MgmtToRRouter" -%}
45
- {% - if VLAN_INTERFACE -%}
46
- {% - for (name , prefix ) in VLAN_INTERFACE |pfx_filter -%}
47
- {# If this VLAN has an IPv6 address... #}
48
- {% - if prefix | ipv 6 -%}
49
- {% - set vlan_v 6.count = vlan_v 6.count + 1 -%}
50
- {% - endif -%}
51
- {% - endfor -%}
45
+ {% - if DEVICE_METADATA .localhost .deployment_id != "8" -%}
46
+ {% - if "ToRRouter" in DEVICE_METADATA .localhost .type and DEVICE_METADATA .localhost .type != "MgmtToRRouter" -%}
47
+ {% - if VLAN_INTERFACE -%}
48
+ {% - for (name , prefix ) in VLAN_INTERFACE |pfx_filter -%}
49
+ {# If this VLAN has an IPv6 address... #}
50
+ {% - if prefix | ipv 6 -%}
51
+ {% - set vlan_v 6.count = vlan_v 6.count + 1 -%}
52
+ {% - endif -%}
53
+ {% - endfor -%}
54
+ {% - endif -%}
52
55
{% - endif -%}
53
56
{% - endif -%}
54
57
You can’t perform that action at this time.
0 commit comments