Sort list of users
parent
8db92eef18
commit
e9170ef741
|
|
@ -8,7 +8,7 @@ system {
|
|||
class sysadmin {
|
||||
permissions [ admin clear configure control firewall-control interface interface-control network reset rollback routing routing-control snmp snmp-control trace-control view view-configuration ];
|
||||
}
|
||||
{% for user, details in device['config_context']['users'].items() %}
|
||||
{% for user, details in device['config_context']['users']|dictsort %}
|
||||
user {{ user }} {
|
||||
uid 200{{ loop.index }};
|
||||
class {{ details['role'] }};
|
||||
|
|
|
|||
Loading…
Reference in New Issue