Skip to content

Commit 5f9b6b7

Browse files
committed
Updated overlay test plans.
- Removed one dirrection lookup test based on PR #238. - Added connection tracking tests for the custom ageing timeout. - Fixed spellcheck errors. Signed-off-by: Anton Putria <[email protected]>
1 parent e90eb85 commit 5f9b6b7

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

.wordlist.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ adaptor
1414
adaptors
1515
ADDR
1616
addr
17+
ageing
1718
agnostically
1819
amd
1920
apache
@@ -300,6 +301,7 @@ LOOKUPs
300301
loopback
301302
LPM
302303
lts
304+
MACs
303305
Macsec
304306
makefile
305307
Makefile
@@ -318,6 +320,7 @@ MaxTcpFlow
318320
MaxTotalFlowEntry
319321
MaxUdpFlow
320322
md
323+
mgmt
321324
microsoft
322325
misorder
323326
MSFT
@@ -614,6 +617,7 @@ Vnic
614617
vnic
615618
vnics
616619
VNID
620+
VNIs
617621
VPC
618622
vpc
619623
vport

test/docs/testplans/conntrack.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ Test cases are automated:
5656

5757
| # | Test case | Test Class.Method
5858
| --- | --- | ---
59-
| 1 | Standard ageing (fully correct TCP session). | -
60-
| 2 | Standard ageing (fully correct UDP session). | -
61-
| 3 | Open TCP session but no data and no FIN | -
62-
| 4 | TCP session started from the middle (no SYN packet) | -
59+
| 1 | Standard ageing (fully correct TCP session, session dropped immediately). | -
60+
| 2 | Standard ageing (fully correct UDP session, session dropped after timeout). | -
61+
| 3 | Custom ageing (fully correct TCP session). | -
62+
| 4 | Custom ageing (fully correct UDP session). | -
63+
| 5 | Open TCP session but no data and no FIN. | -
64+
| 6 | TCP session started from the middle (no SYN packet). | -
6365

6466
## Integration
6567

test/docs/testplans/vnet.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ Scale and performance tests automation approach - to be defined.
8181
| # | Test case | Test Class.Method
8282
| --- | --- | ---
8383
| 1 | Route action ROUTE_VNET | -
84-
| 2 | Route action ROUTE_VNET_DIRECT | Vnet2VnetInboundTest.<br>Vnet2VnetOutboundRouteVnetDirectTest
85-
| 3 | Route action ROUTE_DIRECT | Vnet2VnetOutboundTest.<br>Vnet2VnetOutboundRouteDirectTest
84+
| 2 | Route action ROUTE_VNET_DIRECT | `Vnet2VnetInboundTest.`<br>`Vnet2VnetOutboundRouteVnetDirectTest`
85+
| 3 | Route action ROUTE_DIRECT | `Vnet2VnetOutboundTest.`<br>`Vnet2VnetOutboundRouteDirectTest`
8686
| 4 | dst_vnet_id True/False in OUTBOUND_CA_TO_PA_ENTRY | -
8787
| 5 | Use same CA prefixes in different outbound routing tables (different ENIs) | -
8888
| 6 | Use multiple overlapping routing prefixes in the same outbound routing table. | -
@@ -94,17 +94,16 @@ Original table [link](https://github.com/Azure/DASH/blob/main/documentation/gene
9494

9595
| # | Test case | Test Class.Method
9696
| --- | --- | ---
97-
| 1 | VNET2VNET routing with PA validation entry PERMIT.<br>SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE<br>SAI_PA_VALIDATION_ENTRY_ACTION_PERMIT| Vnet2VnetInboundTest.<br>vnet2VnetInboundPaValidatePermitTest
98-
| 2 | Direction lookup DENY action | Vnet2VnetInboundTest.<br/>vnet2VnetInboundDenyVniTest
99-
| 3 | VNET2VNET routing without PA validation entry<br>SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP | -
97+
| 1 | VNET2VNET routing with PA validation entry PERMIT.<br>SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE<br>SAI_PA_VALIDATION_ENTRY_ACTION_PERMIT| `Vnet2VnetInboundTest`.<br>`vnet2VnetInboundPaValidatePermitTest`
98+
| 2 | VNET2VNET routing without PA validation entry<br>SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP | -
10099

101100

102101
### **Integration**
103102

104103
| # | Test case | Test Class.Method
105104
| --- | --- | ---
106105
| 1 |Multiple inbound and outbound configurations at the same time. Send multiple allowed and forbidden traffic types. | -
107-
| 2 |Send non VXLAN traffic. (**to clarify** underlay routing?) | VnetRouteTest
106+
| 2 |Send non VXLAN traffic. (**to clarify** underlay routing?) | `VnetRouteTest`
108107
| 3 |Use multiple VIPs | -
109108
| 4 | Use same prefixes in CA and PA networks for outbound and inbound VNET at the same time | -
110109

@@ -115,8 +114,8 @@ Original table [link](https://github.com/Azure/DASH/blob/main/documentation/gene
115114
| 1 | Traffic with invalid VIP (Inbound and Outbound) | -
116115
| 2 | Traffic with valid VNI but no match to any ENI MAC | -
117116
| 3 | Invalid configurations:<br>- Multiple MACs for same ENI<br>- All different VNIs in ENI, direction lookup, vnet configuration.<br>- Add same VNI for different direction lookup entries. | -
118-
| 4 | Drop if CA DMAC does not match | Vnet2VnetInboundTest.<br/>vnet2VnetInboundInvalidEniMacTest
119-
| 5 | Drop if PA SIP does not match on PA validation | Vnet2VnetInboundTest.<br/>vnet2VnetInboundInvalidPaSrcIpTest
117+
| 4 | Drop if CA DMAC does not match | `Vnet2VnetInboundTest.`<br/>`vnet2VnetInboundInvalidEniMacTest`
118+
| 5 | Drop if PA SIP does not match on PA validation | `Vnet2VnetInboundTest.`<br/>`vnet2VnetInboundInvalidPaSrcIpTest`
120119

121120
### **Scaling & Performance**
122121

@@ -132,7 +131,7 @@ To be defined.
132131
- static rule
133132
- based on mapping lookup
134133
- inner packet SRC/DEST IP calculated based on part of outer packet SRC/DEST IP<br>
135-
Question: What is static rule nad calculated values?
134+
Question: What is static rule and calculated values?
136135
1. How to test - Inbound (priority) route rules processing:
137136
- Most Outer Source IP Prefix
138137
- Most Outer Destination IP Prefix

0 commit comments

Comments
 (0)