Skip to content

Commit 1098061

Browse files
committed
fix serviceGateway name
1 parent e9d38a4 commit 1098061

21 files changed

+43
-43
lines changed

pkg/commonvpc/parser.go

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ const (
3131

3232
// Resource types const strings, used in the generated resources of this pkg
3333
const (
34-
ResourceTypeVSI = "VSI"
35-
ResourceTypeNetworkInterface = "NetworkInterface"
36-
ResourceTypeSubnet = "Subnet"
37-
ResourceTypePublicGateway = "PublicGateway"
38-
ResourceTypeInternetGateway = "InternetGateway"
39-
ResourceTypeFloatingIP = "FloatingIP"
40-
ResourceTypeVPC = "VPC"
41-
ResourceTypeSG = "SG"
42-
ResourceTypeNACL = "NACL"
43-
ResourceTypeIKSNode = "IKSNodeNetworkInterface"
44-
ResourceTypeVPE = "VPE"
45-
ResourceTypeTGW = "TGW"
46-
ResourceTypeReservedIP = "ReservedIP"
47-
ResourceTypeLoadBalancer = "LoadBalancer"
48-
ResourceTypePrivateIP = "PrivateIP"
49-
ResourceTypeRoutingTable = "RoutingTable"
50-
ResourceTypeServiceNetwork = "ServiceNetwork"
34+
ResourceTypeVSI = "VSI"
35+
ResourceTypeNetworkInterface = "NetworkInterface"
36+
ResourceTypeSubnet = "Subnet"
37+
ResourceTypePublicGateway = "PublicGateway"
38+
ResourceTypeInternetGateway = "InternetGateway"
39+
ResourceTypeFloatingIP = "FloatingIP"
40+
ResourceTypeVPC = "VPC"
41+
ResourceTypeSG = "SG"
42+
ResourceTypeNACL = "NACL"
43+
ResourceTypeIKSNode = "IKSNodeNetworkInterface"
44+
ResourceTypeVPE = "VPE"
45+
ResourceTypeTGW = "TGW"
46+
ResourceTypeReservedIP = "ReservedIP"
47+
ResourceTypeLoadBalancer = "LoadBalancer"
48+
ResourceTypePrivateIP = "PrivateIP"
49+
ResourceTypeRoutingTable = "RoutingTable"
50+
ResourceTypeServiceNetworkGateway = "ServiceGateway"
5151
)
5252

5353
// Implemented by AWSresourcesContainer and IBMresourcesContainer

pkg/ibmvpc/examples/out/explain_out/GroupingExternalSG1_all_vpcs_explain.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Connections from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/16: protocol
77

88
Path:
99
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
10-
ServiceNetwork serviceNetwork ->
10+
ServiceGateway ->
1111
Service Network 161.26.0.0/16
1212

1313
------------------------------------------------------------------------------------------------------------------------

pkg/ibmvpc/examples/out/explain_out/GroupingExternalSG1_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Connections from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/16: protocol
77

88
Path:
99
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
10-
ServiceNetwork serviceNetwork ->
10+
ServiceGateway ->
1111
Service Network 161.26.0.0/16
1212

1313

pkg/ibmvpc/examples/out/explain_out/NACLExternal1_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Connections from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/16: protocol
77

88
Path:
99
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
10-
ServiceNetwork serviceNetwork ->
10+
ServiceGateway ->
1111
Service Network 161.26.0.0/16
1212

1313

pkg/ibmvpc/examples/out/explain_out/NACLGrouping_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Connections from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/16: protocol
77

88
Path:
99
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
10-
ServiceNetwork serviceNetwork ->
10+
ServiceGateway ->
1111
Service Network 161.26.0.0/16
1212

1313

pkg/ibmvpc/examples/out/explain_out/NACLQueryAllowSubset_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Connections are allowed from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/
88

99
Path:
1010
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
11-
ServiceNetwork serviceNetwork ->
11+
ServiceGateway ->
1212
Service Network 161.26.0.0/16
1313

1414

pkg/ibmvpc/examples/out/explain_out/NACLQueryConnection1_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Connections are allowed from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/
77

88
Path:
99
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
10-
ServiceNetwork serviceNetwork ->
10+
ServiceGateway ->
1111
Service Network 161.26.0.0/16
1212

1313

pkg/ibmvpc/examples/out/explain_out/NACLQueryConnection2_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Interpreted destination(s): 161.26.0.0/16 (Service Network)
66
No connectivity from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/16 using "protocol: TCP";
77
connection is blocked at egress
88

9-
External traffic via ServiceNetwork: serviceNetwork
9+
External traffic via ServiceGateway:
1010
Egress: security group sg1-ky allows connection; network ACL acl1-ky blocks connection
1111

1212
Path:

pkg/ibmvpc/examples/out/explain_out/NACLQueryConnectionRules2_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Connections from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/16: All Conn
88

99
Path:
1010
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
11-
ServiceNetwork serviceNetwork ->
11+
ServiceGateway ->
1212
Service Network 161.26.0.0/16
1313

1414

pkg/ibmvpc/examples/out/explain_out/NACLQueryConnectionRules3_all_vpcs_explain_detail.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Connections are allowed from vsi1-ky[10.240.10.4] to Service Network 161.26.0.0/
88

99
Path:
1010
vsi1-ky[10.240.10.4] -> security group sg1-ky -> network ACL acl1-ky -> subnet subnet1-ky ->
11-
ServiceNetwork serviceNetwork ->
11+
ServiceGateway ->
1212
Service Network 161.26.0.0/16
1313

1414

0 commit comments

Comments
 (0)