48b0beb7ff
* Add port speed configuration * Add DeviceInfos support in minigraph parser * Add cfggen test 'test_minigraph_ethernet_interfaces' * Fixed PR comments * Update sonic-swss submodule reference
12 lines
234 B
Django/Jinja
12 lines
234 B
Django/Jinja
[
|
|
{% for interface in ethernet_interfaces %}
|
|
{
|
|
"PORT_TABLE:{{ interface['name'] }}": {
|
|
"speed": "{{ interface['speed'] }}"
|
|
},
|
|
"OP": "SET"
|
|
}{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
]
|