diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host1.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host1.md index a9979dd5970..cc723a80616 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host1.md +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host1.md @@ -11,6 +11,7 @@ - [System Control-Plane](#system-control-plane) - [Management SSH](#management-ssh) - [Management Tech-Support](#management-tech-support) + - [IP Client Source Interfaces](#ip-client-source-interfaces) - [CVX](#cvx) - [CVX Services](#cvx-services) - [CVX Device Configuration](#cvx-device-configuration) @@ -50,6 +51,7 @@ - [System Boot Device Configuration](#system-boot-device-configuration) - [Monitoring](#monitoring) - [Custom daemons](#custom-daemons) + - [Logging](#logging) - [MCS Client Summary](#mcs-client-summary) - [Monitor Sessions](#monitor-sessions) - [Tap Aggregation](#tap-aggregation) @@ -494,6 +496,47 @@ management tech-support exit ``` +### IP Client Source Interfaces + +| IP Client | VRF | Source Interface Name | +| --------- | --- | --------------------- | +| FTP | default | Ethernet10 | +| FTP | default | Loopback0 | +| FTP | MGMT | Management0 | +| HTTP | default | Loopback0 | +| HTTP | MGMT | Management0 | +| HTTP | default | Ethernet10 | +| SSH | default | Ethernet10 | +| SSH | default | Loopback0 | +| SSH | MGMT | Management0 | +| Telnet | default | Ethernet10 | +| Telnet | default | Loopback0 | +| Telnet | MGMT | Management0 | +| TFTP | default | Ethernet10 | +| TFTP | default | Loopback0 | +| TFTP | MGMT | Management0 | + +#### IP Client Source Interfaces Device Configuration + +```eos +! +ip ftp client source-interface Ethernet10 +ip ftp client source-interface Loopback0 vrf default +ip ftp client source-interface Management0 vrf MGMT +ip http client local-interface Loopback0 vrf default +ip http client local-interface Management0 vrf MGMT +ip http client local-interface Ethernet10 +ip ssh client source-interface Ethernet10 +ip ssh client source-interface Loopback0 vrf default +ip ssh client source-interface Management0 vrf MGMT +ip telnet client source-interface Ethernet10 +ip telnet client source-interface Loopback0 vrf default +ip telnet client source-interface Management0 vrf MGMT +ip tftp client source-interface Ethernet10 +ip tftp client source-interface Loopback0 vrf default +ip tftp client source-interface Management0 vrf MGMT + ``` + ## CVX | Peer Hosts | @@ -1221,6 +1264,93 @@ daemon random shutdown ``` +### Logging + +#### Logging Servers and Features Summary + +| Type | Level | +| -----| ----- | +| Console | errors | +| Buffer | warnings | +| Trap | disabled | +| Synchronous | critical | + +| Format Type | Setting | +| ----------- | ------- | +| Timestamp | traditional year timezone | +| Hostname | hostname | +| Sequence-numbers | false | +| RFC5424 | True | + +| VRF | Source Interface | +| --- | ---------------- | +| default | Loopback0 | +| mgt | Management0 | + +| VRF | Hosts | Ports | Protocol | +| --- | ----- | ----- | -------- | +| default | 20.20.20.7 | Default | UDP | +| default | 50.50.50.7 | 100, 200 | TCP | +| default | 60.60.60.7 | 100, 200 | UDP | +| default | 2001:db8::20:7 | Default | UDP | +| default | 2001:db8::50:7 | 100, 200 | TCP | +| default | 2001:db8::60:7 | 100, 200 | UDP | +| mgt | 10.10.10.7 | Default | UDP | +| mgt | 30.30.30.7 | 100, 200 | TCP | +| mgt | 40.40.40.7 | 300, 400 | UDP | +| mgt | 2001:db8::10:7 | Default | UDP | +| mgt | 2001:db8::30:7 | 100, 200 | TCP | +| mgt | 2001:db8::40:7 | 300, 400 | UDP | +| vrf_with_no_source_interface | 1.2.3.4 | Default | UDP | +| vrf_with_no_source_interface | 2001:db8::1:2:3:4 | Default | UDP | + +| Facility | Severity | +| -------- | -------- | +| AAA | warnings | +| ACL | critical | +| BGP | 0 | + +#### Logging Servers and Features Device Configuration + +```eos +! +logging event storm-control discards global +logging event storm-control discards interval 10 +! +logging event congestion-drops interval 10 +! +logging repeat-messages +logging buffered 1000000 warnings +no logging trap +logging console errors +logging synchronous level critical +logging host 20.20.20.7 +logging host 50.50.50.7 100 200 protocol tcp +logging host 60.60.60.7 100 200 +logging host 2001:db8::20:7 +logging host 2001:db8::50:7 100 200 protocol tcp +logging host 2001:db8::60:7 100 200 +logging vrf mgt host 10.10.10.7 +logging vrf mgt host 30.30.30.7 100 200 protocol tcp +logging vrf mgt host 40.40.40.7 300 400 +logging vrf mgt host 2001:db8::10:7 +logging vrf mgt host 2001:db8::30:7 100 200 protocol tcp +logging vrf mgt host 2001:db8::40:7 300 400 +logging vrf vrf_with_no_source_interface host 1.2.3.4 +logging vrf vrf_with_no_source_interface host 2001:db8::1:2:3:4 +logging format timestamp traditional year timezone +logging format rfc5424 +logging source-interface Loopback0 +logging vrf mgt source-interface Management0 +logging policy match match-list molecule discard +! +logging level AAA warnings +logging level ACL critical +logging level BGP 0 +! +no logging event link-status global +``` + ### MCS Client Summary MCS client is enabled diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host2.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host2.md index 7fa89280881..c5ad3df6800 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host2.md +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host2.md @@ -24,6 +24,7 @@ - [System Boot Settings](#system-boot-settings) - [System Boot Device Configuration](#system-boot-device-configuration) - [Monitoring](#monitoring) + - [Logging](#logging) - [Monitor Server Radius Summary](#monitor-server-radius-summary) - [Monitor Connectivity](#monitor-connectivity) - [Global Configuration](#global-configuration) @@ -299,6 +300,31 @@ dhcp relay ## Monitoring +### Logging + +#### Logging Servers and Features Summary + +| Type | Level | +| -----| ----- | +| Console | informational | +| Monitor | debugging | +| Buffer | - | + +**Syslog facility value:** syslog + +#### Logging Servers and Features Device Configuration + +```eos +! +no logging repeat-messages +logging buffered 64000 +logging console informational +logging monitor debugging +logging facility syslog +! +logging event link-status global +``` + ### Monitor Server Radius Summary #### Server Probe Settings @@ -501,17 +527,27 @@ queue-monitor length default threshold 100 | IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | | ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | -| Enabled | False | - | False | - | - | +| Disabled | False | - | False | - | - | | Querier Enabled | IP Address | Query Interval | Max Response Time | Last Member Query Interval | Last Member Query Count | Startup Query Interval | Startup Query Count | Version | | --------------- | ---------- | -------------- | ----------------- | -------------------------- | ----------------------- | ---------------------- | ------------------- | ------- | | False | - | - | - | - | - | - | - | - | +##### IP IGMP Snooping Vlan Summary + +| Vlan | IGMP Snooping | Fast Leave | Max Groups | Proxy | +| ---- | ------------- | ---------- | ---------- | ----- | +| 20 | False | - | - | - | +| 30 | False | - | - | - | + #### IP IGMP Snooping Device Configuration ```eos ! +no ip igmp snooping no ip igmp snooping fast-leave +no ip igmp snooping vlan 20 +no ip igmp snooping vlan 30 no ip igmp snooping querier ``` diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/igmp-snooping.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/igmp-snooping.md deleted file mode 100644 index 653cdbaeb30..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/igmp-snooping.md +++ /dev/null @@ -1,106 +0,0 @@ -# igmp-snooping - -## Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) -- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) - - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) - - [Internal VLAN Allocation Policy Device Configuration](#internal-vlan-allocation-policy-device-configuration) -- [VLANs](#vlans) - - [VLANs Summary](#vlans-summary) - - [VLANs Device Configuration](#vlans-device-configuration) -- [Multicast](#multicast) - - [IP IGMP Snooping](#ip-igmp-snooping) - -## Management - -### Management Interfaces - -#### Management Interfaces Summary - -##### IPv4 - -| Management Interface | Description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | OOB_MANAGEMENT | oob | MGMT | 10.73.255.122/24 | 10.73.255.2 | - -##### IPv6 - -| Management Interface | Description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | OOB_MANAGEMENT | oob | MGMT | - | - | - -#### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 -``` - -## Internal VLAN Allocation Policy - -### Internal VLAN Allocation Policy Summary - -| Policy Allocation | Range Beginning | Range Ending | -| ------------------| --------------- | ------------ | -| ascending | 1006 | 1199 | - -### Internal VLAN Allocation Policy Device Configuration - -```eos -! -vlan internal order ascending range 1006 1199 -``` - -## VLANs - -### VLANs Summary - -| VLAN ID | Name | Trunk Groups | -| ------- | ---- | ------------ | -| 110 | PR01-DMZ | - | -| 3010 | MLAG_iBGP_TENANT_A_PROJECT01 | LEAF_PEER_L3 | - -### VLANs Device Configuration - -```eos -! -vlan 110 - name PR01-DMZ -! -vlan 3010 - name MLAG_iBGP_TENANT_A_PROJECT01 - trunk group LEAF_PEER_L3 -``` - -## Multicast - -### IP IGMP Snooping - -#### IP IGMP Snooping Summary - -| IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | -| ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | -| Disabled | - | - | - | - | - | - -##### IP IGMP Snooping Vlan Summary - -| Vlan | IGMP Snooping | Fast Leave | Max Groups | Proxy | -| ---- | ------------- | ---------- | ---------- | ----- | -| 10 | True | - | - | - | -| 20 | False | - | - | - | -| 30 | False | - | - | - | - -#### IP IGMP Snooping Device Configuration - -```eos -! -no ip igmp snooping -ip igmp snooping vlan 10 -no ip igmp snooping vlan 20 -no ip igmp snooping vlan 30 -``` diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/ip-client-source-interfaces.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/ip-client-source-interfaces.md deleted file mode 100644 index e33a18d6ef3..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/ip-client-source-interfaces.md +++ /dev/null @@ -1,76 +0,0 @@ -# ip-client-source-interfaces - -## Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) - - [IP Client Source Interfaces](#ip-client-source-interfaces-1) - -## Management - -### Management Interfaces - -#### Management Interfaces Summary - -##### IPv4 - -| Management Interface | Description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | OOB_MANAGEMENT | oob | MGMT | 10.73.255.122/24 | 10.73.255.2 | - -##### IPv6 - -| Management Interface | Description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | OOB_MANAGEMENT | oob | MGMT | - | - | - -#### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 -``` - -### IP Client Source Interfaces - -| IP Client | VRF | Source Interface Name | -| --------- | --- | --------------------- | -| FTP | default | Ethernet10 | -| FTP | default | Loopback0 | -| FTP | MGMT | Management0 | -| HTTP | default | Loopback0 | -| HTTP | MGMT | Management0 | -| HTTP | default | Ethernet10 | -| SSH | default | Ethernet10 | -| SSH | default | Loopback0 | -| SSH | MGMT | Management0 | -| Telnet | default | Ethernet10 | -| Telnet | default | Loopback0 | -| Telnet | MGMT | Management0 | -| TFTP | default | Ethernet10 | -| TFTP | default | Loopback0 | -| TFTP | MGMT | Management0 | - -#### IP Client Source Interfaces Device Configuration - -```eos -! -ip ftp client source-interface Ethernet10 -ip ftp client source-interface Loopback0 vrf default -ip ftp client source-interface Management0 vrf MGMT -ip http client local-interface Loopback0 vrf default -ip http client local-interface Management0 vrf MGMT -ip http client local-interface Ethernet10 -ip ssh client source-interface Ethernet10 -ip ssh client source-interface Loopback0 vrf default -ip ssh client source-interface Management0 vrf MGMT -ip telnet client source-interface Ethernet10 -ip telnet client source-interface Loopback0 vrf default -ip telnet client source-interface Management0 vrf MGMT -ip tftp client source-interface Ethernet10 -ip tftp client source-interface Loopback0 vrf default -ip tftp client source-interface Management0 vrf MGMT - ``` diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging-match-list.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging-match-list.md deleted file mode 100644 index 654d6c48612..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging-match-list.md +++ /dev/null @@ -1,56 +0,0 @@ -# logging-match-list - -## Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) -- [Monitoring](#monitoring) - - [Logging](#logging) - -## Management - -### Management Interfaces - -#### Management Interfaces Summary - -##### IPv4 - -| Management Interface | Description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | OOB_MANAGEMENT | oob | MGMT | 10.73.255.122/24 | 10.73.255.2 | - -##### IPv6 - -| Management Interface | Description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | OOB_MANAGEMENT | oob | MGMT | - | - | - -#### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 -``` - -## Monitoring - -### Logging - -#### Logging Servers and Features Summary - -| Type | Level | -| -----| ----- | -| Console | informational | -| Monitor | debugging | - -#### Logging Servers and Features Device Configuration - -```eos -! -logging console informational -logging monitor debugging -logging policy match match-list molecule discard -``` diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging-minimal.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging-minimal.md deleted file mode 100644 index 744fc471f35..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging-minimal.md +++ /dev/null @@ -1,63 +0,0 @@ -# logging-minimal - -## Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) -- [Monitoring](#monitoring) - - [Logging](#logging) - -## Management - -### Management Interfaces - -#### Management Interfaces Summary - -##### IPv4 - -| Management Interface | Description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | OOB_MANAGEMENT | oob | MGMT | 10.73.255.122/24 | 10.73.255.2 | - -##### IPv6 - -| Management Interface | Description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | OOB_MANAGEMENT | oob | MGMT | - | - | - -#### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 -``` - -## Monitoring - -### Logging - -#### Logging Servers and Features Summary - -| Type | Level | -| -----| ----- | -| Console | informational | -| Monitor | debugging | -| Buffer | - | - -**Syslog facility value:** syslog - -#### Logging Servers and Features Device Configuration - -```eos -! -no logging repeat-messages -logging buffered 64000 -logging console informational -logging monitor debugging -logging facility syslog -! -logging event link-status global -``` diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging.md deleted file mode 100644 index 775a2f4cbe0..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/logging.md +++ /dev/null @@ -1,124 +0,0 @@ -# logging - -## Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) -- [Monitoring](#monitoring) - - [Logging](#logging-1) - -## Management - -### Management Interfaces - -#### Management Interfaces Summary - -##### IPv4 - -| Management Interface | Description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | OOB_MANAGEMENT | oob | MGMT | 10.73.255.122/24 | 10.73.255.2 | - -##### IPv6 - -| Management Interface | Description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | OOB_MANAGEMENT | oob | MGMT | - | - | - -#### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 -``` - -## Monitoring - -### Logging - -#### Logging Servers and Features Summary - -| Type | Level | -| -----| ----- | -| Console | errors | -| Buffer | warnings | -| Trap | disabled | -| Synchronous | critical | - -| Format Type | Setting | -| ----------- | ------- | -| Timestamp | traditional year timezone | -| Hostname | hostname | -| Sequence-numbers | false | -| RFC5424 | True | - -| VRF | Source Interface | -| --- | ---------------- | -| default | Loopback0 | -| mgt | Management0 | - -| VRF | Hosts | Ports | Protocol | -| --- | ----- | ----- | -------- | -| default | 20.20.20.7 | Default | UDP | -| default | 50.50.50.7 | 100, 200 | TCP | -| default | 60.60.60.7 | 100, 200 | UDP | -| default | 2001:db8::20:7 | Default | UDP | -| default | 2001:db8::50:7 | 100, 200 | TCP | -| default | 2001:db8::60:7 | 100, 200 | UDP | -| mgt | 10.10.10.7 | Default | UDP | -| mgt | 30.30.30.7 | 100, 200 | TCP | -| mgt | 40.40.40.7 | 300, 400 | UDP | -| mgt | 2001:db8::10:7 | Default | UDP | -| mgt | 2001:db8::30:7 | 100, 200 | TCP | -| mgt | 2001:db8::40:7 | 300, 400 | UDP | -| vrf_with_no_source_interface | 1.2.3.4 | Default | UDP | -| vrf_with_no_source_interface | 2001:db8::1:2:3:4 | Default | UDP | - -| Facility | Severity | -| -------- | -------- | -| AAA | warnings | -| ACL | critical | -| BGP | 0 | - -#### Logging Servers and Features Device Configuration - -```eos -! -logging event storm-control discards global -logging event storm-control discards interval 10 -! -logging event congestion-drops interval 10 -! -logging repeat-messages -logging buffered 1000000 warnings -no logging trap -logging console errors -logging synchronous level critical -logging host 20.20.20.7 -logging host 50.50.50.7 100 200 protocol tcp -logging host 60.60.60.7 100 200 -logging host 2001:db8::20:7 -logging host 2001:db8::50:7 100 200 protocol tcp -logging host 2001:db8::60:7 100 200 -logging vrf mgt host 10.10.10.7 -logging vrf mgt host 30.30.30.7 100 200 protocol tcp -logging vrf mgt host 40.40.40.7 300 400 -logging vrf mgt host 2001:db8::10:7 -logging vrf mgt host 2001:db8::30:7 100 200 protocol tcp -logging vrf mgt host 2001:db8::40:7 300 400 -logging vrf vrf_with_no_source_interface host 1.2.3.4 -logging vrf vrf_with_no_source_interface host 2001:db8::1:2:3:4 -logging format timestamp traditional year timezone -logging format rfc5424 -logging source-interface Loopback0 -logging vrf mgt source-interface Management0 -! -logging level AAA warnings -logging level ACL critical -logging level BGP 0 -! -no logging event link-status global -``` diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host1.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host1.cfg index 3ff39986fad..7f0ea8a15e5 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host1.cfg +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host1.cfg @@ -29,6 +29,9 @@ terminal width 1000 alias wr copy running-config startup-config alias siib show ip interface brief +! +logging event storm-control discards global +logging event storm-control discards interval 10 ! daemon ocprometheus exec /usr/bin/ocprometheus -config /usr/bin/ocprometheus.yml -addr localhost:6042 @@ -190,6 +193,8 @@ ip igmp snooping proxy ip igmp snooping vlan 23 proxy no ip igmp snooping vlan 25 proxy ! +logging event congestion-drops interval 10 +! load-interval default 25 ! service routing protocols model multi-agent @@ -216,6 +221,37 @@ link tracking group EVPN_MH_ES1 recovery delay 500 link tracking group EVPN_MH_ES2 ! +logging repeat-messages +logging buffered 1000000 warnings +no logging trap +logging console errors +logging synchronous level critical +logging host 20.20.20.7 +logging host 50.50.50.7 100 200 protocol tcp +logging host 60.60.60.7 100 200 +logging host 2001:db8::20:7 +logging host 2001:db8::50:7 100 200 protocol tcp +logging host 2001:db8::60:7 100 200 +logging vrf mgt host 10.10.10.7 +logging vrf mgt host 30.30.30.7 100 200 protocol tcp +logging vrf mgt host 40.40.40.7 300 400 +logging vrf mgt host 2001:db8::10:7 +logging vrf mgt host 2001:db8::30:7 100 200 protocol tcp +logging vrf mgt host 2001:db8::40:7 300 400 +logging vrf vrf_with_no_source_interface host 1.2.3.4 +logging vrf vrf_with_no_source_interface host 2001:db8::1:2:3:4 +logging format timestamp traditional year timezone +logging format rfc5424 +logging source-interface Loopback0 +logging vrf mgt source-interface Management0 +logging policy match match-list molecule discard +! +logging level AAA warnings +logging level ACL critical +logging level BGP 0 +! +no logging event link-status global +! match-list input string molecule 10 match regex ^.*MOLECULE.*$ 20 match regex ^.*TESTING.*$ @@ -3441,6 +3477,22 @@ ip nat synchronization port-range 1024 65535 port-range split disabled ! +ip ftp client source-interface Ethernet10 +ip ftp client source-interface Loopback0 vrf default +ip ftp client source-interface Management0 vrf MGMT +ip http client local-interface Loopback0 vrf default +ip http client local-interface Management0 vrf MGMT +ip http client local-interface Ethernet10 +ip ssh client source-interface Ethernet10 +ip ssh client source-interface Loopback0 vrf default +ip ssh client source-interface Management0 vrf MGMT +ip telnet client source-interface Ethernet10 +ip telnet client source-interface Loopback0 vrf default +ip telnet client source-interface Management0 vrf MGMT +ip tftp client source-interface Ethernet10 +ip tftp client source-interface Loopback0 vrf default +ip tftp client source-interface Management0 vrf MGMT +! ntp authentication-key 1 md5 7 044F0E151B ntp authentication-key 2 md5 7 044F0E151B ntp authentication-key 3 sha1 8a $BYk2Sjahe+D9T7uDgIItSA==$JTw5JOAPcYEo0O2hsvsxFQ==$C7wmpXOo diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host2.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host2.cfg index 41f8a66b126..c80f2fcebce 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host2.cfg +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/host2.cfg @@ -12,7 +12,10 @@ ip dhcp relay information option ! ip dhcp snooping ! +no ip igmp snooping no ip igmp snooping fast-leave +no ip igmp snooping vlan 20 +no ip igmp snooping vlan 30 no ip igmp snooping querier ! service routing protocols model ribd @@ -23,6 +26,14 @@ queue-monitor length no queue-monitor length notifying queue-monitor length default threshold 100 ! +no logging repeat-messages +logging buffered 64000 +logging console informational +logging monitor debugging +logging facility syslog +! +logging event link-status global +! monitor server radius probe method status-server ! diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/igmp-snooping.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/igmp-snooping.cfg deleted file mode 100644 index 7630bb0703f..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/igmp-snooping.cfg +++ /dev/null @@ -1,19 +0,0 @@ -! -vlan internal order ascending range 1006 1199 -! -no ip igmp snooping -ip igmp snooping vlan 10 -no ip igmp snooping vlan 20 -no ip igmp snooping vlan 30 -! -vlan 110 - name PR01-DMZ -! -vlan 3010 - name MLAG_iBGP_TENANT_A_PROJECT01 - trunk group LEAF_PEER_L3 -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/ip-client-source-interfaces.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/ip-client-source-interfaces.cfg deleted file mode 100644 index 818ee744384..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/ip-client-source-interfaces.cfg +++ /dev/null @@ -1,21 +0,0 @@ -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 -! -ip ftp client source-interface Ethernet10 -ip ftp client source-interface Loopback0 vrf default -ip ftp client source-interface Management0 vrf MGMT -ip http client local-interface Loopback0 vrf default -ip http client local-interface Management0 vrf MGMT -ip http client local-interface Ethernet10 -ip ssh client source-interface Ethernet10 -ip ssh client source-interface Loopback0 vrf default -ip ssh client source-interface Management0 vrf MGMT -ip telnet client source-interface Ethernet10 -ip telnet client source-interface Loopback0 vrf default -ip telnet client source-interface Management0 vrf MGMT -ip tftp client source-interface Ethernet10 -ip tftp client source-interface Loopback0 vrf default -ip tftp client source-interface Management0 vrf MGMT diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging-match-list.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging-match-list.cfg deleted file mode 100644 index 161111b5346..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging-match-list.cfg +++ /dev/null @@ -1,9 +0,0 @@ -! -logging console informational -logging monitor debugging -logging policy match match-list molecule discard -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging-minimal.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging-minimal.cfg deleted file mode 100644 index f3f3e2ae51d..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging-minimal.cfg +++ /dev/null @@ -1,13 +0,0 @@ -! -no logging repeat-messages -logging buffered 64000 -logging console informational -logging monitor debugging -logging facility syslog -! -logging event link-status global -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging.cfg deleted file mode 100644 index 1110a0650b8..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/logging.cfg +++ /dev/null @@ -1,40 +0,0 @@ -! -logging event storm-control discards global -logging event storm-control discards interval 10 -! -logging event congestion-drops interval 10 -! -logging repeat-messages -logging buffered 1000000 warnings -no logging trap -logging console errors -logging synchronous level critical -logging host 20.20.20.7 -logging host 50.50.50.7 100 200 protocol tcp -logging host 60.60.60.7 100 200 -logging host 2001:db8::20:7 -logging host 2001:db8::50:7 100 200 protocol tcp -logging host 2001:db8::60:7 100 200 -logging vrf mgt host 10.10.10.7 -logging vrf mgt host 30.30.30.7 100 200 protocol tcp -logging vrf mgt host 40.40.40.7 300 400 -logging vrf mgt host 2001:db8::10:7 -logging vrf mgt host 2001:db8::30:7 100 200 protocol tcp -logging vrf mgt host 2001:db8::40:7 300 400 -logging vrf vrf_with_no_source_interface host 1.2.3.4 -logging vrf vrf_with_no_source_interface host 2001:db8::1:2:3:4 -logging format timestamp traditional year timezone -logging format rfc5424 -logging source-interface Loopback0 -logging vrf mgt source-interface Management0 -! -logging level AAA warnings -logging level ACL critical -logging level BGP 0 -! -no logging event link-status global -! -interface Management1 - description OOB_MANAGEMENT - vrf MGMT - ip address 10.73.255.122/24 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-ftp-client-source-interfaces.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-ftp-client-source-interfaces.yml new file mode 100644 index 00000000000..f2b43bf656c --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-ftp-client-source-interfaces.yml @@ -0,0 +1,9 @@ +--- +## IP FTP CLIENT SOURCE INTERFACES ## + +ip_ftp_client_source_interfaces: + - name: Loopback0 + vrf: default + - name: Management0 + vrf: MGMT + - name: Ethernet10 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-http-client-source-interfaces.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-http-client-source-interfaces.yml new file mode 100644 index 00000000000..f0ef9e14edc --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-http-client-source-interfaces.yml @@ -0,0 +1,10 @@ +--- +### IP HTTP Client Source Interface ### + +ip_http_client_source_interfaces: + - vrf: default + name: Loopback0 + - vrf: MGMT + name: Management0 + - vrf: + name: Ethernet10 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-igmp-snooping-enable.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-igmp-snooping.yml similarity index 100% rename from ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-igmp-snooping-enable.yml rename to ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-igmp-snooping.yml diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-ssh-client-source-interfaces.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-ssh-client-source-interfaces.yml new file mode 100644 index 00000000000..ed82a216fe7 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-ssh-client-source-interfaces.yml @@ -0,0 +1,9 @@ +--- +### IP SSH Client Source Interface ### + +ip_ssh_client_source_interfaces: + - vrf: default + name: Loopback0 + - vrf: MGMT + name: manaGement0 + - name: ethernet10 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-telnet-client-source-interfaces.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-telnet-client-source-interfaces.yml new file mode 100644 index 00000000000..b20fef2cc19 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-telnet-client-source-interfaces.yml @@ -0,0 +1,9 @@ +--- +## IP TELNET CLIENT SOURCE INTERFACES ## + +ip_telnet_client_source_interfaces: + - name: Loopback0 + vrf: default + - name: Management0 + vrf: MGMT + - name: Ethernet10 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-tftp-client-source-interfaces.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-tftp-client-source-interfaces.yml new file mode 100644 index 00000000000..15a7991b385 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/ip-tftp-client-source-interfaces.yml @@ -0,0 +1,9 @@ +--- +## IP TFTP CLIENT SOURCE INTERFACES ## + +ip_tftp_client_source_interfaces: + - name: Loopback0 + vrf: default + - name: Management0 + vrf: MGMT + - name: Ethernet10 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/logging.yml similarity index 95% rename from ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging.yml rename to ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/logging.yml index 26d61019fa8..cedef27c206 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging.yml +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/logging.yml @@ -81,3 +81,8 @@ logging: severity: warnings - facility: ACL severity: critical + policy: + match: + match_lists: + - name: molecule + action: discard diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/ip-igmp-snooping-enable.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/ip-igmp-snooping-enable.yml deleted file mode 100644 index dbb3d5951f2..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/ip-igmp-snooping-enable.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -### IGMP Snooping Enabled - -ip_igmp_snooping: - fast_leave: false - querier: - enabled: false - proxy: false diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/ip-igmp-snooping.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/ip-igmp-snooping.yml new file mode 100644 index 00000000000..46c14afc3e4 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/ip-igmp-snooping.yml @@ -0,0 +1,14 @@ +--- +### IGMP Snooping Disabled + +ip_igmp_snooping: + globally_enabled: false + fast_leave: false + querier: + enabled: false + proxy: false + vlans: + - id: 20 + enabled: false + - id: 30 + enabled: false diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging-minimal.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/logging.yml similarity index 100% rename from ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging-minimal.yml rename to ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host2/logging.yml diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/igmp-snooping.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/igmp-snooping.yml deleted file mode 100644 index 56f6bc67452..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/igmp-snooping.yml +++ /dev/null @@ -1,28 +0,0 @@ -### IGMP snooping - -ip_igmp_snooping: - globally_enabled: false - vlans: - - id: 10 - enabled: true - - id: 20 - enabled: false - - id: 30 - enabled: false - -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 - -### VLANs ### -vlans: - - id: 110 - tenant: Tenant_A - name: PR01-DMZ - - id: 3010 - tenant: Tenant_A - name: MLAG_iBGP_TENANT_A_PROJECT01 - trunk_groups: - - LEAF_PEER_L3 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/ip-client-source-interfaces.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/ip-client-source-interfaces.yml deleted file mode 100644 index 6b0e09f72c9..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/ip-client-source-interfaces.yml +++ /dev/null @@ -1,45 +0,0 @@ -## IP FTP CLIENT SOURCE INTERFACES ## - -ip_ftp_client_source_interfaces: - - name: Loopback0 - vrf: default - - name: Management0 - vrf: MGMT - - name: Ethernet10 - -### IP HTTP Client Source Interface ### - -ip_http_client_source_interfaces: - - vrf: default - name: Loopback0 - - vrf: MGMT - name: Management0 - - vrf: - name: Ethernet10 - -### IP SSH Client Source Interface ### - -ip_ssh_client_source_interfaces: - - vrf: default - name: Loopback0 - - vrf: MGMT - name: manaGement0 - - name: ethernet10 - -## IP TELNET CLIENT SOURCE INTERFACES ## - -ip_telnet_client_source_interfaces: - - name: Loopback0 - vrf: default - - name: Management0 - vrf: MGMT - - name: Ethernet10 - -## IP TFTP CLIENT SOURCE INTERFACES ## - -ip_tftp_client_source_interfaces: - - name: Loopback0 - vrf: default - - name: Management0 - vrf: MGMT - - name: Ethernet10 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging-match-list.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging-match-list.yml deleted file mode 100644 index 03315d7e8c6..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/logging-match-list.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -logging: - console: informational - monitor: debugging - policy: - match: - match_lists: - - name: molecule - action: discard diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/hosts.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/hosts.yml index 330141633a1..cb6cf6b13d5 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/hosts.yml +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/hosts.yml @@ -23,16 +23,11 @@ test_hosts: hardware-counter: hardware: hide-passwords: - igmp-snooping: interface-defaults: ip-routing: ip-routing-fib: - ip-client-source-interfaces: l2-protocol-forwarding: lldp: - logging-match-list: - logging-minimal: - logging: management-accounts: management-api-http: management-cvx: