File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 115115{% - set PORT_BP = [] %}
116116{% - set PORT_DPC = [] %}
117117{% - set SYSTEM_PORT_ALL = [] %}
118+ {% - set PORT_QOS_BYPASS = [] %}
118119
119120{% - if voq_chassis %}
120121 {% - for system_port in SYSTEM_PORT %}
144145 {% - if defs .generate_bp_port_list is defined %}
145146 {% - if defs .generate_bp_port_list (PORT ,PORT_BP ) %} {% endif %}
146147 {% - 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 %}
147151{% - endif %}
148152
149153{% - set PORT_ACTIVE = [] %}
166170 {% - endif %}
167171 {% - endfor %}
168172{% - endif %}
173+ {% - set PORT_ACTIVE = PORT_ACTIVE | reject ('in' , PORT_QOS_BYPASS ) | list %}
169174
170175{% - set port_names_list_active = [] %}
171176{% - for port in PORT_ACTIVE %}
Original file line number Diff line number Diff line change 22{% - set PORT_BP = [] %}
33{% - set PORT_DPC = [] %}
44{% - set SYSTEM_PORT_ALL = [] %}
5+ {% - set PORT_QOS_BYPASS = [] %}
56
67{% - set voq_chassis = false %}
78{% - if DEVICE_METADATA is defined and DEVICE_METADATA ['localhost' ]['switch_type' ] is defined and DEVICE_METADATA ['localhost' ]['switch_type' ] == 'voq' %}
3132{% - if generate_bp_port_list is defined %}
3233 {% - if generate_bp_port_list (PORT ,PORT_BP ) %} {% endif %}
3334{% - endif %}
35+ {% - if generate_qos_bypass_port_list is defined %}
36+ {% - if generate_qos_bypass_port_list (PORT_QOS_BYPASS ) %} {% endif %}
37+ {% - endif %}
3438
3539{% - if PORT_ALL | sort_by_port_index %}{% endif %}
3640
5559 {% - if PORT_ACTIVE .append (port ) %}{% - endif %}
5660 {% - endfor %}
5761{% - endif %}
62+ {% - set PORT_ACTIVE = PORT_ACTIVE | reject ('in' , PORT_QOS_BYPASS ) | list %}
5863{% - if PORT_ACTIVE | sort_by_port_index %}{% endif %}
5964
6065{% - set port_names_list_active = [] %}
You can’t perform that action at this time.
0 commit comments