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

TUN-1.3 Interface based IPv4 GRE Encapsulation #2005

Open
wants to merge 102 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
43e1a01
TUN-1.3
charantejag504 Aug 11, 2023
7af34d7
fix static analysis errors
charantejag504 Aug 11, 2023
e5591c3
update
charantejag504 Aug 11, 2023
de70fde
update
charantejag504 Aug 15, 2023
fbd278a
Merge branch 'main' into TUN13
charantejag504 Aug 15, 2023
b6a89d6
update
charantejag504 Aug 17, 2023
351c0cb
Merge branch 'main' into TUN13
charantejag504 Aug 17, 2023
4effcdc
update
charantejag504 Aug 17, 2023
d060cc4
Merge branch 'main' into TUN13
charantejag504 Aug 17, 2023
2551837
update
charantejag504 Aug 17, 2023
0eefdaa
Merge branch 'TUN13' of https://github.com/charantejag504/featureprof…
charantejag504 Aug 17, 2023
8c1f348
update
charantejag504 Aug 17, 2023
485bc38
update
charantejag504 Aug 17, 2023
9a986b3
static analysis
charantejag504 Aug 17, 2023
02ab905
Merge branch 'main' into TUN13
charantejag504 Aug 17, 2023
ac69ce1
update proto files
charantejag504 Aug 18, 2023
7d5c6dc
Merge branch 'main' into TUN13
charantejag504 Aug 18, 2023
7fd7275
resolve conflict
charantejag504 Aug 18, 2023
2543642
Merge branch 'main' into TUN13
charantejag504 Aug 18, 2023
3d6a722
Update tunnel_interface_based_ipv4_gre_encapsulation_test.go
mohanasm Sep 5, 2023
0a7e185
resolving conflicts because of new deviations
charantejag504 Sep 8, 2023
5e1454e
Merge branch 'main' into TUN13
charantejag504 Sep 8, 2023
1308a5a
fix static error
charantejag504 Sep 8, 2023
da89c1e
Merge branch 'TUN13' of https://github.com/charantejag504/featureprof…
charantejag504 Sep 8, 2023
dc8ad0d
fix static error
charantejag504 Sep 8, 2023
90f77d0
update
charantejag504 Sep 8, 2023
0ebb3ab
fix README
charantejag504 Sep 8, 2023
e4c0853
resolve conflicts
charantejag504 Sep 11, 2023
9e51c64
Merge branch 'main' into TUN13
charantejag504 Sep 11, 2023
0395145
Merge branch 'main' into TUN13
charantejag504 Sep 11, 2023
ea94e38
address comment
charantejag504 Sep 12, 2023
f1ac4a3
Merge branch 'TUN13' of https://github.com/charantejag504/featureprof…
charantejag504 Sep 12, 2023
b53364d
Merge branch 'main' into TUN13
charantejag504 Sep 12, 2023
55b30d0
fixing formatting issues
charantejag504 Sep 12, 2023
ee1b619
Merge branch 'TUN13' of https://github.com/charantejag504/featureprof…
charantejag504 Sep 12, 2023
eb91c4c
fix
charantejag504 Sep 12, 2023
0e8b020
Update metadata.textproto
mohanasm Sep 14, 2023
489f077
address comments
charantejag504 Sep 21, 2023
fb24b6e
address comments
charantejag504 Sep 27, 2023
61f56fb
Merge branch 'main' into TUN13
charantejag504 Sep 27, 2023
610e617
update
charantejag504 Sep 27, 2023
7e72463
Merge branch 'TUN13' of https://github.com/charantejag504/featureprof…
charantejag504 Sep 27, 2023
f055ece
update
charantejag504 Sep 27, 2023
44c4941
Merge branch 'main' into TUN13
charantejag504 Oct 4, 2023
c176948
update
charantejag504 Oct 4, 2023
5807fc7
update
charantejag504 Oct 4, 2023
a517a8c
Merge branch 'main' into TUN13
charantejag504 Oct 4, 2023
c5de68e
Merge branch 'main' into TUN13
charantejag504 Oct 4, 2023
03807a9
Merge branch 'main' into TUN13
arulkumarsekar Oct 5, 2023
9017613
Merge branch 'main' into TUN13
arulkumarsekar Oct 5, 2023
48cb51e
Merge branch 'main' into TUN13
charantejag504 Oct 6, 2023
8fe5b7b
addressed latest comments
charantejag504 Oct 6, 2023
7ae8bc2
Merge branch 'main' into TUN13
charantejag504 Oct 6, 2023
05b7862
update
charantejag504 Oct 6, 2023
2c6c6eb
Merge branch 'TUN13' of https://github.com/charantejag504/featureprof…
charantejag504 Oct 6, 2023
2f93569
Merge branch 'main' into TUN13
charantejag504 Oct 6, 2023
244fed4
resolve conflicts
charantejag504 Oct 10, 2023
6184cb8
Merge branch 'main' into TUN13
charantejag504 Oct 10, 2023
a4a899a
resolve conflicts
charantejag504 Oct 14, 2023
79f6dfe
Merge branch 'main' into TUN13
charantejag504 Oct 14, 2023
3ce7dd1
Merge branch 'main' into TUN13
arulkumarsekar Oct 16, 2023
f7f99a2
Merge branch 'main' into TUN13
arulkumarsekar Oct 17, 2023
c6138e2
Merge branch 'main' into TUN13
arulkumarsekar Oct 17, 2023
2b35411
resolve conflict
charantejag504 Oct 17, 2023
49abc35
Merge branch 'main' into TUN13
charantejag504 Oct 17, 2023
8564167
resolve conflict
charantejag504 Oct 19, 2023
0cd0058
Merge branch 'main' into TUN13
charantejag504 Oct 19, 2023
05afc99
update
charantejag504 Oct 19, 2023
f4fb317
update
charantejag504 Oct 19, 2023
96d8134
Merge branch 'main' into TUN13
charantejag504 Oct 20, 2023
034bed0
Merge branch 'main' into TUN13
charantejag504 Oct 23, 2023
8fa0ade
Merge branch 'main' into TUN13
charantejag504 Oct 23, 2023
b505923
Merge branch 'main' into TUN13
charantejag504 Oct 24, 2023
15ce71b
Merge branch 'main' into TUN13
arulkumarsekar Dec 19, 2023
4c7af78
Merge branch 'main' into TUN13
arulkumarsekar Dec 20, 2023
f10a1aa
Merge branch 'main' into TUN13
arulkumarsekar Jan 3, 2024
28f68f1
Merge branch 'main' into TUN13
charantejag504 Mar 6, 2024
c344256
Merge branch 'main' into TUN13
charantejag504 Mar 7, 2024
25ffdb3
Merge branch 'main' into TUN13
charantejag504 Apr 24, 2024
90940fc
Merge branch 'main' into TUN13
charantejag504 Apr 29, 2024
2cd3861
Merge branch 'main' into TUN13
charantejag504 Apr 29, 2024
e6e8f0f
Merge branch 'main' into TUN13
charantejag504 Jun 5, 2024
3297fa6
update
charantejag504 Jun 11, 2024
f3915ac
Merge branch 'main' into TUN13
charantejag504 Jun 17, 2024
1a0fbf9
Merge branch 'main' into TUN13
charantejag504 Oct 11, 2024
6b2125e
Merge branch 'main' into TUN13
charantejag504 Oct 16, 2024
fff43c7
Merge branch 'main' into TUN13
charantejag504 Jan 6, 2025
9165c06
Merge branch 'main' into TUN13
charantejag504 Jan 6, 2025
255c12a
address comments
charantejag504 Jan 7, 2025
3b5452c
update
charantejag504 Jan 7, 2025
d18aa7f
update
charantejag504 Jan 7, 2025
624f17a
update
charantejag504 Jan 8, 2025
f231b4c
Merge branch 'main' into TUN13
charantejag504 Jan 8, 2025
e33682e
Merge branch 'main' into TUN13
charantejag504 Jan 9, 2025
7fce84f
Merge branch 'main' into TUN13
charantejag504 Jan 10, 2025
2a95026
Merge branch 'main' into TUN13
charantejag504 Jan 13, 2025
9556b84
update
charantejag504 Jan 15, 2025
e61766f
Merge branch 'TUN13' of https://github.com/charantejag504/featureprof…
charantejag504 Jan 15, 2025
62a615a
Merge branch 'main' into TUN13
charantejag504 Jan 15, 2025
7939504
Merge branch 'main' into TUN13
charantejag504 Jan 16, 2025
6ad3510
Merge branch 'main' into TUN13
charantejag504 Jan 19, 2025
7f98f99
Merge branch 'main' into TUN13
charantejag504 Jan 23, 2025
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,84 @@
# TUN-1.3: Interface based IPv4 GRE Encapsulation

