Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_cli_config_gen): Extend GRE span with payload support #4190

Merged
merged 27 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
90eb43c
Feat(eos_cli_config_gen): Extend GRESpan with payload support
Vibhu-gslab Jul 8, 2024
b2e1b5d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 8, 2024
3dc2c5a
fixing CI
Vibhu-gslab Jul 9, 2024
22bf892
addressing comments
Vibhu-gslab Jul 9, 2024
b0eb013
Update python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation…
Vibhu-gslab Jul 11, 2024
7454f67
fixing ci
Vibhu-gslab Jul 11, 2024
f3ffde4
Update python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/m…
Vibhu-gslab Jul 18, 2024
a2f756e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 18, 2024
8ee82b1
increasing coverage
Vibhu-gslab Jul 22, 2024
deaa27a
fixing PR
Vibhu-gslab Jul 22, 2024
da59d8c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 22, 2024
23fbe76
fixing ci
Vibhu-gslab Jul 22, 2024
b992425
fixing comments
Vibhu-gslab Jul 22, 2024
0074527
renaming files
Vibhu-gslab Jul 22, 2024
e789c34
fixing CI
Vibhu-gslab Jul 22, 2024
294c458
fixing comments
Vibhu-gslab Jul 23, 2024
48ba64a
changing file name
Vibhu-gslab Jul 23, 2024
59ddc8a
fixing file names in hosts.ini
Vibhu-gslab Jul 23, 2024
edc3132
fixing CI
Vibhu-gslab Jul 23, 2024
a1e640d
Update python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation…
Vibhu-gslab Jul 26, 2024
4a27bd6
running eos_cli_config_gen
Vibhu-gslab Jul 26, 2024
1a40912
rebaseing
Vibhu-gslab Aug 1, 2024
1684674
resolving conflicts
Vibhu-gslab Aug 19, 2024
5ec09a2
fixing CI
Vibhu-gslab Aug 19, 2024
0287b8f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 19, 2024
19cc66f
Merge branch 'devel' into monitor_session
MaheshGSLAB Aug 19, 2024
6a995aa
Merge branch 'devel' into monitor_session
ClausHolbechArista Aug 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# monitor-session-default-encapsulation-gre

## Table of Contents

- [Management](#management)
- [Management Interfaces](#management-interfaces)
- [Monitoring](#monitoring)
- [Monitor Sessions](#monitor-sessions)

## 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

### Monitor Sessions

#### Monitor Sessions Summary

##### Monitor Session Default Settings

| Settings | Values |
| -------- | ------ |
| Encapsulation GRE Payload | inner-packet |

#### Monitor Sessions Device Configuration

```eos
!
monitor session default encapsulation gre payload inner-packet
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
!RANCID-CONTENT-TYPE: arista
!
transceiver qsfp default-mode 4x10G
!
hostname monitor-session-default-encapsulation-gre
!
no enable password
no aaa root
!
interface Management1
description oob_management
vrf MGMT
ip address 10.73.255.122/24
!
monitor session default encapsulation gre payload inner-packet
!
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
monitor_session_default_encapsulation_gre:
payload: inner-packet
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ mlag-configuration
monitor-layer1
monitor-connectivity
monitor-sessions
monitor-session-default-encapsulation-gre
monitor-telemetry-influx
monitor-telemetry-postcard-policy
mpls
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
that can be found in the LICENSE file.
#}
{# doc - monitor sessions #}
{% if monitor_sessions is arista.avd.defined %}
{% if monitor_sessions is arista.avd.defined or monitor_session_default_encapsulation_gre is arista.avd.defined %}

### Monitor Sessions

Expand Down Expand Up @@ -54,10 +54,19 @@
{% endif %}
{% endif %}
{% endfor %}
{% if monitor_session_default_encapsulation_gre.payload is arista.avd.defined %}

##### Monitor Session Default Settings

| Settings | Values |
laxmikantchintakindi marked this conversation as resolved.
Show resolved Hide resolved
| -------- | ------ |
| Encapsulation GRE Payload | {{ monitor_session_default_encapsulation_gre.payload }} |
{% endif %}

#### Monitor Sessions Device Configuration

```eos
{% include 'eos/monitor-sessions.j2' %}
{% include 'eos/monitor-session-default-encapsulation-gre.j2' %}
```
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
or mcs_client is arista.avd.defined
or snmp_server is arista.avd.defined
or monitor_sessions is arista.avd.defined
or monitor_session_default_encapsulation_gre is arista.avd.defined
or tap_aggregation is arista.avd.defined
or sflow is arista.avd.defined
or hardware_counters is arista.avd.defined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
{% include 'eos/ipv6-hardware.j2' %}
{# Monitor Sessions #}
{% include 'eos/monitor-sessions.j2' %}
{% include 'eos/monitor-session-default-encapsulation-gre.j2' %}
{# qos #}
{% include 'eos/qos.j2' %}
{# eos - priority flow control #}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{#
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.
#}
{# eos - monitor session default #}
{% if monitor_session_default_encapsulation_gre.payload is arista.avd.defined %}
!
monitor session default encapsulation gre payload {{ monitor_session_default_encapsulation_gre.payload }}
{% endif %}
Loading
Loading