Skip to content

Commit

Permalink
Removing tests and correcting the sorting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxmikant Chintakindi authored and Laxmikant Chintakindi committed Aug 20, 2024
1 parent f8ced25 commit b25f013
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,11 @@ radius-server host 10.10.10.158 key 7 <removed>
| TACACS1 | tacacs+ | default | 10.10.10.249 |
| TACACS2 | tacacs+ | mgt | 192.168.10.157 |
| TACACS2 | tacacs+ | default | 10.10.10.248 |
| RADIUS2 | radius | mgt | 192.168.10.157 |
| RADIUS1 | radius | default | 192.168.10.157 |

#### AAA Server Groups Device Configuration

```eos
!
aaa group server radius RADIUS1
server 192.168.10.157
!
aaa group server radius RADIUS2
server 192.168.10.157 vrf mgt
!
aaa group server tacacs+ TACACS1
server 10.10.10.157 vrf mgt
server 10.10.10.249
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ tacacs-server host 10.10.10.158 key 7 071B245F5A
tacacs-server host 10.10.10.159 key 8a $kUVyoj7FVQ//yw9D2lbqjA==$kxxohBiofI46IX3pw18KYQ==$DOOM0l9uU4TrQt2kyA7XCKtjUA==
tacacs-server timeout 10
!
aaa group server radius RADIUS1
server 192.168.10.157
!
aaa group server radius RADIUS2
server 192.168.10.157 vrf mgt
!
aaa group server tacacs+ TACACS1
server 10.10.10.157 vrf mgt
server 10.10.10.249
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ aaa_server_groups:
- server: 192.168.10.157
vrf: mgt
- server: 10.10.10.248
- name: RADIUS2
type: radius
servers:
- server: 192.168.10.157
vrf: mgt
- name: RADIUS1
type: radius
servers:
- server: 192.168.10.157

## AAA Authentication
aaa_authentication:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
that can be found in the LICENSE file.
#}
{# eos - aaa server groups #}
{% for aaa_server_group in aaa_server_groups | arista.avd.natural_sort('type') | arista.avd.natural_sort('name') %}
{% for aaa_server_group in aaa_server_groups | arista.avd.natural_sort('name') | arista.avd.natural_sort('type') %}
{% if aaa_server_group.type is arista.avd.defined and aaa_server_group.name is arista.avd.defined %}
!
aaa group server {{ aaa_server_group.type }} {{ aaa_server_group.name }}
Expand Down

0 comments on commit b25f013

Please sign in to comment.