-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Laxmikant Chintakindi
authored and
Laxmikant Chintakindi
committed
Dec 9, 2024
1 parent
0cdd09f
commit cabcd45
Showing
3 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation/ip-name-server-groups.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{# | ||
Copyright (c) 2023-2024 Arista Networks, Inc. | ||
Use of this source code is governed by the Apache License 2.0 | ||
that can be found in the LICENSE file. | ||
#} | ||
{# doc - ip name server groups #} | ||
{% if ip_name_server_groups is arista.avd.defined %} | ||
|
||
### IP Name Server Groups | ||
|
||
#### IP Name Server Groups Summary | ||
{% for group in ip_name_server_groups | arista.avd.natural_sort("name") %} | ||
|
||
##### {{ group.name }} | ||
{% if group.dns_domain is arista.avd.defined %} | ||
|
||
DNS Domain : {{ group.dns_domain }} | ||
{% endif %} | ||
{% if group.ip_domain_list is arista.avd.defined %} | ||
|
||
IP Domain List : {{ group.ip_domain_list }} | ||
{% endif %} | ||
{% if group.name_servers is arista.avd.defined %} | ||
|
||
| IP Address | VRF | Priority | | ||
| ----------- | --- | -------- | | ||
{% for server in group.name_servers | arista.avd.natural_sort("ip_address") %} | ||
| {{ server.ip_address }} | {{ server.vrf | arista.avd.default('-') }} | {{ server.priority | arista.avd.default('-') }} | | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
#### IP Name Server Groups Device Configuration | ||
|
||
```eos | ||
{% include 'eos/ip-name-server-groups.j2' %} | ||
``` | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters