2017-08-23 21:41:14 -05:00
|
|
|
[
|
2017-09-12 16:13:27 -05:00
|
|
|
{% if PORT %}
|
|
|
|
{% for port in PORT %}
|
|
|
|
{% if PORT[port].has_key('speed') %}
|
2017-08-23 21:41:14 -05:00
|
|
|
{
|
2017-09-12 16:13:27 -05:00
|
|
|
"PORT_TABLE:{{ port }}": {
|
|
|
|
"speed": "{{ PORT[port]['speed'] }}"
|
2017-08-23 21:41:14 -05:00
|
|
|
},
|
|
|
|
"OP": "SET"
|
|
|
|
}{% if not loop.last %},{% endif %}
|
|
|
|
|
2017-09-12 16:13:27 -05:00
|
|
|
{% endif %}
|
2017-08-23 21:41:14 -05:00
|
|
|
{% endfor %}
|
2017-09-12 16:13:27 -05:00
|
|
|
{% endif %}
|
2017-08-23 21:41:14 -05:00
|
|
|
]
|