Skip to content

Commit

Permalink
Add support for name in RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamradhakrishnan committed Mar 19, 2024
1 parent 5432b75 commit aec95b8
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 0 deletions.
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

0 comments on commit aec95b8

Please sign in to comment.