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

E2E testing #88

Closed
wants to merge 95 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
0625bda
end2end testing
Atul-source Sep 11, 2023
bd01a08
corrected the hostnames
Atul-source Sep 11, 2023
cbe3b8d
fixed a typo
Atul-source Sep 12, 2023
0c10705
testing workflow
Atul-source Sep 22, 2023
74b486c
testing workflow
Atul-source Sep 22, 2023
133471a
testing workflow
Atul-source Sep 22, 2023
6f62162
testing
Atul-source Sep 22, 2023
18747b8
testing workflow
Atul-source Sep 23, 2023
45e35ec
testing workflow
Atul-source Sep 23, 2023
d9f22fb
testing workflow
Atul-source Sep 23, 2023
7366095
testing workflow
Atul-source Sep 23, 2023
c96ff22
testing workflow
Atul-source Sep 24, 2023
7dc9cf1
testing workflow
Atul-source Sep 24, 2023
3ba5a29
testing workflow
Atul-source Sep 24, 2023
c621ffb
testing workflow
Atul-source Sep 24, 2023
df729e4
testing workflow
Atul-source Sep 24, 2023
80522f6
testing workflow
Atul-source Sep 25, 2023
ba77251
testing workflow
Atul-source Sep 25, 2023
3d8d0fa
testing workflow
Atul-source Sep 25, 2023
9c1c8c8
testing workflow
Atul-source Sep 25, 2023
1719f20
testing workflow
Atul-source Sep 25, 2023
73d188a
testing workflow
Atul-source Sep 25, 2023
2c24989
testing workflow
Atul-source Sep 25, 2023
56f3dc4
testing workflow
Atul-source Sep 26, 2023
bf11add
testing suite
Atul-source Sep 26, 2023
76292a1
testing workflow
Atul-source Sep 26, 2023
993b3b6
tesing workflow
Atul-source Sep 26, 2023
8b31648
testing workflow
Atul-source Sep 26, 2023
29a3864
testing workflow
Atul-source Sep 26, 2023
32aa57d
testing workflow
Atul-source Sep 26, 2023
223ac42
testing workflow
Atul-source Sep 27, 2023
d80ecd0
testing workflow
Atul-source Sep 27, 2023
c2f2cab
testing workflow
Atul-source Sep 27, 2023
9251574
testing workflow
Atul-source Sep 27, 2023
7946380
testing workflow
Atul-source Sep 27, 2023
7406761
testing workflow
Atul-source Sep 27, 2023
f611837
testing workflow
Atul-source Sep 27, 2023
81ea9df
testing workflow
Atul-source Sep 27, 2023
8252562
testiing workflow
Atul-source Sep 27, 2023
49d4183
testing workflow
Atul-source Sep 27, 2023
ecd91cf
testing workflow
Atul-source Sep 27, 2023
90304b8
testing workflow
Atul-source Sep 27, 2023
b638438
testing workflow
Atul-source Sep 27, 2023
17de791
testing workflow
Atul-source Sep 27, 2023
a67deb7
testing workflow
Atul-source Sep 27, 2023
40e1569
testing workflow
Atul-source Sep 27, 2023
f93aad1
testing
Atul-source Sep 27, 2023
ffa1a2f
testing workflow
Atul-source Sep 27, 2023
8418dbc
testing
Atul-source Sep 28, 2023
6000235
testing workflow
Atul-source Sep 28, 2023
3211a1f
testing workflow
Atul-source Sep 28, 2023
99935bd
testing workflow
Atul-source Sep 28, 2023
27d141b
removed unwanted changes
Atul-source Sep 28, 2023
163cec5
removed unwanted changes
Atul-source Sep 28, 2023
eef65ee
testing worklflow
Atul-source Sep 28, 2023
7ed1365
testing workflow
Atul-source Sep 28, 2023
cb881af
updated the payloads
Atul-source Oct 3, 2023
f2c8ca5
Merge branch 'main' into E2E
Atul-source Oct 3, 2023
1b973c6
removed expr from script
Atul-source Oct 3, 2023
6c2de9e
appended new line to the files
Atul-source Oct 9, 2023
cd48dd1
updated with latest changes
Atul-source Oct 31, 2023
155c461
added tests for without chaining case
Atul-source Nov 2, 2023
1e0c3b3
added tests without chaining
Atul-source Nov 2, 2023
4d8d28f
added tests without chaining
Atul-source Nov 2, 2023
213cbe9
updated the payloads
Atul-source Nov 2, 2023
5397238
removed server-setup
Atul-source Nov 2, 2023
74b3e3e
Merge branch 'l3af-project:main' into E2E
Atul-source Nov 2, 2023
6db1fee
testing workflow
Atul-source Nov 2, 2023
9e05320
testing
Atul-source Nov 3, 2023
be9563e
testing
Atul-source Nov 3, 2023
6bf1b31
testing
Atul-source Nov 3, 2023
e1b6625
testing
Atul-source Nov 3, 2023
53615c2
testing
Atul-source Nov 3, 2023
29322f9
testing
Atul-source Nov 3, 2023
723771d
testing
Atul-source Nov 3, 2023
52f5ec2
testing
Atul-source Nov 3, 2023
1a87529
testing
Atul-source Nov 3, 2023
b6c0782
Merge branch 'l3af-project:main' into E2E
Atul-source Nov 3, 2023
9523eb1
testing
Atul-source Nov 3, 2023
5ab1756
testing
Atul-source Nov 3, 2023
8852864
testing
Atul-source Nov 3, 2023
2e5b524
testing
Atul-source Nov 3, 2023
840438c
testing
Atul-source Nov 3, 2023
8f34deb
testing
Atul-source Nov 3, 2023
28cc355
testing
Atul-source Nov 6, 2023
3733f4e
testing
Atul-source Nov 6, 2023
45a6216
testing
Atul-source Nov 6, 2023
e4445b5
testing
Atul-source Nov 6, 2023
45618b1
testing
Atul-source Nov 6, 2023
0b8715d
basic-e2e testing
Atul-source Nov 6, 2023
d952246
testing
Atul-source Nov 6, 2023
62f1509
testing
Atul-source Nov 6, 2023
b4f605b
testing
Atul-source Nov 6, 2023
7a76dad
removed local ref
Atul-source Nov 14, 2023
66c67b7
testing workflow
Atul-source Nov 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
185 changes: 185 additions & 0 deletions dev_environment/e2e_test/1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"host_name": "lima-bpfdev",
"iface": "lima0",
"bpf_programs": {
"xdp_ingress": [
{
"id": 0,
"name": "ratelimiting",
"seq_id": 1,
"artifact": "l3af_ratelimiting.tar.gz",
"map_name": "xdp_rl_ingress_next_prog",
"cmd_start": "",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": false,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "xdp",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": null,
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": {
"rl_config_map": "2",
"rl_ports_map": "8080,8081"
},
"config_args": null,
"monitor_maps": [
{
"name": "rl_drop_count_map",
"key": 0,
"aggregator": "scalar"
},
{
"name": "rl_recv_count_map",
"key": 0,
"aggregator": "max-rate"
}
],
"ebpf_package_repo_url": "",
"object_file": "ratelimiting_kern.o",
"entry_function_name": "_xdp_ratelimiting"
},
{
"id": 0,
"name": "connection-limit",
"seq_id": 2,
"artifact": "l3af_connection_limit.tar.gz",
"map_name": "xdp_cl_ingress_next_prog",
"cmd_start": "connection_limit",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": false,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "xdp",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": null,
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": {
"cl_max_conn": "2",
"cl_tcp_conns": "8080,8081"
},
"config_args": null,
"monitor_maps": [
{
"name": "cl_recv_count_map",
"key": 0,
"aggregator": "scalar"
},
{
"name": "cl_drop_count_map",
"key": 0,
"aggregator": "scalar"
},
{
"name": "cl_conn_count",
"key": 0,
"aggregator": "scalar"
}
],
"ebpf_package_repo_url": "",
"object_file": "connection_limit_kern.o",
"entry_function_name": "_xdp_limit_conn"
}
],
"tc_ingress": [
{
"id": 0,
"name": "ipfix-flow-exporter",
"seq_id": 1,
"artifact": "l3af_bpf_ipfix.tar.gz",
"map_name": "ipfix_ingress_jmp_table",
"cmd_start": "bpf_ipfix_ingress",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": true,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "tc",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": {
"collector_ip": "127.0.0.1",
"collector_port": "49289",
"verbose": "2"
},
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": null,
"config_args": null,
"monitor_maps": null,
"ebpf_package_repo_url": "",
"object_file": "bpf_ipfix_ingress_kern.o",
"entry_function_name": "_ingress_flow_monitoring"
}
],
"tc_egress": [
{
"id": 0,
"name": "ipfix-flow-exporter",
"seq_id": 1,
"artifact": "l3af_bpf_ipfix.tar.gz",
"map_name": "ipfix_egress_jmp_table",
"cmd_start": "bpf_ipfix_egress",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": true,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "tc",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": {
"collector_ip": "127.0.0.1",
"collector_port": "49289",
"verbose": "2"
},
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": null,
"config_args": null,
"monitor_maps": null,
"ebpf_package_repo_url": "",
"object_file": "bpf_ipfix_egress_kern.o",
"entry_function_name": "_egress_flow_monitoring"
}
]
}
}
185 changes: 185 additions & 0 deletions dev_environment/e2e_test/2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"host_name": "lima-bpfdev",
"iface": "lima0",
"bpf_programs": {
"xdp_ingress": [
{
"id": 0,
"name": "ratelimiting",
"seq_id": 1,
"artifact": "l3af_ratelimiting.tar.gz",
"map_name": "xdp_rl_ingress_next_prog",
"cmd_start": "",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": false,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "xdp",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": null,
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": {
"rl_config_map": "2",
"rl_ports_map": "8080,8081"
},
"config_args": null,
"monitor_maps": [
{
"name": "rl_drop_count_map",
"key": 0,
"aggregator": "scalar"
},
{
"name": "rl_recv_count_map",
"key": 0,
"aggregator": "max-rate"
}
],
"ebpf_package_repo_url": "",
"object_file": "ratelimiting_kern.o",
"entry_function_name": "_xdp_ratelimiting"
},
{
"id": 0,
"name": "connection-limit",
"seq_id": 2,
"artifact": "l3af_connection_limit.tar.gz",
"map_name": "xdp_cl_ingress_next_prog",
"cmd_start": "connection_limit",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": false,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "xdp",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": null,
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": {
"cl_max_conn": "5",
"cl_tcp_conns": "8080,8081"
},
"config_args": null,
"monitor_maps": [
{
"name": "cl_recv_count_map",
"key": 0,
"aggregator": "scalar"
},
{
"name": "cl_drop_count_map",
"key": 0,
"aggregator": "scalar"
},
{
"name": "cl_conn_count",
"key": 0,
"aggregator": "scalar"
}
],
"ebpf_package_repo_url": "",
"object_file": "connection_limit_kern.o",
"entry_function_name": "_xdp_limit_conn"
}
],
"tc_ingress": [
{
"id": 0,
"name": "ipfix-flow-exporter",
"seq_id": 1,
"artifact": "l3af_bpf_ipfix.tar.gz",
"map_name": "ipfix_ingress_jmp_table",
"cmd_start": "bpf_ipfix_ingress",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": true,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "tc",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": {
"collector_ip": "127.0.0.1",
"collector_port": "49289",
"verbose": "2"
},
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": null,
"config_args": null,
"monitor_maps": null,
"ebpf_package_repo_url": "",
"object_file": "bpf_ipfix_ingress_kern.o",
"entry_function_name": "_ingress_flow_monitoring"
}
],
"tc_egress": [
{
"id": 0,
"name": "ipfix-flow-exporter",
"seq_id": 1,
"artifact": "l3af_bpf_ipfix.tar.gz",
"map_name": "ipfix_egress_jmp_table",
"cmd_start": "bpf_ipfix_egress",
"cmd_stop": "",
"cmd_status": "",
"cmd_config": "",
"cmd_update": "",
"version": "latest",
"user_program_daemon": true,
"is_plugin": false,
"cpu": 0,
"memory": 0,
"admin_status": "enabled",
"prog_type": "tc",
"rules_file": "",
"rules": "",
"config_file_path": "",
"cfg_version": 1,
"start_args": {
"collector_ip": "127.0.0.1",
"collector_port": "49289",
"verbose": "2"
},
"stop_args": null,
"status_args": null,
"update_args": null,
"map_args": null,
"config_args": null,
"monitor_maps": null,
"ebpf_package_repo_url": "",
"object_file": "bpf_ipfix_egress_kern.o",
"entry_function_name": "_egress_flow_monitoring"
}
]
}
}