## Summary

Validate Interface based Ipv4 GRE Tunnel Config.

## Procedure
charantejag504 marked this conversation as resolved.
Show resolved Hide resolved

- Validate the GRE configuration
- GRE Tunnel interfaces configuration options
- Tunnel source
- Tunnel source should be able to configure with unnumbered interface address
- Tunnel Destination
- Directly on Tunnel interface or Tunnel Group
- Configure such 2000 tunnel interfaces
- Configure static route with IPv4 NH pointing to Tunnel interfaces
- Send 1000 IPv4 flows from tester on ATE-PORT1 connected to DUT-PORT1
- Enable the packet capture on ATE ingress port to verify the GRE header of encapped traffic
- Verify the tunnel interfaces counters to confirm the traffic encapsulation
- After encapsulation, traffic should be load balanced/hash to all available L3 ECMP or LAG or combination of both features
- Validate system for:
- TODO: Health-1.1
- TODO: No feature related error or drop counters incrementing, discussion with vendors required to highlight additional fields to monitor based on implementation and architecture

## Config Parameter coverage

- Prefix: wbb://software/interfaces/tunnel/
- Parameters:
- gre/
- gre/decap-group/
- gre/dest/
- gre/dest/address/
- gre/dest/address/ipv4/
- gre/dest/nexthop-group/
- gre/source/
- gre/source/address/
- gre/source/address/ipv4/
- gre/source/interface/
- Prefix:
- wbb://software/routing/nexthop-group/
- wbb://software/routing/nexthop-group/gre/

