Skip to content

Commit d5a9323

Browse files
committed
record cassettes for rdb, redis, vpc and vpcgw
1 parent 9d07062 commit d5a9323

File tree

117 files changed

+62652
-117296
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+62652
-117296
lines changed

internal/namespaces/rdb/v1/testdata/test-add-acl-multiple-with-description.cassette.yaml

Lines changed: 194 additions & 243 deletions
Large diffs are not rendered by default.

internal/namespaces/rdb/v1/testdata/test-add-acl-multiple-with-description.golden

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
33
✅ ACL rule 1.2.3.4/32 successfully added.
4-
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
5-
0.0.0.0/0 9710 tcp inbound allow Allow All
6-
1.2.3.4/32 9710 tcp inbound allow some-unique-description
4+
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
5+
0.0.0.0/0 28114 tcp inbound allow Allow All
6+
1.2.3.4/32 28114 tcp inbound allow some-unique-description
77
✅ ACL rule 192.168.1.0/30 successfully added.
8-
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
9-
0.0.0.0/0 9710 tcp inbound allow Allow All
10-
1.2.3.4/32 9710 tcp inbound allow some-unique-description
11-
192.168.1.0/30 9710 tcp inbound allow some-unique-description
8+
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
9+
0.0.0.0/0 28114 tcp inbound allow Allow All
10+
1.2.3.4/32 28114 tcp inbound allow some-unique-description
11+
192.168.1.0/30 28114 tcp inbound allow some-unique-description
1212
✅ ACL rule 10.10.10.10/32 successfully added.
13-
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
14-
0.0.0.0/0 9710 tcp inbound allow Allow All
15-
1.2.3.4/32 9710 tcp inbound allow some-unique-description
16-
10.10.10.10/32 9710 tcp inbound allow some-unique-description
17-
192.168.1.0/30 9710 tcp inbound allow some-unique-description
13+
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
14+
0.0.0.0/0 28114 tcp inbound allow Allow All
15+
1.2.3.4/32 28114 tcp inbound allow some-unique-description
16+
10.10.10.10/32 28114 tcp inbound allow some-unique-description
17+
192.168.1.0/30 28114 tcp inbound allow some-unique-description
1818
🟩🟩🟩 JSON STDOUT 🟩🟩🟩
1919
[
2020
{
2121
"Rules": [
2222
{
2323
"ip": "0.0.0.0/0",
24-
"port": 9710,
24+
"port": 28114,
2525
"protocol": "tcp",
2626
"direction": "inbound",
2727
"action": "allow",
2828
"description": "Allow All"
2929
},
3030
{
3131
"ip": "1.2.3.4/32",
32-
"port": 9710,
32+
"port": 28114,
3333
"protocol": "tcp",
3434
"direction": "inbound",
3535
"action": "allow",
@@ -45,23 +45,23 @@ IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
4545
"Rules": [
4646
{
4747
"ip": "0.0.0.0/0",
48-
"port": 9710,
48+
"port": 28114,
4949
"protocol": "tcp",
5050
"direction": "inbound",
5151
"action": "allow",
5252
"description": "Allow All"
5353
},
5454
{
5555
"ip": "1.2.3.4/32",
56-
"port": 9710,
56+
"port": 28114,
5757
"protocol": "tcp",
5858
"direction": "inbound",
5959
"action": "allow",
6060
"description": "some-unique-description"
6161
},
6262
{
6363
"ip": "192.168.1.0/30",
64-
"port": 9710,
64+
"port": 28114,
6565
"protocol": "tcp",
6666
"direction": "inbound",
6767
"action": "allow",
@@ -77,31 +77,31 @@ IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
7777
"Rules": [
7878
{
7979
"ip": "0.0.0.0/0",
80-
"port": 9710,
80+
"port": 28114,
8181
"protocol": "tcp",
8282
"direction": "inbound",
8383
"action": "allow",
8484
"description": "Allow All"
8585
},
8686
{
8787
"ip": "1.2.3.4/32",
88-
"port": 9710,
88+
"port": 28114,
8989
"protocol": "tcp",
9090
"direction": "inbound",
9191
"action": "allow",
9292
"description": "some-unique-description"
9393
},
9494
{
9595
"ip": "10.10.10.10/32",
96-
"port": 9710,
96+
"port": 28114,
9797
"protocol": "tcp",
9898
"direction": "inbound",
9999
"action": "allow",
100100
"description": "some-unique-description"
101101
},
102102
{
103103
"ip": "192.168.1.0/30",
104-
"port": 9710,
104+
"port": 28114,
105105
"protocol": "tcp",
106106
"direction": "inbound",
107107
"action": "allow",

internal/namespaces/rdb/v1/testdata/test-add-acl-multiple.cassette.yaml

Lines changed: 194 additions & 194 deletions
Large diffs are not rendered by default.

internal/namespaces/rdb/v1/testdata/test-add-acl-multiple.golden

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
33
✅ ACL rule 1.2.3.4/32 successfully added.
44
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
5-
0.0.0.0/0 22312 tcp inbound allow Allow All
6-
1.2.3.4/32 22312 tcp inbound allow Allow 1.2.3.4/32
5+
0.0.0.0/0 27010 tcp inbound allow Allow All
6+
1.2.3.4/32 27010 tcp inbound allow Allow 1.2.3.4/32
77
✅ ACL rule 192.168.1.0/30 successfully added.
88
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
9-
0.0.0.0/0 22312 tcp inbound allow Allow All
10-
1.2.3.4/32 22312 tcp inbound allow Allow 1.2.3.4/32
11-
192.168.1.0/30 22312 tcp inbound allow Allow 192.168.1.0/30
9+
0.0.0.0/0 27010 tcp inbound allow Allow All
10+
1.2.3.4/32 27010 tcp inbound allow Allow 1.2.3.4/32
11+
192.168.1.0/30 27010 tcp inbound allow Allow 192.168.1.0/30
1212
✅ ACL rule 10.10.10.10/32 successfully added.
1313
IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
14-
0.0.0.0/0 22312 tcp inbound allow Allow All
15-
1.2.3.4/32 22312 tcp inbound allow Allow 1.2.3.4/32
16-
10.10.10.10/32 22312 tcp inbound allow Allow 10.10.10.10/32
17-
192.168.1.0/30 22312 tcp inbound allow Allow 192.168.1.0/30
14+
0.0.0.0/0 27010 tcp inbound allow Allow All
15+
1.2.3.4/32 27010 tcp inbound allow Allow 1.2.3.4/32
16+
10.10.10.10/32 27010 tcp inbound allow Allow 10.10.10.10/32
17+
192.168.1.0/30 27010 tcp inbound allow Allow 192.168.1.0/30
1818
🟩🟩🟩 JSON STDOUT 🟩🟩🟩
1919
[
2020
{
2121
"Rules": [
2222
{
2323
"ip": "0.0.0.0/0",
24-
"port": 22312,
24+
"port": 27010,
2525
"protocol": "tcp",
2626
"direction": "inbound",
2727
"action": "allow",
2828
"description": "Allow All"
2929
},
3030
{
3131
"ip": "1.2.3.4/32",
32-
"port": 22312,
32+
"port": 27010,
3333
"protocol": "tcp",
3434
"direction": "inbound",
3535
"action": "allow",
@@ -45,23 +45,23 @@ IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
4545
"Rules": [
4646
{
4747
"ip": "0.0.0.0/0",
48-
"port": 22312,
48+
"port": 27010,
4949
"protocol": "tcp",
5050
"direction": "inbound",
5151
"action": "allow",
5252
"description": "Allow All"
5353
},
5454
{
5555
"ip": "1.2.3.4/32",
56-
"port": 22312,
56+
"port": 27010,
5757
"protocol": "tcp",
5858
"direction": "inbound",
5959
"action": "allow",
6060
"description": "Allow 1.2.3.4/32"
6161
},
6262
{
6363
"ip": "192.168.1.0/30",
64-
"port": 22312,
64+
"port": 27010,
6565
"protocol": "tcp",
6666
"direction": "inbound",
6767
"action": "allow",
@@ -77,31 +77,31 @@ IP PORT PROTOCOL DIRECTION ACTION DESCRIPTION
7777
"Rules": [
7878
{
7979
"ip": "0.0.0.0/0",
80-
"port": 22312,
80+
"port": 27010,
8181
"protocol": "tcp",
8282
"direction": "inbound",
8383
"action": "allow",
8484
"description": "Allow All"
8585
},
8686
{
8787
"ip": "1.2.3.4/32",
88-
"port": 22312,
88+
"port": 27010,
8989
"protocol": "tcp",
9090
"direction": "inbound",
9191
"action": "allow",
9292
"description": "Allow 1.2.3.4/32"
9393
},
9494
{
9595
"ip": "10.10.10.10/32",
96-
"port": 22312,
96+
"port": 27010,
9797
"protocol": "tcp",
9898
"direction": "inbound",
9999
"action": "allow",
100100
"description": "Allow 10.10.10.10/32"
101101
},
102102
{
103103
"ip": "192.168.1.0/30",
104-
"port": 22312,
104+
"port": 27010,
105105
"protocol": "tcp",
106106
"direction": "inbound",
107107
"action": "allow",

0 commit comments

Comments
 (0)