File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 115
115
{% - set PORT_BP = [] %}
116
116
{% - set PORT_DPC = [] %}
117
117
{% - set SYSTEM_PORT_ALL = [] %}
118
+ {% - set PORT_QOS_BYPASS = [] %}
118
119
119
120
{% - if voq_chassis %}
120
121
{% - for system_port in SYSTEM_PORT %}
144
145
{% - if defs .generate_bp_port_list is defined %}
145
146
{% - if defs .generate_bp_port_list (PORT ,PORT_BP ) %} {% endif %}
146
147
{% - endif %}
148
+ {% - if defs .generate_qos_bypass_port_list is defined %}
149
+ {% - if defs .generate_qos_bypass_port_list (PORT_QOS_BYPASS ) %} {% endif %}
150
+ {% - endif %}
147
151
{% - endif %}
148
152
149
153
{% - set PORT_ACTIVE = [] %}
166
170
{% - endif %}
167
171
{% - endfor %}
168
172
{% - endif %}
173
+ {% - set PORT_ACTIVE = PORT_ACTIVE | reject ('in' , PORT_QOS_BYPASS ) | list %}
169
174
170
175
{% - set port_names_list_active = [] %}
171
176
{% - for port in PORT_ACTIVE %}
Original file line number Diff line number Diff line change 2
2
{% - set PORT_BP = [] %}
3
3
{% - set PORT_DPC = [] %}
4
4
{% - set SYSTEM_PORT_ALL = [] %}
5
+ {% - set PORT_QOS_BYPASS = [] %}
5
6
6
7
{% - set voq_chassis = false %}
7
8
{% - if DEVICE_METADATA is defined and DEVICE_METADATA ['localhost' ]['switch_type' ] is defined and DEVICE_METADATA ['localhost' ]['switch_type' ] == 'voq' %}
31
32
{% - if generate_bp_port_list is defined %}
32
33
{% - if generate_bp_port_list (PORT ,PORT_BP ) %} {% endif %}
33
34
{% - endif %}
35
+ {% - if generate_qos_bypass_port_list is defined %}
36
+ {% - if generate_qos_bypass_port_list (PORT_QOS_BYPASS ) %} {% endif %}
37
+ {% - endif %}
34
38
35
39
{% - if PORT_ALL | sort_by_port_index %}{% endif %}
36
40
55
59
{% - if PORT_ACTIVE .append (port ) %}{% - endif %}
56
60
{% - endfor %}
57
61
{% - endif %}
62
+ {% - set PORT_ACTIVE = PORT_ACTIVE | reject ('in' , PORT_QOS_BYPASS ) | list %}
58
63
{% - if PORT_ACTIVE | sort_by_port_index %}{% endif %}
59
64
60
65
{% - set port_names_list_active = [] %}
You can’t perform that action at this time.
0 commit comments