- Prefix:
- wbb://software/routing/static/
- Parameters:
- ipv4/
- ipv4/admin-dist/
- ipv4/nexthop/
- ipv4/nexthop/null/

## Telemetry Parameter coverage

- Prefix:
- wbb://software/interfaces/tunnel/
- wbb://software/interfaces/tunnel/gre/
- Needs to define
- ST for Tunnel counters
- ST for packet capture on DUT and ATE to read:
- Packet metadata
- IP Source
- IP Destination
- IP Protocol number
- state/counters/in-pkts
- state/counters/in-octets
- state/counters/in-error-pkts
- state/counters/in-forwarded-pkts
- state/counters/in-forwarded-octets
- state/counters/in-discarded-pkts
- state/counters/out-pkts
- state/counters/out-octets
- state/counters/out-error-pkts
- state/counters/out-forwarded-pkts
- state/counters/out-forwarded-octets
- state/counters/out-discarded-pkt
- Fragmentation and assembly counters Filter counters Output to display the traffic is spread across the different tunnel subnet ranges/NH groups/Interfaces

## OpenConfig Path and RPC Coverage
```yaml
rpcs:
gnmi:
gNMI.Get:
gNMI.Set:
gNMI.Subscribe:
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# proto-file: github.com/openconfig/featureprofiles/proto/metadata.proto
# proto-message: Metadata

uuid: "10287306-7277-456a-ab43-99f63e991152"
plan_id: "TUN-1.3"
description: "Interface based IPv4 GRE Encapsulation"
testbed: TESTBED_DUT_ATE_4LINKS
platform_exceptions: {
platform: {
vendor: JUNIPER
hardware_model: "PTX10008"
hardware_model: "PTX10001-36MR"
hardware_model: "cptx"
}
deviations: {
charantejag504 marked this conversation as resolved.
Show resolved Hide resolved
tunnel_state_path_unsupported: true
tunnel_config_path_unsupported: true
}
}
tags: TAGS_AGGREGATION
Loading
Loading