-
Notifications
You must be signed in to change notification settings - Fork 28
/
udp-postman-colletion.json
96 lines (96 loc) · 3.14 KB
/
udp-postman-colletion.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"info": {
"_postman_id": "c563fe33-c3b2-4825-a77f-75e8351b3c53",
"name": "v0.2.0 eBPF Remote UDP Flex",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Test Connection",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:1234/hi",
"protocol": "http",
"host": [
"localhost"
],
"port": "1234",
"path": [
"hi"
]
}
},
"response": []
},
{
"name": "Configuration",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"udpInterface\": \"enp3s0f0\",\n \"gtpInterface\": \"enp3s0f1\"\n}"
},
"url": {
"raw": "http://localhost:1234/configure",
"protocol": "http",
"host": [
"localhost"
],
"port": "1234",
"path": [
"configure"
]
}
},
"response": []
},
{
"name": "Session",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"seid\": 1,\n \"pdrs\": [\n {\n \"pdrId\": 20,\n \"farId\": 200,\n \"outerHeaderRemoval\": \"OUTER_HEADER_REMOVAL_UDP_IPV4\",\n \"pdi\": {\n \"teid\": 0,\n \"sourceInterface\": \"INTERFACE_VALUE_CORE\",\n \"ueIPAddress\": \"10.1.3.27\"\n },\n \"precedence\": 1\n },\n {\n \"pdrId\": 10,\n \"farId\": 100,\n \"outerHeaderRemoval\": \"OUTER_HEADER_REMOVAL_GTPU_UDP_IPV4\",\n \"pdi\": {\n \"teid\": 100,\n \"sourceInterface\": \"INTERFACE_VALUE_ACCESS\",\n \"ueIPAddress\": \"10.1.3.27\"\n },\n \"precedence\": 2\n }\n ],\n \"fars\": [\n {\n \"farId\": 200,\n \"forward\": true,\n \"forwardingParameters\": {\n \"outerHeaderCreation\": {\n \"outerHeaderCreationDescription\": \"OUTER_HEADER_CREATION_GTPU_UDP_IPV4\",\n \"ipv4Address\": \"10.1.3.27\",\n \"portNumber\": 1234\n },\n \"destinationInterface\": \"INTERFACE_VALUE_ACCESS\"\n }\n },\n {\n \"farId\": 100,\n \"forward\": true,\n \"forwardingParameters\": {\n \"outerHeaderCreation\": {\n \"outerHeaderCreationDescription\": \"OUTER_HEADER_CREATION_UDP_IPV4\",\n \"ipv4Address\": \"10.1.3.27\",\n \"portNumber\": 1234\n },\n \"destinationInterface\": \"INTERFACE_VALUE_CORE\"\n }\n }\n ],\n \"arpTable\": [\n {\n \"ip\": \"10.1.2.27\",\n \"mac\": \"90:e2:ba:27:fd:3c\"\n },\n {\n \"ip\": \"10.1.3.27\",\n \"mac\": \"90:e2:ba:27:fd:3d\"\n }\n ]\n}"
},
"url": {
"raw": "http://localhost:1234/createSession",
"protocol": "http",
"host": [
"localhost"
],
"port": "1234",
"path": [
"createSession"
]
}
},
"response": []
}
]
}