Skip to content

Commit 5a4f2c9

Browse files
Add support for name in RPC (#359)
1 parent 77db096 commit 5a4f2c9

7 files changed

+54
-0
lines changed

api/v1beta1/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,10 @@ type RemotePeeringConnection struct {
10271027
// will be created between local and peer RPC.
10281028
ManagePeerRPC bool `json:"managePeerRPC,omitempty"`
10291029

1030+
// A unique name identifying the RPC, please note this is to identify the RPC
1031+
// from other RPC elements, and will not be used in any OCI API call.
1032+
Name string `json:"name,omitempty"`
1033+
10301034
// PeerRegionName defined the region name of Peer VCN.
10311035
PeerRegionName string `json:"peerRegionName,omitempty"`
10321036

api/v1beta1/zz_generated.conversion.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1beta2/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,10 @@ type RemotePeeringConnection struct {
10351035
// will be created between local and peer RPC.
10361036
ManagePeerRPC bool `json:"managePeerRPC,omitempty"`
10371037

1038+
// A unique name identifying the RPC, please note this is to identify the RPC
1039+
// from other RPC elements, and will not be used in any OCI API call.
1040+
Name string `json:"name,omitempty"`
1041+
10381042
// PeerRegionName defined the region name of Peer VCN.
10391043
PeerRegionName string `json:"peerRegionName,omitempty"`
10401044

config/crd/bases/infrastructure.cluster.x-k8s.io_ociclusters.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,11 @@ spec:
970970
connection will be created between local and peer
971971
RPC.
972972
type: boolean
973+
name:
974+
description: A unique name identifying the RPC, please
975+
note this is to identify the RPC from other RPC elements,
976+
and will not be used in any OCI API call.
977+
type: string
973978
peerDRGId:
974979
description: PeerDRGId defines the DRG ID of the peer.
975980
type: string
@@ -2196,6 +2201,11 @@ spec:
21962201
connection will be created between local and peer
21972202
RPC.
21982203
type: boolean
2204+
name:
2205+
description: A unique name identifying the RPC, please
2206+
note this is to identify the RPC from other RPC elements,
2207+
and will not be used in any OCI API call.
2208+
type: string
21992209
peerDRGId:
22002210
description: PeerDRGId defines the DRG ID of the peer.
22012211
type: string

config/crd/bases/infrastructure.cluster.x-k8s.io_ociclustertemplates.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,12 @@ spec:
10971097
in the Peer DRG and the connection will be
10981098
created between local and peer RPC.
10991099
type: boolean
1100+
name:
1101+
description: A unique name identifying the RPC,
1102+
please note this is to identify the RPC from
1103+
other RPC elements, and will not be used in
1104+
any OCI API call.
1105+
type: string
11001106
peerDRGId:
11011107
description: PeerDRGId defines the DRG ID of
11021108
the peer.
@@ -2376,6 +2382,12 @@ spec:
23762382
in the Peer DRG and the connection will be
23772383
created between local and peer RPC.
23782384
type: boolean
2385+
name:
2386+
description: A unique name identifying the RPC,
2387+
please note this is to identify the RPC from
2388+
other RPC elements, and will not be used in
2389+
any OCI API call.
2390+
type: string
23792391
peerDRGId:
23802392
description: PeerDRGId defines the DRG ID of
23812393
the peer.

config/crd/bases/infrastructure.cluster.x-k8s.io_ocimanagedclusters.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,11 @@ spec:
973973
connection will be created between local and peer
974974
RPC.
975975
type: boolean
976+
name:
977+
description: A unique name identifying the RPC, please
978+
note this is to identify the RPC from other RPC elements,
979+
and will not be used in any OCI API call.
980+
type: string
976981
peerDRGId:
977982
description: PeerDRGId defines the DRG ID of the peer.
978983
type: string
@@ -2202,6 +2207,11 @@ spec:
22022207
connection will be created between local and peer
22032208
RPC.
22042209
type: boolean
2210+
name:
2211+
description: A unique name identifying the RPC, please
2212+
note this is to identify the RPC from other RPC elements,
2213+
and will not be used in any OCI API call.
2214+
type: string
22052215
peerDRGId:
22062216
description: PeerDRGId defines the DRG ID of the peer.
22072217
type: string

config/crd/bases/infrastructure.cluster.x-k8s.io_ocimanagedclustertemplates.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,12 @@ spec:
11021102
in the Peer DRG and the connection will be
11031103
created between local and peer RPC.
11041104
type: boolean
1105+
name:
1106+
description: A unique name identifying the RPC,
1107+
please note this is to identify the RPC from
1108+
other RPC elements, and will not be used in
1109+
any OCI API call.
1110+
type: string
11051111
peerDRGId:
11061112
description: PeerDRGId defines the DRG ID of
11071113
the peer.
@@ -2386,6 +2392,12 @@ spec:
23862392
in the Peer DRG and the connection will be
23872393
created between local and peer RPC.
23882394
type: boolean
2395+
name:
2396+
description: A unique name identifying the RPC,
2397+
please note this is to identify the RPC from
2398+
other RPC elements, and will not be used in
2399+
any OCI API call.
2400+
type: string
23892401
peerDRGId:
23902402
description: PeerDRGId defines the DRG ID of
23912403
the peer.

0 commit comments

Comments
 (0)