diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-v4-evpn.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-v4-evpn.md index 051e9e0205a..84e9bc95cf0 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-v4-evpn.md +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-v4-evpn.md @@ -217,6 +217,7 @@ router bgp 65101 neighbor STARDARD-COMMUNITY send-community standard neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER neighbor 172.31.255.0 peer group IPv4-UNDERLAY-PEERS + neighbor 172.31.255.0 password 7 neighbor 172.31.255.2 peer group IPv4-UNDERLAY-PEERS neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-v4-evpn.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-v4-evpn.cfg index 85c0ec368cd..ab1ac634538 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-v4-evpn.cfg +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-v4-evpn.cfg @@ -55,6 +55,7 @@ router bgp 65101 neighbor STARDARD-COMMUNITY send-community standard neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER neighbor 172.31.255.0 peer group IPv4-UNDERLAY-PEERS + neighbor 172.31.255.0 password 7 test1234 neighbor 172.31.255.2 peer group IPv4-UNDERLAY-PEERS neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-v4-evpn.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-v4-evpn.yml index b593f5b5aa4..03a14b9dbb9 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-v4-evpn.yml +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-v4-evpn.yml @@ -61,6 +61,7 @@ router_bgp: neighbors: - ip_address: 172.31.255.0 peer_group: IPv4-UNDERLAY-PEERS + password: "test1234" - ip_address: 172.31.255.2 peer_group: IPv4-UNDERLAY-PEERS - ip_address: 192.168.255.1 diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/router-bgp.md b/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/router-bgp.md index 3d66802b2ac..66bfcf01343 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/router-bgp.md +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/router-bgp.md @@ -105,6 +105,7 @@ | [        prepend_own_disabled](## "router_bgp.neighbors.[].as_path.prepend_own_disabled") | Boolean | | | | Disable prepending own AS number to AS path | | [      description](## "router_bgp.neighbors.[].description") | String | | | | | | [      route_reflector_client](## "router_bgp.neighbors.[].route_reflector_client") | Boolean | | | | | + | [      password](## "router_bgp.neighbors.[].password") | String | | | | | | [      passive](## "router_bgp.neighbors.[].passive") | Boolean | | | | | | [      shutdown](## "router_bgp.neighbors.[].shutdown") | Boolean | | | | | | [      update_source](## "router_bgp.neighbors.[].update_source") | String | | | | Source Interface | @@ -800,6 +801,7 @@ prepend_own_disabled: description: route_reflector_client: + password: passive: shutdown: update_source: diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json index 1b9811a229d..13481bd47a2 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.jsonschema.json @@ -14597,6 +14597,10 @@ "type": "boolean", "title": "Route Reflector Client" }, + "password": { + "type": "string", + "title": "Password" + }, "passive": { "type": "boolean", "title": "Passive" diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml index 7a563fb87da..b74bf8e009c 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/eos_cli_config_gen.schema.yml @@ -8621,6 +8621,8 @@ keys: type: str route_reflector_client: type: bool + password: + type: str passive: type: bool shutdown: diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/router_bgp.schema.yml b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/router_bgp.schema.yml index 59c5ae1139a..9cb2afe6335 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/router_bgp.schema.yml +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/schemas/schema_fragments/router_bgp.schema.yml @@ -373,6 +373,8 @@ keys: type: str route_reflector_client: type: bool + password: + type: str passive: type: bool shutdown: diff --git a/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/router-bgp.j2 b/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/router-bgp.j2 index e09fa7af875..3e5da227419 100644 --- a/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/router-bgp.j2 +++ b/ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/router-bgp.j2 @@ -312,7 +312,7 @@ router bgp {{ router_bgp.as }} {{ neighbor_rib_in_pre_policy_retain_cli }} {% endif %} {% if neighbor.password is arista.avd.defined %} - neighbor {{ neighbor.ip_address }} password 7 {{ neighbor.password | arista.avd.hide_passwords(hide_passwords) }} + neighbor {{ neighbor.ip_address }} password 7 {{ neighbor.password | arista.avd.hide_passwords(hide_passwords) }} {% endif %} {% if neighbor.passive is arista.avd.defined(true) %} neighbor {{ neighbor.ip_address }} passive