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

TE-3.7_otg_mac_fix #2080

Closed
wants to merge 31 commits into from
Closed
Changes from 11 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f8cc422
added MACs
manan-patel Aug 31, 2023
b1c9b8c
added mac for port4
manan-patel Aug 31, 2023
de4d2b9
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 1, 2023
c8009f7
updated otg pushconfig call location
manan-patel Sep 1, 2023
e0a2667
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 1, 2023
a519fd5
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 5, 2023
8fabf9c
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 6, 2023
50d8225
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 6, 2023
fa4e673
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 7, 2023
fa5182d
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 11, 2023
a77f638
set GRIBIMACOverrideWithStaticARP condition same as counter ATE tc
manan-patel Sep 11, 2023
820f79d
Add a few documentation pointers back to Ondatra. (#2112)
greg-dennis Sep 12, 2023
36c1a11
Delete P4RT/QoS ATE tests (#2114)
jasdeep-hundal Sep 12, 2023
2cdc884
Update RT-1.20 to RT-1.24 (#2121)
s-nandu Sep 13, 2023
1eb87e0
BGP route-reflector-at-scale-test (#1756)
sachendras Sep 13, 2023
4f46756
QOS changes (#2111)
Ankur19 Sep 13, 2023
0f638ca
Migrate off remaining deprecated raw api uses (#2115)
greg-dennis Sep 13, 2023
a37e21a
Add gRIBI MPLS compliance test basics. (#2124)
robshakir Sep 13, 2023
3e3a135
DP-1.2: Adding test support for Nokia (#2001)
trathod1 Sep 14, 2023
39e5572
DP-1.4: Adding test support for Nokia (#2023)
trathod1 Sep 14, 2023
244447c
Fix new use of deprecated raw API (#2130)
greg-dennis Sep 14, 2023
9d8ceac
DP-1.14: Fixing error in forwarding group config (#2123)
bkreddy143 Sep 14, 2023
5e7f916
Adding support for vendor ARISTA in Core file check test (#2125)
gforeal Sep 14, 2023
60f8de8
adding case insensitive check for mac (#1635)
bkreddy143 Sep 14, 2023
83e63c7
incorporated comments
manan-patel Sep 15, 2023
7c689a1
rebase
manan-patel Sep 18, 2023
52970bb
Merge branch 'main' into TE-3.7_otg_mac_fix
manan-patel Sep 22, 2023
2d28609
incoporated comments
manan-patel Sep 22, 2023
2bebee1
rebased
manan-patel Sep 22, 2023
6677865
parent 8b4aedacb929c21efad0cbd0089692d68eb37ca8
manan-patel Aug 31, 2023
5ed03e9
removed unwanted changes
manan-patel Sep 22, 2023
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
manan-patel marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,25 @@ var (
}
atePort1 = attrs.Attributes{
Name: "atePort1",
MAC: "02:00:01:01:01:01",
IPv4: "192.0.2.2",
IPv4Len: 30,
}
atePort2 = attrs.Attributes{
Name: "atePort2",
MAC: "02:00:02:01:01:01",
IPv4: "192.0.2.6",
IPv4Len: 30,
}
atePort3 = attrs.Attributes{
Name: "atePort3",
MAC: "02:00:03:01:01:01",
IPv4: "192.0.2.10",
IPv4Len: 30,
}
atePort4 = attrs.Attributes{
Name: "atePort4",
MAC: "02:00:04:01:01:01",
IPv4: "192.0.2.14",
IPv4Len: 30,
}
Expand Down Expand Up @@ -197,9 +201,6 @@ func TestBaseHierarchicalNHGUpdate(t *testing.T) {
ate := ondatra.ATE(t, "ate")
top := configureATE(t, ate)

ate.OTG().PushConfig(t, top)
ate.OTG().StartProtocols(t)

tests := []struct {
name string
desc string
Expand Down Expand Up @@ -255,6 +256,9 @@ func testBaseHierarchialNHG(ctx context.Context, t *testing.T, args *testArgs) {
p2Flow := createFlow(t, p2flow, args.top, &atePort2)
p3Flow := createFlow(t, p3flow, args.top, &atePort3)

args.ate.OTG().PushConfig(t, args.top)
args.ate.OTG().StartProtocols(t)

defer func() {

t.Log("Unconfig interfaces")
Expand Down Expand Up @@ -482,7 +486,7 @@ func configStaticArp(p string, ipv4addr string, macAddr string, trunk bool) *oc.

// TE3.7 case2 - Drain Implementation test.
func testImplementDrain(ctx context.Context, t *testing.T, args *testArgs) {
if deviations.GRIBIMACOverrideWithStaticARP(args.dut) {
if !deviations.GRIBIMACOverrideWithStaticARP(args.dut) {
t.Skip()
//Testcase skipped as static arp and route config needed for other vendors
}
Expand Down Expand Up @@ -591,6 +595,9 @@ func testImplementDrain(ctx context.Context, t *testing.T, args *testArgs) {
p3Flow := createFlow(t, p3flow, args.top, &atePort3)
p4Flow := createFlow(t, p4flow, args.top, &atePort4)

args.ate.OTG().PushConfig(t, args.top)
args.ate.OTG().StartProtocols(t)
manan-patel marked this conversation as resolved.
Show resolved Hide resolved

t.Log("Validate primary path traffic received at ate port2, ate port3 and no traffic on ate port4")
waitOTGARPEntry(t)
validateTrafficFlows(t, args.ate, nil, nil, []gosnappi.Flow{p2Flow, p3Flow}, pMACFilter)
Expand Down
Loading