diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/cvx.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/cvx.md index 8d5f7e82645..be0a42ea99c 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/cvx.md +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/cvx.md @@ -48,6 +48,9 @@ interface Management1 ``` # CVX +| Peer Hosts | +| ---------- | +| 1.1.1.1, 2.2.2.2 | CVX is enabled diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/README.md b/ansible_collections/arista/avd/roles/eos_cli_config_gen/README.md index d00f28f8f95..889d949abfb 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/README.md +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/README.md @@ -330,6 +330,7 @@ cvx: password: < password > password_type: < 0 | 7 | 8a | default -> 7 > shutdown: < true | false > + peer_hosts: < IP address or hostname > ``` #### Enable Password diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/documentation/cvx.j2 b/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/documentation/cvx.j2 index 2f81c4daa5e..34699757284 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/documentation/cvx.j2 +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/documentation/cvx.j2 @@ -2,6 +2,12 @@ {% if cvx is arista.avd.defined %} # CVX +{% if cvx.peer_hosts is arista.avd.defined %} +| Peer Hosts | +| ---------- | +{% set peer_hosts = cvx.peer_hosts | arista.avd.natural_sort | join(', ') %} +{% endif %} +| {{ peer_hosts }} | {% if cvx.shutdown is arista.avd.defined(true) %} CVX is disabled