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

Add support for name in RPC #359

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,10 @@ type RemotePeeringConnection struct {
// will be created between local and peer RPC.
ManagePeerRPC bool `json:"managePeerRPC,omitempty"`

// A unique name identifying the RPC, please note this is to identify the RPC
// from other RPC elements, and will not be used in any OCI API call.
Name string `json:"name,omitempty"`

// PeerRegionName defined the region name of Peer VCN.
PeerRegionName string `json:"peerRegionName,omitempty"`

Expand Down
2 changes: 2 additions & 0 deletions api/v1beta1/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions api/v1beta2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,10 @@ type RemotePeeringConnection struct {
// will be created between local and peer RPC.
ManagePeerRPC bool `json:"managePeerRPC,omitempty"`

// A unique name identifying the RPC, please note this is to identify the RPC
// from other RPC elements, and will not be used in any OCI API call.
Name string `json:"name,omitempty"`

// PeerRegionName defined the region name of Peer VCN.
PeerRegionName string `json:"peerRegionName,omitempty"`

Expand Down
10 changes: 10 additions & 0 deletions config/crd/bases/infrastructure.cluster.x-k8s.io_ociclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,11 @@ spec:
connection will be created between local and peer
RPC.
type: boolean
name:
description: A unique name identifying the RPC, please
note this is to identify the RPC from other RPC elements,
and will not be used in any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of the peer.
type: string
Expand Down Expand Up @@ -2196,6 +2201,11 @@ spec:
connection will be created between local and peer
RPC.
type: boolean
name:
description: A unique name identifying the RPC, please
note this is to identify the RPC from other RPC elements,
and will not be used in any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of the peer.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,12 @@ spec:
in the Peer DRG and the connection will be
created between local and peer RPC.
type: boolean
name:
description: A unique name identifying the RPC,
please note this is to identify the RPC from
other RPC elements, and will not be used in
any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of
the peer.
Expand Down Expand Up @@ -2376,6 +2382,12 @@ spec:
in the Peer DRG and the connection will be
created between local and peer RPC.
type: boolean
name:
description: A unique name identifying the RPC,
please note this is to identify the RPC from
other RPC elements, and will not be used in
any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of
the peer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,11 @@ spec:
connection will be created between local and peer
RPC.
type: boolean
name:
description: A unique name identifying the RPC, please
note this is to identify the RPC from other RPC elements,
and will not be used in any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of the peer.
type: string
Expand Down Expand Up @@ -2202,6 +2207,11 @@ spec:
connection will be created between local and peer
RPC.
type: boolean
name:
description: A unique name identifying the RPC, please
note this is to identify the RPC from other RPC elements,
and will not be used in any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of the peer.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,12 @@ spec:
in the Peer DRG and the connection will be
created between local and peer RPC.
type: boolean
name:
description: A unique name identifying the RPC,
please note this is to identify the RPC from
other RPC elements, and will not be used in
any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of
the peer.
Expand Down Expand Up @@ -2386,6 +2392,12 @@ spec:
in the Peer DRG and the connection will be
created between local and peer RPC.
type: boolean
name:
description: A unique name identifying the RPC,
please note this is to identify the RPC from
other RPC elements, and will not be used in
any OCI API call.
type: string
peerDRGId:
description: PeerDRGId defines the DRG ID of
the peer.
Expand Down